summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/reorg.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-11-07 02:43:04 +0000
committerkan <kan@FreeBSD.org>2003-11-07 02:43:04 +0000
commit1f79a7c5d02f19d3b84a4c966a52df954df090ec (patch)
treefe235f72e674c6a360d502ea52089d3d6f2035e2 /contrib/gcc/reorg.c
parent81a2c9c441dc3231499d48ad9c0871b075ef6aa0 (diff)
parentb09448931ae541a7a60fd1cf0ebac14b627fba69 (diff)
downloadFreeBSD-src-1f79a7c5d02f19d3b84a4c966a52df954df090ec.zip
FreeBSD-src-1f79a7c5d02f19d3b84a4c966a52df954df090ec.tar.gz
This commit was generated by cvs2svn to compensate for changes in r122180,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/gcc/reorg.c')
-rw-r--r--contrib/gcc/reorg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/reorg.c b/contrib/gcc/reorg.c
index 31918ec..3fdf941 100644
--- a/contrib/gcc/reorg.c
+++ b/contrib/gcc/reorg.c
@@ -236,6 +236,12 @@ stop_search_p (insn, labels_p)
if (insn == 0)
return 1;
+ /* If the insn can throw an exception that is caught within the function,
+ it may effectively perform a jump from the viewpoint of the function.
+ Therefore act like for a jump. */
+ if (can_throw_internal (insn))
+ return 1;
+
switch (GET_CODE (insn))
{
case NOTE:
OpenPOWER on IntegriCloud