- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using ifort version 17.0.0.
The following code gives a forrtl: severe (71): integer divide by zero error if the object has no component.
Just uncomment the component definition in the EmptyType specification and the error magically goes away.
! ifort -coarray -coarray-num-images=1 main.f90; ./a.out Module EmptyType_Module Type :: EmptyType ! integer :: idum End Type End Module Program Main use EmptyType_Module ,only: EmptyType type(EmptyType) ,allocatable :: Object[:] allocate( Object
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We'll take a look - thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as issue DPD200416771. This thread will be updated with any progress. Thanks for the nice test case.
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