Commit 205b6026 by Jan Hubicka Committed by Jan Hubicka

re PR regression/81331 (missed Eh delivery in partitioned function)

	PR middle-end/81331
	* except.c (execute): Fix ordering issue.

From-SVN: r250370
parent a8d6055a
2017-07-19 Jan Hubicka <hubicka@ucw.cz>
PR middle-end/81331
* except.c (execute): Fix ordering issue.
2018-07-19 Segher Boessenkool <segher@kernel.crashing.org> 2018-07-19 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/81423 PR rtl-optimization/81423
......
...@@ -2686,8 +2686,9 @@ public: ...@@ -2686,8 +2686,9 @@ public:
virtual bool gate (function *); virtual bool gate (function *);
virtual unsigned int execute (function *) virtual unsigned int execute (function *)
{ {
int ret = convert_to_eh_region_ranges ();
maybe_add_nop_after_section_switch (); maybe_add_nop_after_section_switch ();
return convert_to_eh_region_ranges (); return ret;
} }
}; // class pass_convert_to_eh_region_ranges }; // class pass_convert_to_eh_region_ranges
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment