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

--- Comment #5 from Edwin Lu <ewlu at rivosinc dot com> ---
(In reply to Thomas Schwinge from comment #4)
> (In reply to GCC Commits from comment #3)
> > commit r15-3581-g4e9265a474def98cb6cdb59c15fbcb7630ba330e
> > Author: Tobias Burnus <tbur...@baylibre.com>
> > Date:   Wed Sep 11 09:25:47 2024 +0200
> > 
> >     fortran/openmp.cc: Fix var init and locus use to avoid uninit values [PR
> > fortran/116661]
> 
> With that, the ICE I saw is gone, but:
> 
>     [PASSes]
>     FAIL: gfortran.dg/gomp/interop-1.f90   -O  (test for excess errors)
>     Excess errors:
>     [...]/gfortran.dg/gomp/interop-1.f90:59:38: Error: Expected constant
> integer identifier or non-empty default-kind character literal at (1)
> 
> That's:
> 
>     !$omp interop init ( prefer_type( {fr(c_char_"cuda") }) : obj1) ! OK

riscv is now seeing the same error
https://github.com/patrick-rivos/gcc-postcommit-ci/issues/1714

FAIL: gfortran.dg/gomp/interop-1.f90   -O  (test for excess errors)
Excess errors:
/home/runner/work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/gfortran.dg/gomp/interop-1.f90:59:38:
Error: Expected constant integer identifier or non-empty default-kind character
literal at (1)

Reply via email to