From: Jan Hubicka Date: Wed, 19 Jul 2017 21:06:55 +0000 (+0200) Subject: re PR regression/81331 (missed Eh delivery in partitioned function) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=205b6026930964364cd361f3dcfed6657ab934d5;p=gcc.git re PR regression/81331 (missed Eh delivery in partitioned function) PR middle-end/81331 * except.c (execute): Fix ordering issue. From-SVN: r250370 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96c0e351624..141eb6aad2f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-19 Jan Hubicka + + PR middle-end/81331 + * except.c (execute): Fix ordering issue. + 2018-07-19 Segher Boessenkool PR rtl-optimization/81423 diff --git a/gcc/except.c b/gcc/except.c index c77d42cdfee..4068b68f31f 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