- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Took me ages to narrow this one down. See the comments in the code below for the 2 lines that appear critical to triggering this bug.
[fortran]
MODULE MOD_ONE IMPLICIT NONE TYPE :: RTP_REAL CONTAINS PROCEDURE :: RTP_ASSIGN_REAL GENERIC :: ASSIGNMENT(=) => RTP_ASSIGN_REAL ! Commenting this line out avoids ICE PROCEDURE :: INIT => RTP_INIT_REAL END TYPE RTP_REAL CONTAINS SUBROUTINE RTP_INIT_REAL(SELF) IMPLICIT NONE CLASS(RTP_REAL), INTENT(INOUT) :: SELF END SUBROUTINE RTP_INIT_REAL SUBROUTINE RTP_ASSIGN_REAL(SELF,VAR) IMPLICIT NONE CLASS(RTP_REAL), INTENT(INOUT) :: SELF REAL :: VAR END SUBROUTINE RTP_ASSIGN_REAL END MODULE MOD_ONE MODULE MOD_TWO USE MOD_ONE PRIVATE ! Commenting this line out avoids ICE END MODULE MOD_TWO SUBROUTINE TESTSUB USE MOD_TWO END SUBROUTINE TESTSUB [/fortran]
Compiled using
[bash]ifort test.f90[/bash]
Here is what I see with12.0.2 20110112:
[bash]test.f90: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. compilation aborted for test.f90 (code 1)[/bash]
Here's to hoping there's a quick fix.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll get a bug report for this.
DPD200165983
ron
DPD200165983
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This bug was fixed. I am not sure when, but we have been working to complete F03 compliance and have feature-complete in version 15.0 available today.
TO be sure, I tested this program and it compiles correctly with 15.0.0
Ron

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