This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]