[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing warnings in FIXNUM_OVERFLOW_P

From: Stefan Monnier
Subject: Re: Preventing warnings in FIXNUM_OVERFLOW_P
Date: Fri, 19 Jan 2007 14:19:50 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

> By contrast, my workaround doesn't obfuscate the code, and the
> extra assignment should be optimized out of existence under -O2.

Indeed.  That's why it's the least bad.  It makes the code slightly
heavier, but at least it's crystal clear that it doesn't change
the semantics.

> I say let's leave my workaround alone until the GCC developers move
> this warning into -Wextra.  When that version of GCC becomes
> widespread, we can remove the workaround.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]