summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralehotsky <alehotsky@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-01 02:23:38 +0000
committeralehotsky <alehotsky@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-01 02:23:38 +0000
commitcf18e6ff144baaf400ada52e9ddcc7900f15461f (patch)
tree646293a71c17efab7e90c0a9c2d676c2cdacd528
parenta0227a379806cb43743b5338f57e82c659b2ea0d (diff)
downloadgcc-cf18e6ff144baaf400ada52e9ddcc7900f15461f.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54136 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/except.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e8545fbd50f..0d4ada794cd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-01 Alan Lehotsky <apl@alum.mit.edu>
+
+ * except.c (nothrow_function_p): Walk epilogue delay list
+ checking the insn, not the chain for potential throws.
+
2002-05-31 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
@@ -126,7 +131,7 @@
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
2002-05-31 Alan Lehotsky <apl@alum.mit.edu>
-
+
* varasm.c (mark_constant_pool): Walk epilogue delay list
checking the insn, not the chain for potential constants.
diff --git a/gcc/except.c b/gcc/except.c
index ee6ee9f023d..472e84de579 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -3147,7 +3147,7 @@ nothrow_function_p ()
return false;
for (insn = current_function_epilogue_delay_list; insn;
insn = XEXP (insn, 1))
- if (can_throw_external (insn))
+ if (can_throw_external (XEXP (insn, 0)))
return false;
return true;