[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 16:13:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54971
--- Comment #10 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-10-26 16:13:08 UTC ---
Author: jamborm
Date: Fri Oct 26 16:13:00 2012
New Revision: 192848
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192848
Log:
2012-10-26 Martin Jambor <mjambor@suse.cz>
PR debug/54971
* tree-sra.c (struct access): New flag grp_to_be_debug_replaced.
(dump_access): Dump the new flag.
(analyze_access_subtree): Set the new flag when appropriate.
(create_access_replacement): Handle debug replacements differently.
(generate_subtree_copies): Handle the grp_to_be_debug_replaced flag.
(init_subtree_with_zero): Likewise.
(sra_modify_expr): Likewise.
(load_assign_lhs_subreplacements): Likewise.
(sra_modify_assign): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-sra.c
More information about the Gcc-bugs
mailing list