https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102003
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to GCC Commits from comment #7) I have been testing all the PDT testcases with ifx. There are 5 failures, of which this is one. pault@fedora:~/prs/pdt/test_suite$ ifx pdt_33.f90;./a.out pdt_33.f90(14): error #7747: Invalid parameter expression. integer, parameter :: lm = p% c% len -----------------------------^ compilation aborted for pdt_33.f90 (code 1) F2023 C853: An expression that specifies a length type parameter or array bound of a named constant shall be a constant expression. As far as I can see, gfortran is complying because the LEN parameter in the declaration of 'p' is a constant expression. If the offending line is replaced with integer :: lm lm = p% c% len then ifx is happy. Paul
