Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Continuation line ICE

JFH
New Contributor I
1,067 Views

Ifx 2025.2 gave an ICE with this program that ran happily with gfortran and AMD flang. Its line 1 has a statement number, continuation mark, and comment.
```
1 & ! file badcontinuation.f90
write(*,*)'Hello World 1'
end program
```
Output from other compilers:
```
Hello World 1
```
Output from ifx 2025.2:
```
#0 0x00000000033b7157 (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x33b7157)
#1 0x00000000033b7285 (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x33b7285)
#2 0x00007333a5045810 (/lib/x86_64-linux-gnu/libc.so.6+0x45810)
#3 0x000000000326a6ce (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x326a6ce)
#4 0x000000000326a32d (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x326a32d)
#5 0x00000000032692c4 (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x32692c4)
#6 0x000000000326b66c (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x326b66c)
#7 0x000000000326b74e (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x326b74e)
#8 0x00000000030ec4f9 (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x30ec4f9)
#9 0x00000000033a0eb8 (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x33a0eb8)
#10 0x00000000032955ed (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x32955ed)
#11 0x0000000003476f7a (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x3476f7a)
#12 0x00007333a502a338 __libc_start_call_main libc_start_call_main.h:74
#13 0x00007333a502a3fb call_init libc-start.c:128
#14 0x00007333a502a3fb __libc_start_main libc-start.c:347
#15 0x00000000030d0bae (/opt/intel/oneapi/compiler/2025.2/bin/compiler/xfortcom+0x30d0bae)

badcontinuation.f90: error #5633: **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 badcontinuation.f90 (code 3)
```

0 Kudos
1 Solution
Ron_Green
Moderator
1,058 Views

@JFH thank you for reporting this. 
I do see this bug in ifx versions up to and including 2025.2.0.
We have been correcting some code in continuation line parsing.  It appears our code main branch does not error out with ICE for this example.  This branch will become 2025.3.0.  Because of this I won't open a bug report, it appears we already have a fix.

$ ifx -what -V continuationline.f90
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version dev.x.0 Mainline Build 20250701
Copyright (C) 1985-2025 Intel Corporation. All rights reserved.

 Intel(R) Fortran 25.0-1522
GNU ld (GNU Binutils for Ubuntu) 2.38
rwgreen@orcsle163:~/quad/triage/wednesday$ ./a.out
 Hello World 1
rwgreen@orcsle163:~/quad/triage/wednesday$ cat continuationline.f90
1 & ! file badcontinuation.f90
write(*,*)'Hello World 1'
end program

 

View solution in original post

0 Kudos
1 Reply
Ron_Green
Moderator
1,059 Views

@JFH thank you for reporting this. 
I do see this bug in ifx versions up to and including 2025.2.0.
We have been correcting some code in continuation line parsing.  It appears our code main branch does not error out with ICE for this example.  This branch will become 2025.3.0.  Because of this I won't open a bug report, it appears we already have a fix.

$ ifx -what -V continuationline.f90
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version dev.x.0 Mainline Build 20250701
Copyright (C) 1985-2025 Intel Corporation. All rights reserved.

 Intel(R) Fortran 25.0-1522
GNU ld (GNU Binutils for Ubuntu) 2.38
rwgreen@orcsle163:~/quad/triage/wednesday$ ./a.out
 Hello World 1
rwgreen@orcsle163:~/quad/triage/wednesday$ cat continuationline.f90
1 & ! file badcontinuation.f90
write(*,*)'Hello World 1'
end program

 

0 Kudos
Reply