[Bug fortran/107223] New: GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17':
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107223 Bug ID: 107223 Summary: GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17': Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: skoerner at nvidia dot com Target Milestone: --- ../.././libgfortran/generated/bessel_r17.c: In function 'bessel_jn_r17': ../.././libgfortran/generated/bessel_r17.c:83:20: error: implicit declaration of function 'jnq'; did you mean 'jnl'? [-Werror=implicit-function-declaration] 83 | last1 = MATHFUNC(jn) (n2, x); |^~ ../.././libgfortran/generated/bessel_r17.c:34:28: note: in definition of macro 'MATHFUNC' 34 | #define MATHFUNC(funcname) funcname ## q |^~~~ ../.././libgfortran/generated/bessel_r17.c: In function 'bessel_yn_r17': ../.././libgfortran/generated/bessel_r17.c:153:20: error: implicit declaration of function 'ynq'; did you mean 'ynl'? [-Werror=implicit-function-declaration] 153 | last1 = MATHFUNC(yn) (n1, x); |^~ ../.././libgfortran/generated/bessel_r17.c:34:28: note: in definition of macro 'MATHFUNC' 34 | #define MATHFUNC(funcname) funcname ## q |^~~~ 4.14.0-115.el7a.ppc64le RHEL 7.6
[Bug libfortran/107223] GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17':
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107223 --- Comment #2 from Sebastian Koerner --- I used these packages (from source) mpfr-4.1.0 gmp-6.2.1 mpc-1.2.1 binutils-2.38 gcc-12.2.0 isl-0.24 and this configure line ./configure --prefix= --enable-gold --enable-plugin --enable-languages=c,c++,fortran,objc,obj-c++ --with-gcc-major-version-only --enable-shared --enable-static --disable-multilib --without-included-gettext --enable-threads=posix --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --enable-linker-build-id --disable-libquadmath --disable-libquadmath-support --enable-default-pie --enable-secureplt --enable-multiarch --disable-werror --with-cpu=power8 --enable-targets=powerpcle-linux --with-long-double-128 --enable-checking=release --build=powerpc64le-unknown-linux-gnu --host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu Now that I read it: disable-quadmath? But why is working on gcc 11.3.0 and with 12.2.0 on x86 and aarch64?