Fortran Discourse
Bug or undefined behaviour in passing zero-sized arrays as optional argument?
Help
Beliavsky
November 16, 2021, 11:55am
3
Please see the thread
An unallocated variable passed as an argument is not PRESENT
.
show post in topic
Related topics
Topic
Replies
Views
Activity
Passing `allocatable, optional` to `optional` argument
4
174
May 16, 2025
An unallocated variable passed as an argument is not PRESENT
14
2318
August 24, 2021
Size of an unallocated array
67
2838
November 5, 2022
Passing element of an optional array as optional scalar argument
Help
21
1068
August 16, 2024
Are zero-length arrays OK
Help
3
1252
April 1, 2022