[Bug lto/48492] [4.7 Regression] LTO bootstrap failure in copy_constant

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 16 07:59:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48492

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-16 07:59:24 UTC ---
Reachability analysis should never take into account DEBUG stmts, the bug is
IMNSHO in that we shouldn't ever stream DECL_IN_CONSTANT_POOL with
error_mark_node as DECL_INITIAL.  Even if we don't hit this problem, if
DECL_IN_CONSTANT_POOL aren't actually handled specially by LTO streamer, the
constants won't be merged across different CUs, whcih is undesirable.



More information about the Gcc-bugs mailing list