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/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables



------- Comment #9 from matz at gcc dot gnu dot org  2009-06-03 15:57 -------
Bah, simply not expanding those variables (whose SSA partitions were already)
by clearing TREE_USED on them fixes the problem, but makes those variables
have no debug info at all, as the DECLs then have no DECL_RTL_SET anymore.

Which indeed we can't easily use in case one base variable got split into
several SSA partitions: we have several places but only one DECL.  This is
no problem in -g -O0 mode, so I can hack around this.


-- 


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


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