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

--- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
Simplified a bit :


$ cat z7.f90
program p
   integer, parameter :: a(:) = 1
   integer, parameter :: b(2,2) = reshape([a], [2,2])
end


$ gfortran-6 z7.f90
*** Error in `/usr/lib64/gcc/x86_64-suse-linux/6/f951': double free or
corruption (fasttop): 0x0000000003a00630 ***
...
f951: internal compiler error: Aborted

Reply via email to