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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to Gerhard Steinmetz from comment #0)
> This code accidentally accesses invalid data :
> 
> 
> $ cat z1.f90
> program p
>    integer :: i
>    character(1) :: c
>    data (c(i:i), i=1,11) /11*'c'/
> end
> 
> $ gfortran-6 z1.f90
> *** Error in `/usr/lib64/gcc/x86_64-suse-linux/6/f951': free(): invalid next
> size (fast): 0x00000000029ac080 ***
> ...

This appears to be fixed on 5, 6, and trunk.  Can you please check
with updated versions of at least trunk?

Reply via email to