]> granicus.if.org Git - clang/commit
Don't emit memcpy for copying fields of arrays of volatile elements.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 9 Aug 2011 00:26:11 +0000 (00:26 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 9 Aug 2011 00:26:11 +0000 (00:26 +0000)
commit6b167f4fc40477847687c004b73166f53eeda8da
treeb1ea673fa5e8eb8c3e02430885c97800d43f833f
parent98fdfd30c9f640d220aaf4e88c0e9a7dfa337c06
Don't emit memcpy for copying fields of arrays of volatile elements.
Use the the path that generates a loop. This fixes
bogus error that clang puts out. // rdar://9894548

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137080 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/copy-assign-volatile-synthesis.cpp [new file with mode: 0644]