From: Szabolcs Nagy Date: Fri, 11 Apr 2014 15:57:30 +0000 (+0200) Subject: math: fix aliasing violation in long double wrappers X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;ds=sidebyside;h=73c870ed3209b68b5c8c350534508cc9d95a6bcb;hp=73c870ed3209b68b5c8c350534508cc9d95a6bcb;p=musl 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. ---