Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

COMPILER BUG (ICE): constant empty array of character

DataScientist
Valued Contributor I
1,533 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
1,480 Views

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



View solution in original post

4 Replies
Arjen_Markus
Honored Contributor II
1,498 Views

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

Barbara_P_Intel
Employee
1,481 Views

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



Barbara_P_Intel
Employee
1,163 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
1,136 Views

fantastic! Thank you for your update here.

0 Kudos
Reply