This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 82018: -Wextra should imply -Wconversion-extra
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Janus Weil <janus at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 17 Sep 2017 23:18:43 +0200
- Subject: Re: [Patch, Fortran] PR 82018: -Wextra should imply -Wconversion-extra
- Authentication-results: sourceware.org; auth=none
- References: <CAKwh3qim6+Twqx9tKuOh_w8o7MTEhYB0UKruKvh2=9UxwhkFkQ@mail.gmail.com>
Hi Janus,
here is a small patch that enables -Wconversion-extra with -Wextra and
updates the documentation.
I grepped for warn_conversion_extra and found 14 occurrences in the
gfortran source tree.
Are we sure we want to enable each of these warnings with -Wextra?
Regards
Thomas