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/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements


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


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