This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran, patch] reduce noise of -Wconversion


On Saturday 08 May 2010 21:06:56 Tobias Burnus wrote:
> >> I am wondering whether we need some -Wconversion-extra option.
> >> 
> >> I think regarding disabling, I like the new middle-end feature, which
> >> prints the warning flag in squared brackets after the warning message
> > 
> > While correct, I fail to see the relationship to the patch?!
> 
> Well, one directly sees which warning comes from -Wconversion-extra and
> which one from -Wconversion-extra, making it easier to disable only one
> kind of conversion warnings without the other and without studying
> in-depth the manual to find out that one can disable part of the warning.


Hmm, yes. Now it makes sense :)

Then I'd suggest to fully review the patch and apply it if acceptable.
Afterwards, open an enhancement PR to implement -Wconversion-all (?).

Combining the two gets messy quickly.

Cheers

	Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]