[LLVMbugs] [Bug 1900] New: MI opt is enabled in cases where it's not valid

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 5 21:55:18 PST 2008


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

           Summary: MI opt is enabled in cases where it's not valid
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


This .c file:

#define MACRO
#include "if-macro.h"
#undef MACRO
#define MACRO || 1
#include "if-macro.h"

combined with this if-macro.h file must diagnose a duplicate definition.

#if !defined foo MACRO
#define foo
int x = 2;
#endif


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