[LLVMbugs] [Bug 4685] New: Assertion failed: ((Other.isNull() || Other->isCanonical()) && "Type is not canonical!")
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Aug 5 05:05:51 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4685
Summary: Assertion failed: ((Other.isNull() || Other-
>isCanonical()) && "Type is not canonical!")
Product: clang
Version: unspecified
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pawel.worach at gmail.com
CC: llvmbugs at cs.uiuc.edu
Blocks: 3696
Code from gcc/libiberty/xmalloc.c.
# clang -c t.c
Assertion failed: ((Other.isNull() || Other->isCanonical()) && "Type is not
canonical!"), function CreateUnsafe, file
/usr/src-local/llvm/tools/clang/lib/AST/../../include/clang/AST/CanonicalType.h,
line 708.
Stack dump:
0. Program arguments: /usr/opt/llvm/bin/../libexec/clang-cc -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name t.c
--relocation-model static --disable-fp-elim --unwind-tables=1 --mcpu=x86-64
--fmath-errno=1 -fdiagnostics-show-option -o /tmp/cc-MBwYsq.s -x c t.c
1. t.c:7:1: current parser token '{'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
# cat t.c
typedef unsigned long size_t;
extern void xmalloc_failed (size_t) __attribute__ ((__noreturn__));
void
xmalloc_failed (size_t size)
{
}
--
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