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

COMPILER BUG (ICE): constant empty array of character

DataScientist
Valued Contributor I
261 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
Moderator
208 Views

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



View solution in original post

2 Replies
Arjen_Markus
Honored Contributor I
226 Views

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

Barbara_P_Intel
Moderator
209 Views

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



Reply