This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Oct 2012 09:32:51 +0000
- Subject: [Bug debug/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements
- Auto-submitted: auto-generated
- References: <bug-54971-4@http.gcc.gnu.org/bugzilla/>
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