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

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---

> Note that the test expects the -fimplicit-none option. Do you
> see the valgrind error with this option?

No I didn't.

$ /home/dcb/gcc/results.245439/bin/gfortran -c -fimplicit-none
gfortran.dg/fimplicit_none_2.f90
gfortran.dg/fimplicit_none_2.f90:5:48:

    character(*), parameter :: z(2) = [character(n) :: 'x', 'y'] ! { dg-error
"Scalar INTEGER expression expected" }
                                                1
Error: Scalar INTEGER expression expected at (1)
$

Reply via email to