https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116249

            Bug ID: 116249
           Summary: [15 Regression] ICE in import_iso_c_binding_module on
                    x86_64-linux-gnu and powerpc64le-linux-gn
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

trunk 20240805 fails to bootstrap with a profiled LTO build, seen on
x86_64-linux-gnu and powerpc64le-linux-gnu:

0x125cf6ff internal_error(char const*, ...)
        ../../src/gcc/diagnostic-global-context.cc:491
0x10ec87e3 crash_signal
        ../../src/gcc/toplev.cc:321
0x103a4594 import_iso_c_binding_module
        ../../src/gcc/fortran/module.cc:6796
0x103a4594 gfc_use_module
        ../../src/gcc/fortran/module.cc:7333
0x103a7c27 gfc_use_modules()
        ../../src/gcc/fortran/module.cc:7566
0x103cbfb7 use_modules
        ../../src/gcc/fortran/parse.cc:124
0x103ce693 decode_statement
        ../../src/gcc/fortran/parse.cc:387
0x103d860b next_free
        ../../src/gcc/fortran/parse.cc:1605
0x103d860b next_statement
        ../../src/gcc/fortran/parse.cc:1838
0x103da6db parse_spec
        ../../src/gcc/fortran/parse.cc:4425
0x103df137 parse_progunit
        ../../src/gcc/fortran/parse.cc:6680
0x103e1563 gfc_parse_file()
        ../../src/gcc/fortran/parse.cc:7232

0x10463d3f gfc_be_parse_file
        ../../src/gcc/fortran/f95-lang.cc:241
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
make[7]: *** [Makefile:833: openacc.lo] Error 1


Configured with: -v
         --with-pkgversion='Debian 20240805-1'
         --with-bugurl='file:///usr/share/doc/gcc-snapshot/README.Bugs'
         --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust
         --prefix=/usr/lib/gcc-snapshot
         --with-gcc-major-version-only
         --program-prefix=
         --enable-shared
         --enable-linker-build-id
         --disable-nls
         --enable-bootstrap
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-libstdcxx-backtrace
         --enable-gnu-unique-object
         --disable-vtable-verify
         --enable-plugin
         --with-system-zlib
         --enable-libphobos-checking=release
         --with-target-system-zlib=auto
         --enable-objc-gc=auto
         --enable-multiarch
         --disable-werror
         --enable-cet
         --with-arch-32=i686
         --with-abi=m64
         --with-multilib-list=m32,m64,mx32
         --enable-multilib
         --with-tune=generic
        
--enable-offload-targets=nvptx-none=/<<PKGBUILDDIR>>/debian/tmp-nvptx/usr/lib/gcc-snapshot,amdgcn-amdhsa=/<<PKGBUILDDIR>>/debian/tmp-gcn/usr/lib/gcc-snapshot
         --enable-offload-defaulted
         --without-cuda-driver
         --enable-checking=yes,extra,rtl
         --build=x86_64-linux-gnu
         --host=x86_64-linux-gnu
         --target=x86_64-linux-gnu
         --with-build-config=bootstrap-lto-lean
         --enable-link-serialization=3

Reply via email to