[Bug fortran/125724] ICE in gfc_conv_procedure_call passing NULL() to an allocatable dummy argument
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 10 16:52:08 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125724
--- Comment #2 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #1)
> Created attachment 64698 [details]
> Proposed patch
>
> Patch for previewers
Jerry,
the testcase is invalid:
$ nagfor null_actual_8.f90 -C && ./a.out
NAG Fortran Compiler Release 7.2(Shin-Urayasu) Build 7203
[NAG Fortran Compiler normal termination]
Runtime Error: null_actual_8.f90, line 27: Dummy argument A is associated with
an expression - cannot allocate
Program terminated by fatal error
Aborted
More information about the Gcc-bugs
mailing list