http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-05-03 Component|tree-optimization |lto AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #16 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-03 14:51:29 UTC --- At least the last testcase is because the link line misses -freg-struct-return which changes the ABI. This (and similar switches) would need to be added to the LTO option merging code in lto-wrapper.c. It would be the first case where we need to complain. So I think this bug is invalid - but we can do better and diagnose that. I'll put it on my TODO (if you don't beat me to it).