This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 May 2012 14:51:29 +0000
- Subject: [Bug lto/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
- Auto-submitted: auto-generated
- References: <bug-50602-4@http.gcc.gnu.org/bugzilla/>
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).