gcc/
commite83c4d0fa5687f2bb35f7b748a2039f5cc39f0db
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Aug 2010 12:22:11 +0000 (20 12:22 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Aug 2010 12:22:11 +0000 (20 12:22 +0000)
tree8203f44d134cc7bbd49bc190100542d7b66cfda0
parent260e669e8b6e2b6c3b9c422a617e0e8e1f873cc0
gcc/
* gimplify.c (gimplify_modify_expr): When assigning to volatiles,
copy the src value and return a copy.
* doc/extend.texi (Volatiles): Move from C++ to C and expand.
(C++ Volatiles): Adjust to describe C++ semantics only.

gcc/testsuite/
* gcc.target/i386/volatile-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163400 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/doc/extend.texi
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/volatile-2.c [new file with mode: 0644]