OSDN Git Service

2011-12-08 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 15:08:16 +0000 (15:08 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 15:08:16 +0000 (15:08 +0000)
commit587838bb0bd54e2b8be6347e515d2c755a3ab85d
treecf170603549b65a83b8471dc9e2ce0b6de209fb2
parent12f0f6d77dbac8ef1d119fb6a2b2fc91f7d09d56
2011-12-08  Richard Guenther  <rguenther@suse.de>

* tree-ssa-operands.c (add_stmt_operand): Do not mark stmts
volatile when processing operands of an ADDR_EXPR.
(get_indirect_ref_operands): Likewise.
(get_tmr_operands): Likewise.
(get_expr_operands): Likewise.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182117 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/volatile3.c [new file with mode: 0644]
gcc/tree-ssa-operands.c