aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-07-19 23:06:55 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-07-19 21:06:55 +0000
commit205b6026930964364cd361f3dcfed6657ab934d5 (patch)
tree6a16b188adf53b61075a38bdf2d1000681d1dfdb /gcc/except.c
parenta8d6055a56948cc9c4ddd0d9f8052223ccf2c97e (diff)
downloadgcc-205b6026930964364cd361f3dcfed6657ab934d5.zip
gcc-205b6026930964364cd361f3dcfed6657ab934d5.tar.gz
gcc-205b6026930964364cd361f3dcfed6657ab934d5.tar.bz2
re PR regression/81331 (missed Eh delivery in partitioned function)
PR middle-end/81331 * except.c (execute): Fix ordering issue. From-SVN: r250370
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index c77d42c..4068b68 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2686,8 +2686,9 @@ public:
virtual bool gate (function *);
virtual unsigned int execute (function *)
{
+ int ret = convert_to_eh_region_ranges ();
maybe_add_nop_after_section_switch ();
- return convert_to_eh_region_ranges ();
+ return ret;
}
}; // class pass_convert_to_eh_region_ranges