aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2009-09-29 23:04:46 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2009-09-29 23:04:46 +0000
commit062a5fd1c0c9e72663e792a0e8f4066ef0f074fb (patch)
treefc13235b540be178e7f40bf2db8e405824f28ac3
parentcd17b213b03e996a12f51d06dca7f2e206bb76b0 (diff)
downloadgcc-062a5fd1c0c9e72663e792a0e8f4066ef0f074fb.zip
gcc-062a5fd1c0c9e72663e792a0e8f4066ef0f074fb.tar.gz
gcc-062a5fd1c0c9e72663e792a0e8f4066ef0f074fb.tar.bz2
re PR target/41393 (ICE in get_eh_region_and_lp_from_rtx at except.c:1692)
PR target/41393 * pa.c (hppa_profile_hook): Use make_reg_eh_region_note_nothrow_nononlocal to add REG_EH_REGION note. From-SVN: r152309
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/pa.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7439cef..a963c93 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR target/41393
+ * pa.c (hppa_profile_hook): Use
+ make_reg_eh_region_note_nothrow_nononlocal to add REG_EH_REGION note.
+
2009-09-29 Steve Ellcey <sje@cup.hp.com>
Alexander Monakov <amonakov@ispras.ru>
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 96fe2fb..62a58c5 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -4361,7 +4361,7 @@ hppa_profile_hook (int label_no)
/* Indicate the _mcount call cannot throw, nor will it execute a
non-local goto. */
- add_reg_note (call_insn, REG_EH_REGION, constm1_rtx);
+ make_reg_eh_region_note_nothrow_nononlocal (call_insn);
}
/* Fetch the return address for the frame COUNT steps up from