This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/43177] Handle at least simple cases of reversible insns in debug info
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2010 06:59:30 -0000
- Subject: [Bug debug/43177] Handle at least simple cases of reversible insns in debug info
- References: <bug-43177-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jakub at gcc dot gnu dot org 2010-03-03 06:59 -------
Subject: Bug 43177
Author: jakub
Date: Wed Mar 3 06:59:09 2010
New Revision: 157188
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157188
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/guality/pr43177.c
Modified:
trunk/gcc/var-tracking.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43177