[LLVMbugs] [Bug 1936] New: Segfault for unterminated macro invocation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 20 05:27:26 PST 2008


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

           Summary: Segfault for unterminated macro invocation
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


In the following testcase

#define f(x) x
#if f(2
#endif

the newline at the end of the #if needs to terminate both the macro invocation
and the directive, not just one of them.

One of those unfortunate things to which there is not a satisfying solution, in
my experience :)


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