re PR debug/51695 (NOTE_INSN_VAR_LOCATION notes are sometimes too large)
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Jan 2012 19:58:03 +0000 (20:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2012 19:58:03 +0000 (20:58 +0100)
commit5dc28f42b4522c1ba7446174282496a3e54014d2
treeaf140ca4a2f43d4298d8e2199c1b85c8ba511715
parent03a9ba1e28339288fcbdbb3a70f6487a88104df7
re PR debug/51695 (NOTE_INSN_VAR_LOCATION notes are sometimes too large)

PR debug/51695
* dwarf2out.c (output_loc_list): For now drop >= 64KB expressions
in .debug_loc on the floor.

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

From-SVN: r182886
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr51695.c [new file with mode: 0644]