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

COMPILER BUG (ICE): constant empty array of character

DataScientist
Valued Contributor I
724 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
671 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
689 Views

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

Barbara_P_Intel
Employee
672 Views

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



Barbara_P_Intel
Employee
354 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
327 Views

fantastic! Thank you for your update here.

0 Kudos
Reply