[LLVMbugs] [Bug 20602] New: Clang unconditionally defines macros for SSE and SSE2

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 9 02:26:23 PDT 2014


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

            Bug ID: 20602
           Summary: Clang unconditionally defines macros for SSE and SSE2
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Initially reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632472


$ cat sse.h
#ifdef __SSE__
#warning "SSE defined!"
#endif
$ gcc sse.h
$ clang sse.h
sse.h:2:2: warning: "SSE defined!" [-W#warnings]
#warning "SSE defined!"
 ^
1 warning generated.

-- 
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/ce44c139/attachment.html>


More information about the llvm-bugs mailing list