diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-09-14 23:51:34 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-14 23:51:34 +0000 |
commit | bf43101eb660ad64e5f63f8070b7ab4c814e52b6 (patch) | |
tree | 8265802fe38fd0aedf6ff678f8e5899e057f140b /gcc/print-rtl.c | |
parent | 8411a9039968cd745e26d796136e290518e2ef9f (diff) | |
download | gcc-bf43101eb660ad64e5f63f8070b7ab4c814e52b6.tar.gz |
except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER, not NOTE_BLOCK_NUMBER.
* except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
not NOTE_BLOCK_NUMBER.
(expand_eh_region_end): Likewise.
(find_exception_handler_labels): Likewise.
(scan_region): Likewise.
(exception_optimize): Likewise.
(update_rethrow_references): Likewise.
(set_insn_eh_region): Likewise.
* final.c (final_scan_insn): Likewise.
* flow.c (make_edges): Likewise.
* integrate.c (expand_inline_function): Likewise.
* print-rtl.c (print_rtx): Likewise.
From-SVN: r29418
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 59193f4c7eb..862999a8c75 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -162,9 +162,13 @@ print_rtx (in_rtx) if (i == 3 && GET_CODE (in_rtx) == NOTE) { if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_BEG - || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_END - || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_BEG - || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_END) + || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_END) + { + fprintf (outfile, " %d", NOTE_EH_HANDLER (in_rtx)); + sawclose = 1; + } + else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_BEG + || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_END) { fprintf (outfile, " %d", NOTE_BLOCK_NUMBER (in_rtx)); sawclose = 1; |