[Bug debug/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 26 09:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54971
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2012-10/msg02396.htm
| |l
--- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-10-26 09:32:51 UTC ---
Thanks a lot for looking into the miscompare, I simplified your fix a
little, though. I'd prefer to have get_access_replacement small and
avoid the extra parameter, we can use the grp_to_be_debug_replaced
instead. I also omitted the DECL_SEEN_IN_BIND_EXPR_P test because I
though it just might never be set on a newly created replacement decl.
The patch is at
http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02396.html
More information about the Gcc-bugs
mailing list