PR target/13506
* toplev.c (crash_signal): If we crashed while emitting
a user asm, then die more gracefully.
From-SVN: r86624
+2004-08026 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/13506
+ * toplev.c (crash_signal): If we crashed while emitting
+ a user asm, then die more gracefully.
+
2004-08-26 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
PR target/17119.
crash_signal (int signo)
{
signal (signo, SIG_DFL);
+
+ /* If we crashed while processing an ASM statement, then be a little more
+ graceful. It's most likely the user's fault. */
+ if (this_is_asm_operands)
+ {
+ output_operand_lossage ("unrecoverable error");
+ exit (FATAL_EXIT_CODE);
+ }
+
internal_error ("%s", strsignal (signo));
}