diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-04-17 23:21:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-04-17 23:21:26 +0000 |
| commit | 97bbee2fb4dd03d3b513c1afccf63768e7802bbb (patch) | |
| tree | e8eb532532cf17e5ee1f2d02718a047fdb55e386 /llvm/lib/MC/MCContext.cpp | |
| parent | 9080391b5591e3a0647a5b0a26c404246f726f65 (diff) | |
| download | bcm5719-llvm-97bbee2fb4dd03d3b513c1afccf63768e7802bbb.tar.gz bcm5719-llvm-97bbee2fb4dd03d3b513c1afccf63768e7802bbb.zip | |
Fix a miscompilation I introduced in r129652, thanks for Eli for tracking
it down. we effectively were compile the testcase into:
void test14(int x) {
switch (x) {
case 11: break;
case 42: test14(97); // fallthrough
default: test14(42); break;
which is not the same thing at all. This fixes a miscompilation of
MallocBench/gs seen on the clang-x86_64-linux-fnt buildbot.
llvm-svn: 129679
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions

