]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-ccp.c
re PR tree-optimization/38645 (ICE with volatile)
authorRichard Guenther <rguenther@suse.de>
Tue, 30 Dec 2008 21:20:08 +0000 (21:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 30 Dec 2008 21:20:08 +0000 (21:20 +0000)
commit66e8b99c2aa6f09af3151d972da33d15e09a8d75
treec2715b7747017c8deeb4499cf75d222f6d9a931a
parentc13edb6795a08b73e7d82b5d81fd443deb2b72b4
re PR tree-optimization/38645 (ICE with volatile)

2008-12-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38645
* tree-ssa-ccp.c (fold_gimple_assign): Use the correct pointer
type.
* tree-ssa-dom.c (cprop_operand): Simplify.  Do not propagate
volatileness changing operands.

* gcc.dg/pr38645.c: New testcase.

From-SVN: r142967
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr38645.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c
gcc/tree-ssa-dom.c