summaryrefslogtreecommitdiffstats
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-14 23:51:34 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-14 23:51:34 +0000
commitcc1029120ede29c645d0a844e7c3a323aae23e38 (patch)
tree8265802fe38fd0aedf6ff678f8e5899e057f140b /gcc/print-rtl.c
parenta38f1d6cf52aaf70253919ffa2ac2d045c4b776e (diff)
downloadppe42-gcc-cc1029120ede29c645d0a844e7c3a323aae23e38.tar.gz
ppe42-gcc-cc1029120ede29c645d0a844e7c3a323aae23e38.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c10
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;
OpenPOWER on IntegriCloud