[Bug fortran/120371] [15.1 regression] erroneously triggered error message on non-matching interfaces with flag -Wall

2025-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120371

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |15.2
 Status|WAITING |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Richard Biener  ---
Duplicate.

*** This bug has been marked as a duplicate of bug 119928 ***

[Bug fortran/120371] [15.1 regression] erroneously triggered error message on non-matching interfaces with flag -Wall

2025-05-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120371

--- Comment #2 from Jürgen Reuter  ---
(In reply to anlauf from comment #1)
> Jürgen,
> 
> this is likely a duplicate of pr119928/pr120163 and has been fixed after
> the 15.1 release.
> 
> Either upgrade to 15-HEAD, or use -Wno-external-argument-mismatch
> to suppress this check.
> 
> Can you please check?

Harald,
I can confirm both points that (1) -Wno-external-argument-mismatch let the
compilation pass, and that the bug fix by Thomas Koenig in
https://gcc.gnu.org/cgit/gcc/commit/?id=7b38bab21a126512c17c8084ad78b6bf75fc1437
solves also my issue. I would concur to mark this one as duplicate.

[Bug fortran/120371] [15.1 regression] erroneously triggered error message on non-matching interfaces with flag -Wall

2025-05-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120371

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2025-05-20
 Ever confirmed|0   |1

--- Comment #1 from anlauf at gcc dot gnu.org ---
Jürgen,

this is likely a duplicate of pr119928/pr120163 and has been fixed after
the 15.1 release.

Either upgrade to 15-HEAD, or use -Wno-external-argument-mismatch
to suppress this check.

Can you please check?