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

--- Comment #3 from kargls at comcast dot net ---
(In reply to Andrew Pinski from comment #2)
> >Apple M1 Pro.
> 
> Considering the aarch64 darwin port has not been upstreamed yet, this should
> be reported to where you got gfortran.

The issue exists on x86_64-*-freebsd.

% gfcx -o z -g b1.f90 b2.f90 && ./z
 construct_foo
 construct_foo
 Segmentation fault (core dumped)

% gfcx --version
GNU Fortran (GCC) 15.0.0 20240819 (experimental)

% gdb ./z z.core
[New LWP 230416]
Core was generated by `./z'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000004009cc in test_construct () at b2.f90:6
6          deallocate(foo_instant)

Reply via email to