[Bug tree-optimization/14638] [4.0 Regression] Variables disappear from debug info at -O1
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 24 05:23:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-24 05:23 -------
Subject: Bug 14638
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dberlin@gcc.gnu.org 2004-12-24 05:23:11
Modified files:
gcc : ChangeLog dwarf2out.c tree-outof-ssa.c tree.h
var-tracking.c
Log message:
2004-12-24 Daniel Berlin <dberlin@dberlin.org>
Fix PR debug/14638
* tree.h (DECL_DEBUG_ALIAS_OF): New macro.
* var-tracking.c (track_expr_p): Don't disqualify tracking of variables
that are aliases of variables we want to track, unless the
original variable is also ignored for debugging purposes.
(VARIABLE_HASH_VAL): Use DECL_UID, so that this is deterministic.
* tree-outof-ssa.c (create_temp): Note who we are a debug alias of.
* dwarf2out.c (dwarf2out_var_location): Add us to the location of
the decl we are an alias of.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6950&r2=2.6951
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.563&r2=1.564
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-outof-ssa.c.diff?cvsroot=gcc&r1=2.36&r2=2.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.674&r2=1.675
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/var-tracking.c.diff?cvsroot=gcc&r1=2.22&r2=2.23
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14638
More information about the Gcc-bugs
mailing list