re PR debug/46867 (ICE: in emit_note_insn_var_location, at var-tracking.c:7325 with...
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Dec 2010 17:36:26 +0000 (18:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Dec 2010 17:36:26 +0000 (18:36 +0100)
commitc171af0e0080310967bdebd27933488ff6c93038
tree7dc4903a775c8a5ba3bc4a5e923ecfe21bed623e
parente953c7545fed9d5db6b6b722c91f0b471511f3b6
re PR debug/46867 (ICE: in emit_note_insn_var_location, at var-tracking.c:7325 with -O -g)

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.

From-SVN: r167754
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46867.c [new file with mode: 0644]
gcc/var-tracking.c