re PR debug/43177 (Handle at least simple cases of reversible insns in debug info)
authorJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Mar 2010 07:01:27 +0000 (08:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Mar 2010 07:01:27 +0000 (08:01 +0100)
commitdb51bb34401c8984f410afab38634daaaf68453c
treed707b23c1b70cd72bb00d4bc283b950cab0c5f53
parent0c5863c253fc68676c1b5febc2c49b1d0d088971
re PR debug/43177 (Handle at least simple cases of reversible insns in debug info)

PR debug/43177
* var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode.
(VAL_EXPR_HAS_REVERSE): Define.
(reverse_op): New function.
(add_stores): For reversible operations add an extra MO_VAL_USE.

* gcc.dg/guality/pr43177.c: New test.

From-SVN: r157189
gcc/ChangeLog
gcc/testsuite/ChangeLog