re PR debug/83084 (-fcompare-debug failure on ppc64le)
authorJakub Jelinek <jakub@redhat.com>
Wed, 22 Nov 2017 10:02:19 +0000 (11:02 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 22 Nov 2017 10:02:19 +0000 (11:02 +0100)
commitaaa49b45f6e1fbfc07ae25496b0d9361161a4c80
tree0a3100c52e199af135731b092476284d5cd2ecaa
parenta2998ed1dc4389e2d648ba376f1eca2c165a2717
re PR debug/83084 (-fcompare-debug failure on ppc64le)

PR debug/83084
* valtrack.c (propagate_for_debug_subst, propagate_for_debug): Reset
debug insns if they would contain UNSPEC_VOLATILE or volatile asm.
(dead_debug_insert_temp): Likewise, but also ignore even non-volatile
asm.

* g++.dg/opt/pr83084.C: New test.

From-SVN: r255051
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr83084.C [new file with mode: 0644]
gcc/valtrack.c