[Bug lto/41230] [LTO] Segfault using -flto with -fvar-tracking-assignments
rmansfield at qnx dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 2 22:50:00 GMT 2009
------- Comment #6 from rmansfield at qnx dot com 2009-09-02 22:50 -------
(In reply to comment #5)
> Note that in general you have to repeat all options on the link command line,
> otherwise you are building with -O0 there.
Yep, I realize that. I just came across this crash by accidentally leaving
-fvar-tracking-assignments off the link line. Improper usage that cause
crashes/ICEs are still worth PRs, right?
The non-reduced testcase was built with -O2 as well as a number of other
options for compiling/linking but since they didn't effect whether or not the
crash occurred I left them out of the report.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41230
More information about the Gcc-bugs
mailing list