- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code throws an ICE in IFX and IFORT. Some versions of the compilers have also problems with a subroutine and intent(out) argument.
PROGRAM MAIN
IMPLICIT NONE
TYPE:: base_type
INTEGER:: i=0
END TYPE base_type
CLASS(base_type),POINTER:: e
REAL(8),ALLOCATABLE,DIMENSION(:,:)::f
f=f_test(e)
CONTAINS
FUNCTION f_test(e) RESULT(o)
IMPLICIT NONE
CLASS(base_type),POINTER::e
REAL(8),DIMENSION(3,e%i):: o
o=0.d0
END FUNCTION f_test
END PROGRAM MAIN
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got confirmation with some colleagues and filled a support request on this ICE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Daniel_Dopico wrote:
I got confirmation with some colleagues and filled a support request on this ICE.
Thank you for reporting this to us. I have escalated this to compiler engineering for a fix.

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