[LLVMbugs] [Bug 4288] New: Mixed up # line directives with -E -dD

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun May 31 14:47:29 PDT 2009


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

           Summary: Mixed up # line directives with -E -dD
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:
#define A A
/* 1
 * 2
 * 3
 * 4
 * 5
 * 6
 * 7
 * 8
 */
#define B B

Run through "clang -x c - -o - -E -dD", produces something like the following
(ignoring the predefine buffer):

# 1 "<stdin>" 2
#define A A# 11 "<stdin>"
#define B B


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