OSDN Git Service

2011-09-26 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2011 12:58:35 +0000 (12:58 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2011 12:58:35 +0000 (12:58 +0000)
commit62df0ff99f2ca79430f3c26c5d2b8fca0ddf9d3a
tree851dba3ea227d9d83fa999a66f6e3c047a8e9978
parentd384d9d9bc27b1a905726591d25e20981f776460
2011-09-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50472
* gimple-fold.c (fold_const_aggregate_ref_1): Do not fold
volatile references.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179196 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50472.c [new file with mode: 0644]