[Bug ipa/60911] [4.9/4.10 Regression] wrong code with -O2 -flto -fipa-pta

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 23 10:15:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60911

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jamborm at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
           Assignee|rguenth at gcc dot gnu.org         |unassigned at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that IPA-PTA sees main () still as calling f but the cgraph
has it calling f.constprop.0.  For some reason the IPA-CP transform has
not been applied to main () (yet?).  In .simdclone I see a call to
f.constprop.0.

Honza?  Martin?

Late IPA passes need all regular IPA transforms applied and clones
materialized.



More information about the Gcc-bugs mailing list