re PR tree-optimization/39204 (ICE in compute_antic)
authorRichard Guenther <rguenther@suse.de>
Tue, 17 Feb 2009 15:01:40 +0000 (15:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 17 Feb 2009 15:01:40 +0000 (15:01 +0000)
commit73a63870d5b36819f06ac187feed2185761a6d15
tree3f74ad84325241290e2fc14ac6671923403fcebe
parent1f2f555a97a392fb6e4e1951da89b9f64b335b73
re PR tree-optimization/39204 (ICE in compute_antic)

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

PR tree-optimization/39204
* tree-ssa-pre.c (phi_translate_1): Lookup the value-number
of the PHI arg.

* gcc.dg/torture/pr39204.c: New testcase.

From-SVN: r144233
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr39204.c [new file with mode: 0644]
gcc/tree-ssa-pre.c