This is the mail archive of the
mailing list for the GCC project.
Re: [patch] Partial fix for PR 18048
> >> and you risk having overflow bits set on the constants, which will
> >> also inhibit optimization.
> > Evaluation of BIT_NOT_EXPR should not set any overflow bits (if it does,
> > it should be fixed).
> Wouldn't you rather not have to deal with the problem at all?
no. If the code as it is sets overflow flags, it is clearly buggy and
has to be fixed anyway.