[Bug target/59664] avx512f-ceil-sfix-vec-2.c and avx512f-floor-sfix-vec-2.c FAIL on Solaris9/x86
ro at CeBiTec dot Uni-Bielefeld.DE
gcc-bugzilla@gcc.gnu.org
Mon Jan 6 13:05:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59664
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> I guess it is problematic to include <math.h> in the test, because then you
> rely on whatever the vendor math.h does.
>
> Does it still FAIL if you remove the #include <math.h>
> and instead add say
> #define floor(x) __builtin_floor (x)
> #define ceil(x) __builtin_ceil (x)
> #define M_PI __builtin_acos (-1.0)
>
> ?
It does, while the *-vec-1.c files which actually include <math.h> still pass.
Rainer
More information about the Gcc-bugs
mailing list