[LLVMbugs] [Bug 20603] New: clang crashes under SPARC on 'typedef __typeof__((int*)0) intptr_t; '
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Aug 9 02:29:11 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20603
Bug ID: 20603
Summary: clang crashes under SPARC on 'typedef
__typeof__((int*)0) intptr_t;'
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: sylvestre at debian.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This has been reported initially here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737275
//Works
int x;
typedef __typeof__(x) int2;
//Works
typedef __typeof__(0) int_t;
//Dies
typedef __typeof__((int*)0) intptr_t;
//Dies
//typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;
I haven't tried on 3.5.
--
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/20140809/11435960/attachment.html>
More information about the llvm-bugs
mailing list