This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/53214] [lto]: ICE: munmap_chunk(): invalid pointer
- 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: Fri, 04 May 2012 10:19:52 +0000
- Subject: [Bug lto/53214] [lto]: ICE: munmap_chunk(): invalid pointer
- Auto-submitted: auto-generated
- References: <bug-53214-4@http.gcc.gnu.org/bugzilla/>
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.