[LLVMbugs] [Bug 2750] New: Extremely strange "exponent has no digits" error

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Sep 1 21:00:12 PDT 2008


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

           Summary: Extremely strange "exponent has no digits" error
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1976)
 --> (http://llvm.org/bugs/attachment.cgi?id=1976)
Testcase

I see the following behavior with the attached testcase:

$ clang yy.c
yy.c:10:1: error: exponent has no digits
XRECORD (XRECORD (1, cons), cons);
^

This error makes absolutely no sense, and goes away if I instead run clang -E |
clang.  I think it's a preprocessor bug.

Testcase reduced from eldap.c in xemacs (see also bug 2745).


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