re PR debug/65678 (internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:909)
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Apr 2015 14:35:18 +0000 (16:35 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Apr 2015 14:35:18 +0000 (16:35 +0200)
commite488c24ec0923d150df9bd41005aa34ce37245ff
treec20ea6a4b859dab7e1af67d49463182dcfc7732d
parentdcc72b9e73852d9e3b5f40c6dc51da12c444d699
re PR debug/65678 (internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:909)

PR debug/65678
* valtrack.c (debug_lowpart_subreg): New function.
(dead_debug_insert_temp): Use it.

* g++.dg/debug/pr65678.C: New test.

From-SVN: r221900
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr65678.C [new file with mode: 0644]
gcc/valtrack.c