: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: songtao.thu at gmail dot com
When I reshape a allocatable array to allocatable function output, segmentation
fault appears.
Test Case1:
program main
implicit none
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57957
--- Comment #3 from Tao Song ---
(In reply to janus from comment #2)
> (In reply to Tobias Burnus from comment #1)
> > For GCC 4.9, one needs to wrap the code in the main program in BLOCK/END
> > BLOCK as otherwise the end-of-scope deallocation d
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57957
Tao Song changed:
What|Removed |Added
Severity|normal |major
Assignee: unassigned at gcc dot gnu.org
Reporter: songtao.thu at gmail dot com
A simple test:
! Test
program main
implicit none
type :: type1
real, allocatable :: anum(:)
end type type1
type :: type2
type(type1) :: temp
end type type2
type(type1) :: uKnot