[LLVMbugs] [Bug 9188] New: clang trunk assert '(!Qualifier && "Can't have an unnamed field with a qualifier!"), function RebuildMemberExpr'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 10 02:03:24 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=9188

           Summary: clang trunk assert '(!Qualifier && "Can't have an
                    unnamed field with a qualifier!"), function
                    RebuildMemberExpr'
           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: felix.ritter at mevis.fraunhofer.de
                CC: llvmbugs at cs.uiuc.edu


clang version 2.9 (trunk 125275)
Target: x86_64-apple-darwin10
Thread model: posix

Trying to compile vtk using clang issues the following stack trace:

Assertion failed: (!Qualifier && "Can't have an unnamed field with a
qualifier!"), function RebuildMemberExpr, file TreeTransform.h, line 1374.
0  clang             0x0000000101535182 PrintStackTrace(void*) + 34
1  clang             0x0000000101535fd3 SignalHandler(int) + 707
2  libSystem.B.dylib 0x00007fff847b767a _sigtramp + 26
3  libSystem.B.dylib 0x0000000104200000 _sigtramp + 2141489568
4  clang             0x000000010001a722 __assert_rtn + 66
5  clang             0x000000010059493d clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::RebuildMemberExpr(clang::Expr*,
clang::SourceLocation, bool, clang::NestedNameSpecifier*, clang::SourceRange,
clang::DeclarationNameInfo const&, clang::ValueDecl*, clang::NamedDecl*,
clang::TemplateArgumentListInfo const*, clang::NamedDecl*) + 1261
6  clang             0x00000001005ae60c clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformMemberExpr(clang::MemberExpr*) +
716
7  clang             0x000000010059fa11 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformExpr(clang::Expr*) + 1073
8  clang             0x00000001005ae39a clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformMemberExpr(clang::MemberExpr*) + 90
9  clang             0x000000010059fa11 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformExpr(clang::Expr*) + 1073
10 clang             0x00000001005b0d3a clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformBinaryOperator(clang::BinaryOperator*)
+ 90
11 clang             0x000000010059f84f clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformExpr(clang::Expr*) + 623
12 clang             0x00000001005b4dc1 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformStmt(clang::Stmt*) + 2225
13 clang             0x00000001005b5297 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformCompoundStmt(clang::CompoundStmt*,
bool) + 167
14 clang             0x00000001005b4a60 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformStmt(clang::Stmt*) + 1360
15 clang             0x00000001005b688f clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 47
16 clang             0x00000001005c7a3f
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 2383
17 clang             0x00000001005c6e54
clang::Sema::PerformPendingInstantiations(bool) + 308
18 clang             0x00000001003521b1
clang::Sema::ActOnEndOfTranslationUnit() + 305
19 clang             0x00000001003391fe
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 190
20 clang             0x00000001002e301f clang::ParseAST(clang::Sema&, bool) +
159
21 clang             0x00000001002b45cc clang::CodeGenAction::ExecuteAction() +
60
22 clang             0x0000000100055df9
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 393
23 clang             0x00000001000248b2
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1602
24 clang             0x000000010001c51a cc1_main(char const**, char const**,
char const*, void*) + 586
25 clang             0x00000001000238d4 main + 5588
26 clang             0x000000010001ae04 start + 52
Stack dump:
0.    Program arguments: /Users/ritter/Temp/llvm/Release+Asserts/bin/clang -cc1
-triple x86_64-apple-darwin10.0.0 -emit-obj -mrelax-all -disable-free
-main-file-name vtk_qualifier_crash.ii -pic-level 1 -mdisable-fp-elim
-masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 97.17
-resource-dir /Users/ritter/Temp/llvm/Release+Asserts/bin/../lib/clang/2.9
-ferror-limit 19 -fmessage-length 109 -stack-protector 1 -fblocks -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o vtk_qualifier_crash.o -x
c++-cpp-output vtk_qualifier_crash.ii 
1.    <eof> parser at end of file
2.   
/Users/ritter/Developer.osxresearch/FMEwork/ThirdParty/Sources/vtk/currentVersion/IO/vtkOpenFOAMReader.cxx:2312:70:
instantiating function definition 'ReadNonuniformList'
clang: error: unable to execute command: Illegal instruction
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)

-- 
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