This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/49888] VTA: -O2 -g variable value changes, it does not change in the source


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49888

--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-06-13 21:43:54 UTC ---
Author: aoliva
Date: Wed Jun 13 21:43:51 2012
New Revision: 188531

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188531
Log:
gcc/ChangeLog:
PR debug/49888
* var-tracking.c: Include alias.h.
(overlapping_mems): New struct.
(drop_overlapping_mem_locs): New.
(clobber_overlapping_mems): New.
(var_mem_delete_and_set, var_mem_delete): Call it.
(val_bind): Likewise, but only if modified.
(compute_bb_dataflow, emit_notes_in_bb): Call it on MEMs.
* Makefile.in (var-tracking.o): Depend in $(ALIAS_H).
gcc/testsuite/ChangeLog:
PR debug/49888
* gcc.dg/guality/pr49888.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/guality/pr49888.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/var-tracking.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]