bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/31615] Hang when linking vorbis-tools


From: hjl.tools at gmail dot com
Subject: [Bug ld/31615] Hang when linking vorbis-tools
Date: Sun, 07 Apr 2024 13:57:31 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]