https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101762
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE in ix86_push_argument, |ICE with "Every subscript |at config/i386/i386.c:4203 |of the target specification | |must be a constant | |expression" Last reconfirmed| |2022-01-02 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note ifort rejects it with: /app/example.f90(4): error #8817: Every subscript of the target specification must be a constant expression. [A] integer, pointer :: x => a(n()) ----------------------------^ compilation aborted for /app/example.f90 (code 1) ASM generation compiler returned: 1 Confirmed.