[LLVMbugs] [Bug 14894] New: c++-analyzer does not define __SSE3__

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 10 06:23:48 PST 2013


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

             Bug #: 14894
           Summary: c++-analyzer does not define __SSE3__
           Product: clang
           Version: 3.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: giulio.eulisse at cern.ch
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Checking:

#ifdef __SSE3__                                                                 
void bar();
#endif

void
foo()
{
  bar();
}

with:

c++-analyzer -c foo.cc -msse3

triggers an error:

foo.cc:8:3: error: use of undeclared identifier 'bar'
  bar();
  ^
1 error generated.
Use of uninitialized value in concatenation (.) or string at c++-analyzer line
96.

however using __SSE2__ works just fine as expected.

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