https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50551
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
CC| |anlauf at gcc dot gnu.org
--- Comment #4 from anlauf at gcc dot gnu.org ---
Fixed in 15-trunk, and on current 14- and 13-branch, likely due to the fixes
for pr104819.
% gfc-13 pr50551.f90
pr50551.f90:9:11:
9 | call sub(null()) ! null() cannot be used with assumed length dummy
argument
| 1
Error: Intrinsic 'NULL()' without 'MOLD' argument at (1) passed to
assumed-length dummy 'x'
*** This bug has been marked as a duplicate of bug 104819 ***