This is the mail archive of the gcc@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: -funsafe-loop-optimizations


Geoffrey Keating wrote:
>  >>But how useful? I would guess that virtually 100% of such warnings would
>  >> be false positives, in the sense that they are not warning of situations
>  >> in which the standard semantics would be fine. ...
> > IMO, this kind of thing is a really slippery slope. 

On Tue, Jan 04, 2005 at 10:27:05PM -0500, Robert Dewar wrote:
> We are talking about warnings here, so I don't see any slippery slope

Except for one key criterion: if we add a warning where there are likely
to be unsuppressable false positives, that warning cannot be included in
-Wall, as it breaks the commonly used "-Wall -Werror" combination that
is used for many projects.


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