------- Comment #8 from kargl at gcc dot gnu dot org  2009-12-29 18:37 -------
(In reply to comment #7)
> this appears to be fixed, at least in 4.3.5 and 4.4.2
> 

The problem still exist on at least x86_64-*-freebsd.

troutmask:sgk[216] gfc4x -c  homework-2.f90
...
Error: Different shape for array assignment at (1) on dimension 1 (0 and 2)
homework-2.f90:8:0: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

troutmask:sgk[217] gfc4x -v
Using built-in specs.
COLLECT_GCC=/home/sgk/work/4x/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/home/sgk/work/4x/bin/../libexec/gcc/x86_64-unknown-freebsd9.0/4.5.0/lto-wrapper
Target: x86_64-unknown-freebsd9.0
Configured with: ../gcc4x/configure --prefix=/home/sgk/work/4x
--enable-languages=c,fortran
Thread model: posix
gcc version 4.5.0 20091222 (experimental) (GCC) 

Note, you need to rename homework-2.f to  homework-2.f90, or
explicitly tell gfortran that  homework-2.f is free-form code.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36192

Reply via email to