[Bug debug/46867] [4.6 Regression] ICE: in emit_note_insn_var_location, at var-tracking.c:7325 with -O -g

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 13 17:36:00 GMT 2010


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-13 17:36:31 UTC ---
Author: jakub
Date: Mon Dec 13 17:36:26 2010
New Revision: 167754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167754
Log:
    PR debug/46867
    * var-tracking.c (emitted_notes, string_pointer_flags): Removed.
    (emit_note_insn_var_location): Remove ENABLE_RTL_CHECKING verification.
    (vt_emit_notes): Don't initialize and destroy emitted_notes.

    * gcc.dg/pr46867.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr46867.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/var-tracking.c



More information about the Gcc-bugs mailing list