2019-02-27 Richard Biener <rguenther@suse.de>
* passes.c (should_skip_pass_p): Do not skip cgraph-edge
building.
* gcc.dg/gimplefe-36.c: New testcase.
From-SVN: r269252
+2019-02-27 Richard Biener <rguenther@suse.de>
+
+ * passes.c (should_skip_pass_p): Do not skip cgraph-edge
+ building.
+
2019-02-27 Richard Biener <rguenther@suse.de>
PR debug/88878
&& pass->properties_provided != 0)
return false;
+ /* We need to (re-)build cgraph edges as needed. */
+ if (strstr (pass->name, "build_cgraph_edges") != NULL)
+ return false;
+
/* Don't skip df init; later RTL passes need it. */
if (strstr (pass->name, "dfinit") != NULL)
return false;
+2019-02-27 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/gimplefe-36.c: New testcase.
+
2019-02-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/89488
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O -fgimple" } */
+
+int foo (void);
+
+void __GIMPLE (startwith("fre1"))
+d ()
+{
+ int _1;
+
+bb_2:
+ _1 = foo ();
+ return;
+}