Commit fd5c4c4c by Richard Biener Committed by Richard Biener

re PR tree-optimization/87929 (ICE in verify_gimple failed)

2018-11-08  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/87929
	* tree-complex.c (expand_complex_comparison): Clean EH.

	* gcc.dg/pr87929.c: New testcase.

From-SVN: r265912
parent c4e7e1b9
2018-11-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/87929
* tree-complex.c (expand_complex_comparison): Clean EH.
2018-11-08 Martin Liska <mliska@suse.cz>
* doc/extend.texi: Reword.
2018-11-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/87929
* gcc.dg/pr87929.c: New testcase.
2018-11-08 Martin Liska <mliska@suse.cz>
* gcc.dg/pr87811.c: Update scanned pattern.
......
/* { dg-do compile } */
/* { dg-options "-fexceptions -fnon-call-exceptions -fsignaling-nans" } */
#define complex __complex__
#define _Complex_I (1.0iF)
extern void f2c_4d__( complex float *, complex float *);
extern void abort (void);
void f2c_4c__(void)
{
complex float x,ret_val;
x = 1234 + 5678 * _Complex_I;
f2c_4d__(&ret_val,&x);
if ( x != ret_val ) abort();
}
......@@ -1558,6 +1558,8 @@ expand_complex_comparison (gimple_stmt_iterator *gsi, tree ar, tree ai,
}
update_stmt (stmt);
if (maybe_clean_eh_stmt (stmt))
gimple_purge_dead_eh_edges (gimple_bb (stmt));
}
/* Expand inline asm that sets some complex SSA_NAMEs. */
......
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