Commit 207b5956 by Martin Jambor Committed by Martin Jambor

re PR tree-optimization/55920 (ICE in expand_debug_locations, at cfgexpand.c:3753)

2013-01-15  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/55920
	* tree-sra.c (analyze_access_subtree): Do not mark non-removable
	accesses as grp_to_be_debug_replaced.

From-SVN: r195210
parent a7818b54
2013-01-15 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55920
* tree-sra.c (analyze_access_subtree): Do not mark non-removable
accesses as grp_to_be_debug_replaced.
2013-01-15 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/55920
......
......@@ -2199,7 +2199,9 @@ analyze_access_subtree (struct access *root, struct access *parent,
{
if (allow_replacements
&& scalar && !root->first_child
&& (root->grp_scalar_write || root->grp_assignment_write))
&& (root->grp_scalar_write || root->grp_assignment_write)
&& !bitmap_bit_p (cannot_scalarize_away_bitmap,
DECL_UID (root->base)))
{
gcc_checking_assert (!root->grp_scalar_read
&& !root->grp_assignment_read);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment