[Patch] Fortran/Openmp: Use OPT_Wopenmp for gfc_match_omp_depobj warning

Jakub Jelinek jakub@redhat.com
Fri Feb 23 11:50:22 GMT 2024


On Fri, Feb 23, 2024 at 12:25:54PM +0100, Tobias Burnus wrote:
> When checking something else, I noticed that there was one warning in
> openmp.cc that did not use OPT_Wopenmp.
> 
> I intent to commit the attached patch later today as obvious.
> 
> Tobias

> Fortran/Openmp: Use OPT_Wopenmp for gfc_match_omp_depobj warning
> 
> gcc/fortran/ChangeLog:
> 
> 	* openmp.cc (gfc_match_omp_depobj): Use OPT_Wopenmp
> 	as warning category in gfc_warning.

LGTM.

	Jakub



More information about the Fortran mailing list