[LLVMbugs] [Bug 1092] NEW: Assertion failure in GlobalVariable.h
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Jan 7 00:17:46 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1092
Summary: Assertion failure in GlobalVariable.h
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-g++
AssignedTo: unassignedbugs at nondot.org
ReportedBy: babic.domagoj at gmail.com
$:~/tmp$ llvm-g++ -I/work/benchmarks/SOURCES/llvm-1.9/utils/TableGen
-I/work/benchmarks/SOURCES/llvm-1.9/include -D__STDC_LIMIT_MACROS
CodeEmitterGen2.ii -o /dev/null
CodeEmitterGen.cpp:4: error: expected unqualified-id before ‘namespace’
CodeEmitterGen.cpp:8: error: expected unqualified-id before string constant
CodeEmitterGen.cpp:16: error: expected unqualified-id before ‘namespace’
CodeEmitterGen.cpp:18: error: expected unqualified-id before ‘namespace’
CodeEmitterGen.cpp:29: error: two or more data types in declaration of ‘__jmp_buf’
CodeEmitterGen.cpp:29: error: duplicate ‘typedef’
CodeEmitterGen.cpp:29: error: long, short, signed or unsigned invalid for
‘__jmp_buf’
CodeEmitterGen.cpp:30: warning: ‘pthread_once’ initialized and declared ‘extern’
CodeEmitterGen.cpp:30: error: ‘pthread_once_t’ was not declared in this scope
CodeEmitterGen.cpp:30: error: ‘__once_control’ was not declared in this scope
CodeEmitterGen.cpp:30: error: ‘__init_routine’ was not declared in this scope
CodeEmitterGen.cpp:30: error: expected primary-expression before ‘void’
CodeEmitterGen.cpp:30: error: initializer expression list treated as compound
expression
CodeEmitterGen.cpp:31: error: expected unqualified-id before ‘public’
cc1plus: /work/projects/llvm/include/llvm/GlobalVariable.h:78: llvm::Constant*
llvm::GlobalVariable::getInitializer() const: Assertion `hasInitializer() && "GV
doesn't have initializer!"' failed.
CodeEmitterGen.cpp:32: internal compiler error: Aborted
Please submit a full bug report,
------------------------------------------------------
To reproduce run:
llvm-g++ CodeEmitterGen2.ii -o /dev/null
[Testcase attached in the following message.]
Domagoj
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list