This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for various warnings in gcc
On Thu, Aug 08, 2002 at 08:33:25PM +0200, Gabriel Dos Reis wrote:
>
> I agree in principle. While your __attribute__(()) proposal is
> certainly a far better alternative of what has been proposed, I think that
> the compiler should be instructred about value/condition propogation
> and not warn in cases the variable is "manifestly" initialized -- but
> GCC is insisting on warning just because it didn't do a good job at
> propagating conditions.
I do agree that we should improve the checking, but that's not going
to be done anytime soon, whereas a new attribute is relatively easy to
add.
zw