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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu.org

--- Comment #13 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
I think this is a Fortran reproducer that does not depend on printing to
stdout:

program crash
  implicit none
  real :: a
  a = 1.
  call sub()
contains
  subroutine sub()
    character(len=100) :: s
    real :: x

    write(s,*) a
    read(s,*) x
    if (x /= 1.) stop 1
  end subroutine sub
end program crash


It fails for me with trunk (before patch), but passed with 11.2.0
Could it be added to the testsuite please?

Reply via email to