https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113845
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-02-09
Ever confirmed|0 |1
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org ---
Thanks. Reduce test case.
subroutine test_adjustl(x)
character(*) :: x(100)
call bar(adjustl(x))
end subroutine
subroutine test_adjustr(x)
character(*) :: x(100)
call bar(adjustr(x))
end subroutine
On FreeBSD either subroutine causes
% gfcx -c rt.f90
pid 50109 comm f951 has trashed its stack, killing
gfortran: internal compiler error: Illegal instruction signal terminated
program f951
Please submit a full bug report, with preprocessed source (by using
-freport-bug
Note, I have
% limits | grep stack
stacksize 524288 kB