summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-asm-variable.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-17 16:37:20 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-17 16:37:20 +0000
commit6c9d31eb257c803e0707906b9556b91aa4017c51 (patch)
tree9a5ff0dc76114463225bcb34212cbf7d01ef91b1 /clang/test/CodeGen/arm-asm-variable.c
parentd041962c20740eb43f51849fd34d20d4a54b22ff (diff)
downloadbcm5719-llvm-6c9d31eb257c803e0707906b9556b91aa4017c51.tar.gz
bcm5719-llvm-6c9d31eb257c803e0707906b9556b91aa4017c51.zip
When emitting a compound literal of POD type, continue to emit a
separate aggregate temporary and then memcpy it over to the destination. This fixes a regression I introduced with r133235, where the compound literal on the RHS of an assignment makes use of the structure on the LHS of the assignment. I'm deeply suspicious of AggExprEmitter::VisitBinAssign()'s optimization where it emits the RHS of an aggregate assignment directly into the LHS lvalue without checking whether there is any aliasing between the LHS/RHS. However, I'm not in a position to revisit this now. Big thanks to Eli for finding the regression! llvm-svn: 133261
Diffstat (limited to 'clang/test/CodeGen/arm-asm-variable.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud