diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-04-11 17:57:30 +0200 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2014-04-11 18:07:08 +0200 |
commit | 73c870ed3209b68b5c8c350534508cc9d95a6bcb (patch) | |
tree | d2d59479ac1cb75e6ef6a8e707e7c0bb3b1ebb2d /src/internal/syscall.h | |
parent | fix search past the end of haystack in memmem (diff) | |
download | grovel-73c870ed3209b68b5c8c350534508cc9d95a6bcb.tar.gz grovel-73c870ed3209b68b5c8c350534508cc9d95a6bcb.tar.xz |
math: fix aliasing violation in long double wrappers
modfl and sincosl were passing long double* instead of double*
to the wrapped double precision functions (on archs where long
double and double have the same size).
This is fixed now by using temporaries (this is not optimized
to a single branch so the generated code is a bit bigger).
Found by Morten Welinder.
Diffstat (limited to 'src/internal/syscall.h')
0 files changed, 0 insertions, 0 deletions