[Bug fortran/105594] -Wuse-without-only issued for any submodule
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 11:02:21 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105594
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:0cfe86380b58b21f014b57d3964b904ba93008df
commit r17-1256-g0cfe86380b58b21f014b57d3964b904ba93008df
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Wed Jun 3 12:02:03 2026 +0100
Fortran: Wuse-without-only bogus warning for submodules [PR105594]
2026-06-03 Steven G. Kargl <kargl@gcc.gnu.org>
gcc/fortran
PR fortran/105594
* module.cc (gfc_use_module): Suppress bogus warning for a missing
ONLY clause on a submodule.
gcc/testsuite/
PR fortran/105594
* gfortran.dg/pr105594.f90: New test.
More information about the Gcc-bugs
mailing list