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

--- Comment #3 from Edwin Lu <ewlu at rivosinc dot com> ---
(In reply to JuzheZhong from comment #2)
> Could you give me the code to reproduce this issue?

Testcase file:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/testsuite/gfortran.dg/host_assoc_function_7.f90;h=df240a9f985d39162c50c6e5332744d7ff5bd59d;hb=66c13521f56

Cross compiled with flags: -march=rv64gcv -mabi=lp64d -mcmodel=medlow  
-fdiagnostics-plain-output  -fdiagnostics-plain-output    -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  
-pedantic-errors   -lm

Raw command used:
./fortran_error/build-gcc-linux-stage2/gcc/testsuite/gfortran/../../gfortran
-B./fortran_error/build-gcc-linux-stage2/gcc/testsuite/gfortran/../../
-B./fortran_error/build-gcc-linux-stage2/riscv64-unknown-linux-gnu/./libgfortran/
 ./gcc/gcc/testsuite/gfortran.dg/host_assoc_function_7.f90  -march=rv64gcv
-mabi=lp64d -mcmodel=medlow   -fdiagnostics-plain-output 
-fdiagnostics-plain-output    -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions   -pedantic-errors     
-B./fortran_error/build-gcc-linux-stage2/riscv64-unknown-linux-gnu/./libgfortran/.libs
-L./fortran_error/build-gcc-linux-stage2/riscv64-unknown-linux-gnu/./libgfortran/.libs
-L./fortran_error/build-gcc-linux-stage2/riscv64-unknown-linux-gnu/./libgfortran/.libs
-L./fortran_error/build-gcc-linux-stage2/riscv64-unknown-linux-gnu/./libatomic/.libs
 -lm  -o ./host_assoc_function_7.exe

Reply via email to