Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

ifort beta bug: ICE

Harper__John
Beginner
128 Views

This program gives an internal compiler error in a Linux system with ifort Version 19.1.0.056 Pre-Release Beta Build 20190321. Evidence:

cayley[~/Jfh] % cat cr_lf2.f90
program carriagereturn ! F2003: iso_c_binding, length in array constructor
use, intrinsic :: iso_c_binding, only: C_CARRIAGE_RETURN, C_NEW_LINE
character :: cr(3) = [character:: C_CARRIAGE_RETURN,achar(13),'\r']
character :: lf(3) = [character:: C_NEW_LINE,achar(10),'\n']
integer i
do i = 1,3
   print *,'a',cr(i),'b'
   print *,'c',lf(i),'d'
   print *,'e',cr(i),lf(i),'f'
   print *,'g',lf(i),cr(i),'h'
   print *
end do
end program carriagereturn

cayley[~/Jfh] % ifort -V cr_lf2.f90
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.0.056 Pre-Release Beta Build 20190321
Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.

ifort: NOTE: The Beta evaluation period for this product ends on 9-oct-2019 UTC.
 Intel(R) Fortran 19.1-1453
cr_lf2.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 cr_lf2.f90 (code 1)

0 Kudos
2 Replies
Juergen_R_R
Valued Contributor I
128 Views

Please report this to the Intel Support https://supporttickets.intel.com/?lang=en-US

 

Ron_Green
Moderator
128 Views

I'll write up a bug report from this.  Thanks

Bug ID CMPLRIL0-31704

 

thank you for reporting this.

Ron

Reply