passes.c (should_skip_pass_p): Do not skip cgraph-edge building.
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
This commit is contained in:
parent
491d6017a8
commit
04c311d3bd
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -2363,6 +2363,10 @@ should_skip_pass_p (opt_pass *pass)
|
|||
&& 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;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O -fgimple" } */
|
||||
|
||||
int foo (void);
|
||||
|
||||
void __GIMPLE (startwith("fre1"))
|
||||
d ()
|
||||
{
|
||||
int _1;
|
||||
|
||||
bb_2:
|
||||
_1 = foo ();
|
||||
return;
|
||||
}
|
Loading…
Reference in New Issue