[Bug lto/54728] [4.8 regression] ICE in input_gimple_stmt, at gimple-streamer-in.c:254

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 27 12:17:00 GMT 2012


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-09-27
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-27 12:17:22 UTC ---
Confirmed.

252       else if (code == GIMPLE_LABEL)
253         gcc_assert (emit_label_in_global_context_p (gimple_label_label
(stmt))
254                     || DECL_CONTEXT (gimple_label_label (stmt)) ==
fn->decl);

DECL_CONTEXT seems to be off.  Not sure if we ever assert this during regular
verification though (so might be a bug without LTO as well).

(gdb) call debug_cgraph_node (node)
_ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv/818 (str)
@0x7ffff69d5138
  Type: function
  Visibility: external public visibility_specified
  previous sharing asm name: 253
  References: __gxx_personality_v0/445 (addr)
  Referring: 
  Read from file: t2.o
  Availability: available
  Function flags: analyzed body finalized



More information about the Gcc-bugs mailing list