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: Thu, 18 Oct 2012 17:37:25 +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
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-10-18 17:37:25 UTC ---
I already have a work-in-progress patch based on your suggestions that
works for the testcase but need to think a bit more about less obvious
cases that might happen. However, I have to leave the office now and
so will continue tomorrow. I will probably have some questions about
what I can put to the debug statements.
To answer your question, apart from the change in
analyze_access_subtree you described, all code checking the
grp_to_be_replaced flag that might be looking at a LHS has to be
extended to look at this flag too. But as I said, I already have a
WIP patch.
Thanks.