codee-com / codee-com/open-catalog
[Fortran] Intel's ICE in frontend with incorrect interfaces
- Vorherrschende Sprache
- Fortran
- Sterne
- 106
- Forks
- 12
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Assuming one has the following code:
```
subroutine test_b(b)
real(8) :: b
interface
subroutine test_a
end subroutine test_a
end interface
call test_a
end subroutine test_b
subroutine test_a(a)
real :: a
end subroutine test_a
```
Intel Fortran frontend fails with ICE that makes difficult to determine a place where the errors are. An example: https://godbolt.org/z/f4hj99f88
The issue comes from using of incompatible interfaces (or declaration + interface) in single file.
Original report on Intel Fortran Compiler Forum: https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-ifx-with-interface-declara/m-p/1538601/highlight/true#M168920
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere das minimale Fortran-Beispiel aus dem Issue anhand des verlinkten Godbolt-Falls und vergleiche anschließend das Verhalten des Frontends mit dem Bericht im Intel-Forum. Erledigt bedeutet, dass der inkompatible Interface- oder Deklarationsfall mit einem klaren Ergebnis nachverfolgt ist und nicht nur ein Bericht über einen internen Compilerfehler vorliegt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- fortran
- Bereich
- compilers
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100