Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

ifort beta bug: ICE

$
0
0

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)


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>