[Bug lto/41230] [LTO] Segfault using -flto with -fvar-tracking-assignments
aoliva at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 9 18:43:00 GMT 2009
------- Comment #9 from aoliva at gcc dot gnu dot org 2009-09-09 18:42 -------
(In reply to comment #3)
> Hmm, dropping the stmt looks like it would be a "hack". Alex - if I just set
> flag_var_tracking_assignments to 1 if I encounter a GIMPLE_DEBUG
> is there sth else that I need to do to "enable" VTA?
The above should be enough. But, really, it would probably be more advisable
to report a problem (incompatibility between compile- and link-time options),
or discard the DEBUG stmts, if -fv-t-a is not enabled at link time.
Anyhow, the problem you're seeing is more likely to be the result of a lack of
a NONDEBUG_INSN_P somewhere, indeed. It's odd that it doesn't hit without LTO;
are you exercising significantly different code paths in RTL processing?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41230
More information about the Gcc-bugs
mailing list