https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116665
Bug ID: 116665 Summary: new test case gfortran.dg/gomp/interop-1.f90 ICEs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:4ce9e0a579fcd216c1a3439525201473402a895d, r15-3510-g4ce9e0a579fcd2 This seem to only happen with a bootstrap build. make -k check-gcc RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/interop-1.f90" FAIL: gfortran.dg/gomp/interop-1.f90 -O (internal compiler error: Segmentation fault) FAIL: gfortran.dg/gomp/interop-1.f90 -O (test for excess errors) Excess errors: f951: internal compiler error: Segmentation fault 0x123839df internal_error(char const*, ...) /home/seurer/gcc/git/gcc-test/gcc/diagnostic-global-context.cc:492 0x10e52de3 crash_signal /home/seurer/gcc/git/gcc-test/gcc/toplev.cc:321 0x10471010 gfc_resolve_expr(gfc_expr*) /home/seurer/gcc/git/gcc-test/gcc/fortran/resolve.cc:7604 0x10428d5f gfc_match_omp_prefer_type /home/seurer/gcc/git/gcc-test/gcc/fortran/openmp.cc:1872 0x10429737 gfc_match_omp_init /home/seurer/gcc/git/gcc-test/gcc/fortran/openmp.cc:2067 0x1042dcdb gfc_match_omp_clauses /home/seurer/gcc/git/gcc-test/gcc/fortran/openmp.cc:3192 0x10434117 match_omp /home/seurer/gcc/git/gcc-test/gcc/fortran/openmp.cc:4945 0x10434117 gfc_match_omp_interop() /home/seurer/gcc/git/gcc-test/gcc/fortran/openmp.cc:6121 0x10443bab match_word /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:75 0x10443bab decode_omp_directive /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:1169 0x10447e37 next_free /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:1582 0x10447e37 next_statement /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:1841 0x1044c2df parse_executable /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:6456 0x1044e0cf parse_progunit /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:6726 0x1045033b gfc_parse_file() /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.cc:7238 0x104d066f gfc_be_parse_file /home/seurer/gcc/git/gcc-test/gcc/fortran/f95-lang.cc:241 commit 4ce9e0a579fcd216c1a3439525201473402a895d (HEAD, refs/bisect/bad) Author: Tobias Burnus <tbur...@baylibre.com> Date: Fri Sep 6 11:45:46 2024 +0200 Fortran: Add OpenMP 'interop' directive parsing support * gfortran.dg/gomp/interop-1.f90: New test.