[LLVMbugs] [Bug 16607] New: clang-3.2: /home/gantonopoulos/LLVM_with_polly/llvm/tools/clang/include/clang/AST/Type.h:2950: bool clang::FunctionProtoType::isNothrow(clang::ASTContext&) const: Assertion `EST != EST_Unevaluated && EST != EST_Uninstantiated' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jul 12 01:20:45 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16607
Bug ID: 16607
Summary: clang-3.2:
/home/gantonopoulos/LLVM_with_polly/llvm/tools/clang/i
nclude/clang/AST/Type.h:2950: bool
clang::FunctionProtoType::isNothrow(clang::ASTContext&
) const: Assertion `EST != EST_Unevaluated && EST !=
EST_Uninstantiated' failed.
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: george.antonopoulos at nikitec.gr
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10871
--> http://llvm.org/bugs/attachment.cgi?id=10871&action=edit
Preprocessed source and associated run script
clang-3.2:
/home/gantonopoulos/LLVM_with_polly/llvm/tools/clang/include/clang/AST/Type.h:2950:
bool clang::FunctionProtoType::isNothrow(clang::ASTContext&) const: Assertion
`EST != EST_Unevaluated && EST != EST_Uninstantiated' failed.
0 clang-3.2 0x0000000001a8d562
1 clang-3.2 0x0000000001a8d238
2 libpthread.so.0 0x00002b0875ec5030
3 libc.so.6 0x00002b08768a4475 gsignal + 53
4 libc.so.6 0x00002b08768a76f0 abort + 384
5 libc.so.6 0x00002b087689d621 __assert_fail + 241
6 clang-3.2 0x0000000001b45dca
7 clang-3.2 0x0000000001b3efde
clang::CodeGen::CodeGenModule::ConstructAttributeList(clang::CodeGen::CGFunctionInfo
const&, clang::Decl const*, llvm::SmallVector<llvm::AttributeWithIndex, 8u>&,
unsigned int&) + 350
8 clang-3.2 0x0000000001ac690f
clang::CodeGen::CodeGenModule::SetLLVMFunctionAttributes(clang::Decl const*,
clang::CodeGen::CGFunctionInfo const&, llvm::Function*) + 97
9 clang-3.2 0x0000000001ac6f18
clang::CodeGen::CodeGenModule::SetFunctionAttributes(clang::GlobalDecl,
llvm::Function*, bool) + 196
10 clang-3.2 0x0000000001ac8f23
clang::CodeGen::CodeGenModule::GetOrCreateLLVMFunction(llvm::StringRef,
llvm::Type*, clang::GlobalDecl, bool, llvm::Attributes) + 655
11 clang-3.2 0x0000000001b5b25b
clang::CodeGen::CodeGenModule::GetAddrOfCXXDestructor(clang::CXXDestructorDecl
const*, clang::CXXDtorType, clang::CodeGen::CGFunctionInfo const*) + 263
12 clang-3.2 0x0000000001b50453
clang::CodeGen::CodeGenFunction::EmitCXXDestructorCall(clang::CXXDestructorDecl
const*, clang::CXXDtorType, bool, llvm::Value*) + 243
13 clang-3.2 0x0000000001b5058c
14 clang-3.2 0x0000000001b5e384
15 clang-3.2 0x0000000001b5ee25
clang::CodeGen::CodeGenFunction::PopCleanupBlock(bool) + 1783
16 clang-3.2 0x0000000001b5dfb0
clang::CodeGen::CodeGenFunction::PopCleanupBlocks(clang::CodeGen::EHScopeStack::stable_iterator)
+ 164
17 clang-3.2 0x0000000001b4de6f
clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&)
+ 499
18 clang-3.2 0x0000000001c56b74
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 628
19 clang-3.2 0x0000000001b5aceb
clang::CodeGen::CodeGenModule::EmitCXXConstructor(clang::CXXConstructorDecl
const*, clang::CXXCtorType) + 441
20 clang-3.2 0x0000000001ac8b8a
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 274
21 clang-3.2 0x0000000001ac8534
clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 754
22 clang-3.2 0x0000000001b5ab2f
clang::CodeGen::CodeGenModule::EmitCXXConstructors(clang::CXXConstructorDecl
const*) + 129
23 clang-3.2 0x0000000001acef63
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 543
24 clang-3.2 0x0000000001acebc4
clang::CodeGen::CodeGenModule::EmitNamespace(clang::NamespaceDecl const*) + 88
25 clang-3.2 0x0000000001aceeef
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 427
26 clang-3.2 0x0000000001acebc4
clang::CodeGen::CodeGenModule::EmitNamespace(clang::NamespaceDecl const*) + 88
27 clang-3.2 0x0000000001aceeef
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 427
28 clang-3.2 0x0000000001acebc4
clang::CodeGen::CodeGenModule::EmitNamespace(clang::NamespaceDecl const*) + 88
29 clang-3.2 0x0000000001aceeef
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 427
30 clang-3.2 0x0000000001ac1389
31 clang-3.2 0x0000000001abfede
32 clang-3.2 0x0000000001e0eabb clang::ParseAST(clang::Sema&, bool, bool)
+ 552
33 clang-3.2 0x0000000001d2998c clang::ASTFrontendAction::ExecuteAction()
+ 298
34 clang-3.2 0x0000000001abec10 clang::CodeGenAction::ExecuteAction() +
1246
35 clang-3.2 0x0000000001d295a7 clang::FrontendAction::Execute() + 197
36 clang-3.2 0x0000000001d05e6b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 717
37 clang-3.2 0x0000000001a92181
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1054
38 clang-3.2 0x0000000000c1baa8 cc1_main(char const**, char const**, char
const*, void*) + 678
39 clang-3.2 0x0000000000c15d9b main + 508
40 libc.so.6 0x00002b0876890ead __libc_start_main + 253
41 clang-3.2 0x0000000000c14479
Stack dump:
0. Program arguments:
/home/gantonopoulos/LLVM_with_polly/llvm_inst/bin/clang-3.2 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
surfaceFilmModel.C -mrelocation-model pic -pic-level 2 -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -momit-leaf-frame-pointer -coverage-file
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/regionModels/surfaceFilmModels/Make/linux64ClangDPOpt/surfaceFilmModel.o
-resource-dir
/home/gantonopoulos/LLVM_with_polly/llvm_inst/bin/../lib/clang/3.2 -D linux64
-D WM_DP -D NoRepository -I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/finiteVolume/lnInclude -I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude -I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/basic/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/specie/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/properties/liquidProperties/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/properties/solidProperties/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/reactionThermo/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/thermophysicalModels/SLGThermo/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/lagrangian/distributionModels/lnInclude
-I /home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/turbulenceModels -I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/turbulenceModels/compressible/turbulenceModel
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/turbulenceModels/compressible/RAS/lnInclude
-I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/regionModels/regionModel/lnInclude
-I lnInclude -I . -I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude -I
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/OSspecific/POSIX/lnInclude
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem /usr/local/include -internal-isystem
/home/gantonopoulos/LLVM_with_polly/llvm_inst/bin/../lib/clang/3.2/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
-Wno-overloaded-virtual -fdeprecated-macro -fdebug-compilation-dir
/home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/regionModels/surfaceFilmModels
-ftemplate-depth 100 -ferror-limit 19 -fmessage-length 185 -mstackrealign
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o Make/linux64ClangDPOpt/surfaceFilmModel.o -x c++
surfaceFilmModel/surfaceFilmModel.C
1. <eof> parser at end of file
2. surfaceFilmModel/surfaceFilmModel.C:53:11: LLVM IR generation of
declaration 'Foam'
3. surfaceFilmModel/surfaceFilmModel.C:84:19: Generating code for
declaration
'Foam::regionModels::surfaceFilmModels::surfaceFilmModel::surfaceFilmModel'
clang-3: error: unable to execute command: Aborted
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (branches/release_32 185938)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3: note: diagnostic msg: PLEASE submit a bug report to and include the
crash backtrace, preprocessed source, and associated run script.
clang-3: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3: note: diagnostic msg: /tmp/surfaceFilmModel-JNlRi1.cpp
clang-3: note: diagnostic msg: /tmp/surfaceFilmModel-JNlRi1.sh
clang-3: note: diagnostic msg:
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130712/d7802147/attachment.html>
More information about the llvm-bugs
mailing list