[LLVMbugs] [Bug 10694] New: Assertion failed: (FromType->isIntegralOrUnscopedEnumerationType()), function endsWithNarrowing, file SemaInit.cpp, line 2326
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 17 14:41:30 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10694
Summary: Assertion failed:
(FromType->isIntegralOrUnscopedEnumerationType()),
function endsWithNarrowing, file SemaInit.cpp, line
2326
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: tm at ayena.de
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=7092)
--> (http://llvm.org/bugs/attachment.cgi?id=7092)
Preprocessed sources (/tmp/cc-ZmphkT.ii) zipped
LLVM revision: 137864
Clang revision: 137864
Attached are the preprocessed sources; at the end mentioned as
/tmp/cc-ZmphkT.ii.
Assertion failed: (FromType->isIntegralOrUnscopedEnumerationType()), function
endsWithNarrowing, file SemaInit.cpp, line 2326.
0 clang 0x00000001019e6b12
llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) +
818
1 clang 0x00000001019e7a93
llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) +
4787
2 libSystem.B.dylib 0x00007fff875511ba _sigtramp + 26
3 libSystem.B.dylib 0x00007fff5fbec6d0 _sigtramp + 3630806320
4 clang 0x00000001019e6f92
llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) +
1970
5 clang 0x0000000100581b88 llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 31704
6 clang 0x000000010058a984 llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 68052
7 clang 0x000000010058b939 llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 72073
8 clang 0x000000010058bb8d llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 72669
9 clang 0x00000001005928ee llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 100670
10 clang 0x000000010058c337 llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 74631
11 clang 0x000000010058cf30 llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 77696
12 clang 0x000000010059415c llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 106924
13 clang 0x000000010058834c llvm::cast_retty<clang::PointerType,
clang::CanQual<clang::Type> >::ret_type llvm::cast<clang::PointerType,
clang::CanQual<clang::Type> >(clang::CanQual<clang::Type> const&) + 58268
14 clang 0x0000000100447e37
clang::CodeCompletionBuilder::AddTypedTextChunk(char const*) + 119479
15 clang 0x000000010031df67
clang::Parser::LexedMethod::~LexedMethod() + 6551
16 clang 0x0000000100327df2
clang::Parser::LexedMethod::~LexedMethod() + 47138
17 clang 0x000000010033204c
clang::Parser::LexedMethod::~LexedMethod() + 88700
18 clang 0x0000000100332135
clang::Parser::LexedMethod::~LexedMethod() + 88933
19 clang 0x000000010036eba2
clang::PragmaOpenCLExtensionHandler::~PragmaOpenCLExtensionHandler() + 11762
20 clang 0x000000010036f7a6
clang::PragmaOpenCLExtensionHandler::~PragmaOpenCLExtensionHandler() + 14838
21 clang 0x000000010036fd59
clang::PragmaOpenCLExtensionHandler::~PragmaOpenCLExtensionHandler() + 16297
22 clang 0x00000001003871ea
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 49898
23 clang 0x00000001003285ac
clang::Parser::LexedMethod::~LexedMethod() + 49116
24 clang 0x00000001003848b8
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 39352
25 clang 0x0000000100384d3e
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 40510
26 clang 0x0000000100389a43
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 60227
27 clang 0x000000010033a821
clang::Parser::DeclaratorScopeObj::EnterDeclaratorScope() + 29697
28 clang 0x000000010033b28a
clang::Parser::DeclaratorScopeObj::EnterDeclaratorScope() + 32362
29 clang 0x00000001003323e3
clang::Parser::LexedMethod::~LexedMethod() + 89619
30 clang 0x0000000100389528
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 58920
31 clang 0x0000000100389e7a
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 61306
32 clang 0x0000000100318e8b llvm::IRBuilder<true,
llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true>
>::CreateGEP(llvm::Value*, llvm::Value*, llvm::Twine const&) + 859
33 clang 0x00000001002e3d1c llvm::DenseMap<clang::GlobalDecl, long
long, llvm::DenseMapInfo<clang::GlobalDecl>, llvm::DenseMapInfo<long long>
>::grow(unsigned int) + 3852
34 clang 0x000000010002e871 llvm::DenseMap<clang::IdentifierInfo
const*, unsigned int, llvm::DenseMapInfo<clang::IdentifierInfo const*>,
llvm::DenseMapInfo<unsigned int> >::grow(unsigned int) + 9649
35 clang 0x000000010000b7b3 llvm::raw_ostream::operator<<(char
const*) + 1891
36 clang 0x0000000100001f4c
37 clang 0x000000010000a4fe std::vector<std::string,
std::allocator<std::string>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, std::string const&) +
13598
38 clang 0x0000000100001334
39 clang 0x000000000000008a
Stack dump:
0. Program arguments: /Users/tobias/llvm/bin/clang -cc1 -triple
x86_64-apple-macosx10.6.8 -emit-obj -disable-free -main-file-name
QtUserSearchWindow.cpp -pic-level 1 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 123.2 -g
-coverage-file Swift/QtUI/UserSearch/QtUserSearchWindow.o -resource-dir
/Users/tobias/llvm/bin/../lib/clang/3.0 -isystem
/Users/tobias/dev/gsoc/swift-jingle/3rdParty/Boost/src -D IDNA_STATIC -D
BOOST_FILESYSTEM_VERSION=2 -D BOOST_SYSTEM_NO_DEPRECATED -D BOOST_ALL_NO_LIB -D
HAVE_GROWL -D QT_CORE_LIB -D QT_GUI_LIB -I
/Library/Frameworks/QtCore.framework/Versions/4/Headers -I
/Library/Frameworks/QtGui.framework/Versions/4/Headers -I
/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I . -I . -I
3rdParty/LibIDN/src -I 3rdParty/LibMiniUPnPc/src -I /usr/include/libxml2 -I
Swift/QtUI -F/Library/Frameworks -O2 -Wextra -Wall -Wnon-virtual-dtor -Wundef
-Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wredundant-decls
-W#warnings -Wc++0x-compat -Waddress-of-temporary -Wambiguous-member-template
-Warray-bounds -Watomic-properties -Wbind-to-temporary-copy
-Wbuiltin-macro-redefined -Wc++-compat -Wc++0x-extensions -Wcomments
-Wconditional-uninitialized -Wconstant-logical-operand
-Wdeclaration-after-statement -Wdeprecated -Wdeprecated-implementations
-Wdeprecated-writable-strings -Wduplicate-method-arg -Wempty-body
-Wendif-labels -Wenum-compare -Wformat=2 -Wfour-char-constants -Wgnu
-Wincomplete-implementation -Winvalid-noreturn -Winvalid-offsetof
-Winvalid-token-paste -Wlocal-type-template-args -Wmethod-signatures
-Wmicrosoft -Wmissing-declarations -Wnon-pod-varargs -Wnonfragile-abi2
-Wnull-dereference -Wout-of-line-declaration -Woverlength-strings -Wpacked
-Wpointer-arith -Wpointer-sign -Wprotocol -Wreadonly-setter-attrs -Wselector
-Wshift-overflow -Wshift-sign-overflow -Wstrict-selector-match
-Wsuper-class-method-mismatch -Wtautological-compare -Wtypedef-redefinition
-Wundeclared-selector -Wunknown-warning-option -Wunnamed-type-template-args
-Wunused-exception-parameter -Wunused-member-function -Wused-but-marked-unused
-Wvariadic-macros -fdeprecated-macro -ferror-limit 19 -fmessage-length 202
-stack-protector 1 -fblocks -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -o Swift/QtUI/UserSearch/QtUserSearchWindow.o -x c++
Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
1. Swift/QtUI/UserSearch/QtUserSearchWindow.cpp:188:176: current parser
token ';'
2. Swift/QtUI/UserSearch/QtUserSearchWindow.cpp:25:1: parsing namespace
'Swift'
3. Swift/QtUI/UserSearch/QtUserSearchWindow.cpp:183:83: parsing function
body 'setSearchFields'
4. Swift/QtUI/UserSearch/QtUserSearchWindow.cpp:183:83: in compound
statement ('{}')
clang: error: unable to execute command: Illegal instruction
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/cc-ZmphkT.ii
scons: *** [Swift/QtUI/UserSearch/QtUserSearchWindow.o] Error 254
scons: building terminated because of errors.
make: *** [default] Error 2
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list