> IMHO reordering the notes in the chain would be even more work than this.
Can't we just move down the lines if (ecf_flags & ECF_NORETURN) add_reg_note (call_insn, REG_NORETURN, const0_rtx); if (ecf_flags & ECF_RETURNS_TWICE) { add_reg_note (call_insn, REG_SETJMP, const0_rtx); cfun->calls_setjmp = 1; } in emit_call_1 with a big comment explaining why the ECF_NORETURN note should come first? -- Eric Botcazou