[llvm-bugs] [Bug 22552] Backend fails at __builtin_ia32_rdrand32_step, if driver is missing -mrdrnd

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 19 16:14:47 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=22552

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Sanjay Patel <spatel+llvm at rotateright.com> ---
This looks good after:
http://reviews.llvm.org/rL250473

$ ./clang 22552.c
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/
-c 
22552.c:3:3: error: '__builtin_ia32_rdrand32_step' needs target feature rdrnd
  __builtin_ia32_rdrand32_step(&v);

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


More information about the llvm-bugs mailing list