summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-23 20:03:47 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-23 20:03:47 +0000
commit485aaaafb299670b6334585f93d10acd11d9ebb9 (patch)
treed1acdc1258bb390e198f2a31596603f8e267eacf /gcc/print-rtl.c
parent037a52285fe7424ffa9f92aca8684ea3fab4c5a6 (diff)
downloadgcc-485aaaafb299670b6334585f93d10acd11d9ebb9.tar.gz
install EH code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12549 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 20d34dbdc8e..93153d4b967 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -108,6 +108,14 @@ print_rtx (in_rtx)
{
case 'S':
case 's':
+ if (i == 3 && GET_CODE (in_rtx) == NOTE
+ && (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_BEG
+ || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_END))
+ {
+ fprintf (outfile, " %d", NOTE_BLOCK_NUMBER (in_rtx));
+ sawclose = 1;
+ break;
+ }
if (XSTR (in_rtx, i) == 0)
fprintf (outfile, " \"\"");
else