This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] PR/24900: computed but not used cast values
On Thu, Nov 17, 2005 at 03:00:42PM -0800, Joe Buck wrote:
> As in the example, these cases will usually arise in macros, where under
> some circumstances some computation will be wasted.
Which is no different from f()+1, for which no one is arguing
that the warning we give is incorrect. If you've got such
cases, you simply should be asking for this warning, IMO.
r~