[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables
matz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 8 11:37:00 GMT 2009
------- Comment #10 from matz at gcc dot gnu dot org 2009-06-08 11:37 -------
Subject: Bug 40012
Author: matz
Date: Mon Jun 8 11:37:12 2009
New Revision: 148273
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148273
Log:
PR debug/40012
* cfgexpand.c (set_rtl): Store place also in DECL_RTL, if all
partitions use the same.
(expand_one_var): Deal with DECL_RTL sometimes begin set also
for basevars of SSA_NAMEs.
(expand_used_vars): Reset TREE_USED for basevars of SSA_NAMEs,
to not expand them twice.
(gimple_expand_cfg): Clear DECL_RTL for those decls that have
multiple places.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40012
More information about the Gcc-bugs
mailing list