2008-08-01 Richard Guenther <rguenther@suse.de>
commit4109127f32df117fc518dbc343981810eb9c7534
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 2008 11:18:36 +0000 (1 11:18 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 2008 11:18:36 +0000 (1 11:18 +0000)
tree86b09e89c117c517dac0ea8fa7d515551511a1fe
parentb9f24e67ccca753dcd167db04c239929542477d2
2008-08-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/36988
* tree-ssa-ccp.c (ccp_fold): Conversions of constants only
do not matter if that doesn't change volatile qualification.

* gcc.c-torture/compile/pr36988.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138512 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr36988.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c