https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884
Bug ID: 118884 Summary: [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4))) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- After the fix for PR118845, lapack fails to compile. ``` $ gfortran -c ./TESTING/EIG/CMakeFiles/xeigtstc.dir/cget24.f-pp.f /var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/TESTING/EIG/cget24.f:591:33: 567 | IF( CSLECT( W( I ) ) ) | 2 ...... 591 | CALL CGEESX( 'V', SORT, CSLECT, 'B', N, HT, LDA, SDIM1, WT, | 1 Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)) /var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/TESTING/EIG/cget24.f:626:33: 567 | IF( CSLECT( W( I ) ) ) | 2 ...... 626 | CALL CGEESX( 'N', SORT, CSLECT, 'B', N, HT, LDA, SDIM1, WT, | 1 Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)) [...] ``` ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/15/lto-wrapper Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/15 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/15/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/15 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/15/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/15/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/15/include/g++-v15 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/15/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 15.0.9999 p, commit e6b63bba27639e7e5c6c3d7fc394639534f30aaf' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --with-arch=i686 --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250214 (experimental) 7c50f95421b6de50e4f40773558d0072eafb2365 (Gentoo 15.0.9999 p, commit e6b63bba27639e7e5c6c3d7fc394639534f30aaf) ```