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]

Re: [RFA] Close PR 150: division by zero


Joseph S. Myers wrote:-

> Since -Wall is just a collection of other options, putting it in -Wall
> doesn't work without also adding the -Wdiv-by-zero option.

If I remove the floating point warning and do the skip_evaluation
thing, then it seems there is no remaining valid reason for dividing
by zero, and so there is little point in turning the warning off.  Or
do you still prefer a cl option anyway?

> > Hmm, that's not covered.  Any hints on how to get that right?
> 
> At least for C, using skip_evaluation.

Thanks; I'll have a look.

Neil.


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