Commit 1978e62d by Richard Biener Committed by Richard Biener

re PR tree-optimization/90278 (ICE: verify_gimple failed (error: statement…

re PR tree-optimization/90278 (ICE: verify_gimple failed (error: statement marked for throw, but doesn't))

2019-04-29  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/90278
	* tree-ssa-forwprop.c (pass_forwprop::execute): Transfer/clean
	EH on comparison simplification.

	* gcc.dg/torture/pr90278.c: New testcase.

From-SVN: r270657
parent d407e7f5
2019-04-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/90278
* tree-ssa-forwprop.c (pass_forwprop::execute): Transfer/clean
EH on comparison simplification.
2019-04-29 Jason Merrill <jason@redhat.com>
PR c++/82081 - tail call optimization breaks noexcept
......
2019-04-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/90278
* gcc.dg/torture/pr90278.c: New testcase.
2019-04-27 Jakub Jelinek <jakub@redhat.com>
PR c++/90173
......
/* { dg-do compile } */
/* { dg-additional-options "-fexceptions -fnon-call-exceptions" } */
double
hc (void)
{
double dp = 0.0;
double ek[1];
ek[0] = 1.0 / dp < 0.0;
return ek[0];
}
......@@ -2496,6 +2496,8 @@ pass_forwprop::execute (function *fun)
{
int did_something;
did_something = forward_propagate_into_comparison (&gsi);
if (maybe_clean_or_replace_eh_stmt (stmt, gsi_stmt (gsi)))
bitmap_set_bit (to_purge, bb->index);
if (did_something == 2)
cfg_changed = true;
changed = did_something != 0;
......
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