[Bug fortran/49802] [F03] [F08] Wrong code with VALUE, VALUE with arrays/DIMENSION

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 13 16:12:39 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49802

--- Comment #20 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Harald, I had it backward, F2018 lifted the restriction previously in F2003.

Regardless, I have two patches on my worktree.

$ $FC -v
...
gcc version 17.0.0 20260610 (experimental) (GCC)

$ $FC pr49802_ext.f90      <==== your example
$ ./a.out 

It passes here.

I will post to the lists for review and approval.


More information about the Gcc-bugs mailing list