This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/43071] ICE: SIGSEGV with -fwhopr -fcompare-debug
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2010 19:08:49 -0000
- Subject: [Bug lto/43071] ICE: SIGSEGV with -fwhopr -fcompare-debug
- References: <bug-43071-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-23 19:08 -------
This is because -fcompare-debug hooks into the wrong places in the driver
for LTO. We throw away the output of the re-compile with -gtoggle even
if we need it to process the -gtoggle link step (yes, we perform
-fcompare-debug on the link step as well). We then run into PR44951.
One way to "fix" this bug is to restrict -fcompare-debug to pre-link time.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-07-22 14:10:01 |2010-07-23 19:08:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43071