https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220590

--- Comment #3 from Jan Beich <jbe...@freebsd.org> ---
Here's a test case:

$ cat a.c
#include <stdio.h>
#include <math.h>

int main(int argc, char *argv[])
{
  printf("%Lf\n", cosl(5));
  printf("%Lf\n", sinl(5));
  return 0;
}

$ cc a.c -lm -O1 -funsafe-math-optimizations
/tmp/a-718f07.o: In function `main':
a.c:(.text+0x18): undefined reference to `sincos'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to