[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


            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:

int x;
typedef __typeof__(x) int2;

typedef __typeof__(0) int_t;

typedef __typeof__((int*)0) intptr_t;

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