[PATCH] D151834: Include math-errno with fast-math
    Mikael Holmén via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Sep 11 23:30:52 PDT 2023
    
    
  
uabelho added a comment.
Hi @zahiraam ,
I have a couple of downstream testcases that fail with this patch.
Before
  > clang bbi-86364.c -lm -O3
  > ./a.out
passed but with the patch the assert in the program fails:
  a.out: bbi-86364.c:9: int main(): Assertion `(*__errno_location ()) == 33' failed.
Is this as expected?
F29200339: bbi-86364.c <https://reviews.llvm.org/F29200339>
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151834/new/
https://reviews.llvm.org/D151834
    
    
More information about the cfe-commits
mailing list