[sr #111243] stdbool conftest program (and possibly others) is broken with GCC 15

Sergio Durigan Junior <[email protected]> Mon, 12 May 2025 15:14:46 -0400 (EDT)
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #1, sr #111243 (group autoconf):

Found another case:

Test compile: long long reliability test 1
configure:6585: x86_64-pc-linux-gnu-gcc -O2 -pedantic -fomit-frame-pointer
-m64  conftest.c >&5
conftest.c: In function 'f':
conftest.c:12:48: error: too many arguments to function 'g'; expected 0, have
6
   12 |
for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
      |                                                ^ ~
conftest.c:7:6: note: declared here
    7 | void g(){}
      |      ^
configure:6588: $? = 1


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111243>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaCJIpQAKCRCqLAuaBUf3
TgARAQDLUST4kG6wa+ofTY53C3qFHo0UTYubX2oCSSZjCrkvqwEAiuxKz6I0w8IZ
4v0JK2pgNucQnba2vTCw9Sh7Kc6DQwo=
=Kd4f
-----END PGP SIGNATURE-----