http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53214
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-04 10:19:52 UTC --- The issue is that -fltrans and -fwpa are saved in the optimization node because they are marked as "Optimization" in the .opt file. Likewise -flto-report is. So at wpa time we stream the optimization node into the ltrans section, _unsetting_ -fltrans ... which of course confuses things. Duh. Mine.