From fdb530d40630d3c3cac6426fa6a470603fc9f7f1 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 28 Jul 2010 18:21:10 +0000 Subject: [PATCH] Fix a warning from gcc-4.0 (from the ppc buildbot). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109605 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/NeonEmitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index 3516d318855..a754ce289a9 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -1016,6 +1016,8 @@ static unsigned RangeFromType(StringRef typestr) { throw "unhandled type!"; break; } + assert(0 && "unreachable"); + return 0; } /// runHeader - Emit a file with sections defining: