https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111646
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
[apinski@xeond2 upstream-cross-aarch64]$ ./install/bin/aarch64-linux-gnu-gcc
-static t67.c -lm
[apinski@xeond2 upstream-cross-aarch64]$ ./install-qemu/bin/qemu-aarch64 a.out
x -9311848.013224 cosx_1 -0.634393
x -9311848.013224 cosx_2 -0.634393
Works for me with the trunk gcc, glibc and qemu.