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

COMPILER BUG (ICE): constant empty array of character

DataScientist
Valued Contributor I
854 Views

Is the following code standard compliant?

```fortran

character, parameter :: strvec(*) = [character(1)::]
character(*), parameter :: colseqbeg = maxval(strvec)
end

```

If so,  then both ifort/ifx have an internal compiler bug.

This is a continuation of the earlier discussion on this thread.

Labels (2)
1 Solution
Barbara_P_Intel
Employee
801 Views

I filed bug, CMPLRLLVM-51073, for the ICE. Thanks for reporting it.



View solution in original post

4 Replies
Arjen_Markus
Honored Contributor I
819 Views

Even if your code is not standard-compliant, an ICE is always a compiler bug.

Barbara_P_Intel
Employee
802 Views

I filed bug, CMPLRLLVM-51073, for the ICE. Thanks for reporting it.



Barbara_P_Intel
Employee
484 Views

The Fortran compiler team melted this ICE. Look for that in the 2024.2 version of ifx. That is planned for release in mid-2024.



DataScientist
Valued Contributor I
457 Views

fantastic! Thank you for your update here.

0 Kudos
Reply