From 472c3046fe7b12fa9e8dd4c1bd98d0efad51e7f8 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Tue, 21 Oct 2003 12:28:27 +0000 Subject: [PATCH] Why does g++ not even generate a warning when you miss a break statement? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9317 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9InstrSelection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp index a546f9134e3..9c4fcd610b7 100644 --- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp +++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp @@ -2844,6 +2844,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot, int argSize = target.getFrameInfo().getSizeOfEachArgOnStack(); mvec.push_back(BuildMI(V9::ADDi, 3).addReg(vaNextI->getOperand(0)). addSImm(argSize).addRegDef(vaNextI)); + break; } case 66: // reg: VAArg (reg): the va_arg instruction