Skip to content
Snippets Groups Projects
Commit 7763473e authored by Richard Guenther's avatar Richard Guenther Committed by Richard Biener
Browse files

re PR tree-optimization/40321 (internal compiler error: in compute_antic, at tree-ssa-pre.c:2501)

2009-07-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/40321
	* tree-ssa-pre.c (add_to_exp_gen): Also add names defined by
	PHI nodes to the maximal set.
	(make_values_for_phi): Add PHI arguments to the maximal set.
	(execute_pre): Dump PHI_GEN and the maximal set.

	* gcc.c-torture/compile/pr40321.c: New testcase.
	* g++.dg/torture/pr40321.C: Likewise.

From-SVN: r149744
parent 4f934809
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment