https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Martin Liška from comment #0)
> Happens with UBSAN build in:
>
> $ ./xgcc -B.
> /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90
> -fcoarray=single
> ../../gcc/fortran/array.c:867:36: runtime error: index 15 out of bounds for
> type 'gfc_expr *[15]'
What are you doing? pr91802.f90 is a compile time test.
It cannot generate a runtime error.