re PR middle-end/40022 (Alpine miscompilation)
authorRichard Guenther <rguenther@suse.de>
Tue, 5 May 2009 16:09:46 +0000 (16:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 May 2009 16:09:46 +0000 (16:09 +0000)
commit7f8fdb9ff9fb2b2a67adcdb822956275e6c9fcdb
treea46972c7dde7c1141d1a9cb3070c1abc311b308e
parent8d972839dfb7749bd218b9b6804a33e353c83d4f
re PR middle-end/40022 (Alpine miscompilation)

2009-05-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40022
* tree-ssa-phiprop.c (struct phiprop_d): Exchange vop_stmt for
the only vuse.
(phivn_valid_p): Fix tuplification error, simplify.
(phiprop_insert_phi): Add dumps.
(propagate_with_phi): Simplify.

* gcc.c-torture/execute/pr40022.c: New testcase.

From-SVN: r147128
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr40022.c [new file with mode: 0644]
gcc/tree-ssa-phiprop.c