- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifx 2024.2.0 ICEs with the following code, using default Debug configuration in Visual Studio 2022. The code compiles with a Release configuration but runs with a runtime access violation.
PROGRAM P
IMPLICIT NONE
INTEGER, EXTERNAL :: F
INTEGER :: X(100) = 0
X = F(10, 1)
WRITE(*, *) X
CONTAINS
END PROGRAM
FUNCTION F(N, VAL) RESULT(OUTPUT)
IMPLICIT NONE
INTEGER :: N, VAL, OUTPUT(N)
OUTPUT(:) = 1
END FUNCTION F
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page