https://sourceware.org/bugzilla/show_bug.cgi?id=31615
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Alan Modra from comment #7) > /* gcc -O3 -flto -c xxx.c; gcc -o xxx xxx.o -lm */ > #include <stdio.h> > #include <stdlib.h> > #include <math.h> > > int > main (int argc, char **argv) > { > double x = 1.0; > long y = 0; > if (--argc > 0) > x = strtod (*++argv, NULL); > if (--argc > 0) > y = strtol (*++argv, NULL, 0); > printf ("%f\n", ldexp (x, y)); > return 0; > } > > The above simpler testcase shows the problem. Prior to my commit I can't reproduce it with GCC 13 nor GCC 14 using this testcase. -- You are receiving this mail because: You are on the CC list for the bug.