Commit 468b40bc by James E Wilson Committed by H.J. Lu

re PR tree-optimization/33389 (Revision 128239 causes libgomp failure)

2007-09-13  James E. Wilson  <wilson@specifix.com>

	PR tree-optimization/33389
	* tree-ssa-operands.c (append_vuse): If ann->in_vdef_list true,
	then set build_loads before returning.

From-SVN: r128469
parent f29adf5b
2007-09-13 James E. Wilson <wilson@specifix.com>
PR tree-optimization/33389
* tree-ssa-operands.c (append_vuse): If ann->in_vdef_list true,
then set build_loads before returning.
2007-09-13 Sandra Loosemore <sandra@codesourcery.com> 2007-09-13 Sandra Loosemore <sandra@codesourcery.com>
David Ung <davidu@mips.com> David Ung <davidu@mips.com>
...@@ -1164,8 +1164,15 @@ append_vuse (tree var) ...@@ -1164,8 +1164,15 @@ append_vuse (tree var)
/* Don't allow duplicate entries. */ /* Don't allow duplicate entries. */
ann = get_var_ann (var); ann = get_var_ann (var);
if (ann->in_vuse_list || ann->in_vdef_list) if (ann->in_vuse_list)
return; return;
else if (ann->in_vdef_list)
{
/* We don't want a vuse if we already have a vdef, but we must
still put this in build_loads. */
bitmap_set_bit (build_loads, DECL_UID (var));
return;
}
ann->in_vuse_list = true; ann->in_vuse_list = true;
sym = var; sym = var;
......
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