[LLVMbugs] [Bug 19220] New: Missing support for AltiVec "__bool" keyword

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 21 08:16:21 PDT 2014


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

            Bug ID: 19220
           Summary: Missing support for AltiVec "__bool" keyword
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: bmoses at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

We recently ran into a problem trying to build the Eigen math library using
Clang.  The failing line uses the GCC extension type names [1], as is (I
suspect) reasonably common in C++ AltiVec code to avoid keyword collisions:
   typedef __vector __bool int Packet4bi;

Unfortunately, while Clang appears to support the "__vector" keyword, it
doesn't support the "__bool" keyword.

This can be easily reproduced using just a file with the single typedef line.


[1] Documentation of the GCC extensions is here:
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/PowerPC-AltiVec_002fVSX-Built-in-Functions.html

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


More information about the llvm-bugs mailing list