re PR ipa/60911 (wrong code with -O2 -flto -fipa-pta)
authorRichard Biener <rguenther@suse.de>
Fri, 25 Apr 2014 07:44:40 +0000 (07:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Apr 2014 07:44:40 +0000 (07:44 +0000)
commit78422fb13c3f57b962d4c6cff7a9493ea3b12c14
tree8704edaf42da9ff264a1161053e6f508bbca568f
parent9490b8da72088fe6f1b23c323749d977e3aa02f1
re PR ipa/60911 (wrong code with -O2 -flto -fipa-pta)

2014-04-25  Richard Biener  <rguenther@suse.de>

PR ipa/60911
* passes.c (apply_ipa_transforms): Inline into only caller ...
(execute_one_pass): ... here.  Properly bring in function
bodies for nodes we want to apply IPA transforms to.

* gcc.dg/lto/pr60911_0.c: New testcase.

From-SVN: r209779
gcc/ChangeLog
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr60911_0.c [new file with mode: 0644]