aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-25 02:50:31 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-25 02:50:31 +0000
commit8d7524302923f95a57cc3735efb82a32dd6bceb6 (patch)
treec4ddff16396f22940f174a0852497e97d7bab793 /llvm/lib/Transforms/Utils/CloneModule.cpp
parent6caebb15ed6df3f32275279d6ad78cd2019083b9 (diff)
downloadllvm-8d7524302923f95a57cc3735efb82a32dd6bceb6.zip
llvm-8d7524302923f95a57cc3735efb82a32dd6bceb6.tar.gz
llvm-8d7524302923f95a57cc3735efb82a32dd6bceb6.tar.bz2
Expression statements undergo lvalue-to-rvalue conversion in C,
but not in C++, so don't emit aggregate loads of volatile references in null context in C++. Happens to have been caught by an assertion. We do not get the scalar case right. Volatiles are really broken. llvm-svn: 112019
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions