aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1996-07-23 20:03:47 +0000
committerMike Stump <mrs@gcc.gnu.org>1996-07-23 20:03:47 +0000
commit6adb4e3a29c612cc99a26a54364917e3a1709e8c (patch)
treed1acdc1258bb390e198f2a31596603f8e267eacf /gcc/print-rtl.c
parent3d1953912dca5809d9e37fccd9ee606d5b637dc4 (diff)
downloadgcc-6adb4e3a29c612cc99a26a54364917e3a1709e8c.zip
gcc-6adb4e3a29c612cc99a26a54364917e3a1709e8c.tar.gz
gcc-6adb4e3a29c612cc99a26a54364917e3a1709e8c.tar.bz2
install EH code
From-SVN: r12549
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 20d34db..93153d4 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