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

            Bug ID: 124567
           Summary: overriding method not resolved correctly
           Product: gcc
           Version: 15.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sfilippone at uniroma2 dot it
  Target Milestone: ---

Created attachment 63966
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63966&action=edit
test case

Code fails to comply  
(see discussion in
https://gcc.gnu.org/pipermail/fortran/2026-March/063687.htmlhttps://gcc.gnu.org/pipermail/fortran/2026-March/063687.html
)
I tested with multiple versions (14.2, 15.2, 16.0)
The code compiles fine with flang.

Reply via email to