[Bug fortran/119101] Function compiled with Gflortran appears to produce a pointer that points at itself.

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 3 20:05:36 GMT 2025


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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |13.3.0, 14.2.0
           Keywords|                            |wrong-code
      Known to work|                            |11.5.0, 12.4.1, 13.3.1,
                   |                            |14.2.1, 15.0
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2025-03-03
     Ever confirmed|0                           |1

--- Comment #1 from anlauf at gcc dot gnu.org ---
I can confirm this with the release versions 13.3.0, 14.2.0, which print:

 DIRICHLET
 DEFAULT
 DEFAULT
 DEFAULT

but at r12-10972, r13-9407, r14-11370, and 15-trunk I get:

 DIRICHLET
 DEFAULT
 DIRICHLET
 DEFAULT

So it apparently has been fixed on these branches in the meantime.

Are you able to update and verify that it is fixed for you, too?


More information about the Gcc-bugs mailing list