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: update Wextra doc


On 19/02/07, Gerald Pfeifer <gerald@pfeifer.com> wrote:
On Sat, 10 Feb 2007, Manuel López-Ibáñez wrote:
> The manual page claims that Wextra warns for any of several
> floating-point events that often indicate errors, such as overflow,
> underflow, loss of precision, etc. I wasn't able to find any instance
> of this. I am fairly sure that Wextra doesn't do such thing.
>
> This patch is in accordance with the discussion about fixing PR7651.
> See http://gcc.gnu.org/ml/gcc/2007-01/msg00391.html

This is one of those patches that can easily fall through the cracks
because hardly anyone is responsible on the reviewing side and it is
usually harder to prove non-existence of something. :-)


In this case, it is not so hard. You only have to grep for extra_warnings or OPT_Wextra. No warning enabled by -Wextra fits that paragraph. Q.E.D.

> OK for mainline?
> Should this change also go into 4.2 ?
>
> 2007-02-10  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
>
>  * doc/invoke.texi (Wextra): Delete outdated paragraph.

So, I'll chime in and approve this if there are no objections by the
end of this week.  In that case, yes, please also apply this to the
4.2 branch.


Thanks,

Manuel.


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