This is a historical question - about how our Church would have treated it. Watching the show “Haunted History” in the History Channel brought this question to mind.
In 1692 in Salem, Massachusetts, one Giles Corey was accused of witchcraft amid a witch hunting frenzy that saw 141 arrests and 19 executions on the same charge in six months, not including his. Because he refused to confess, he was pressed under large rocks, with rocks being added each time he refused to confess. Quoting from Wikipedia (taking out one objectionable word), “Three mouthfuls of bread and water were fed to the old man during his many hours of pain. Finally, Giles Corey cried out at Sheriff Corwin, 'I curse you and Salem!” and died.’"
My question: According to our moral theology, would Giles Corey’s dying words have put him in a state of mortal sin? Could there be diminished responsibility given the stress that he was under?