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
+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.
--- /dev/null
+/* { 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();
+}
}
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. */