tree-ssa-operands.c (add_stmt_operand): Do not mark stmts volatile when processing...
authorRichard Guenther <rguenther@suse.de>
Thu, 8 Dec 2011 15:08:16 +0000 (15:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 8 Dec 2011 15:08:16 +0000 (15:08 +0000)
commit9b854a97608cd666464ce555d152e0e83ab291aa
treecf170603549b65a83b8471dc9e2ce0b6de209fb2
parentb0a1ac21bda697a7bcec9ecd7b29c4df2c18ead4
tree-ssa-operands.c (add_stmt_operand): Do not mark stmts volatile when processing operands of an ADDR_EXPR.

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.

From-SVN: r182117
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/volatile3.c [new file with mode: 0644]
gcc/tree-ssa-operands.c