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
194
May 16, 2025
An unallocated variable passed as an argument is not PRESENT
14
2352
August 24, 2021
Size of an unallocated array
67
3091
November 5, 2022
Passing element of an optional array as optional scalar argument
Help
21
1238
August 16, 2024
Are zero-length arrays OK
Help
3
1291
April 1, 2022