This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warning regression with COMPARE fixes
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Warning regression with COMPARE fixes
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Mon, 19 Mar 2001 19:40:38 -0500 (EST)
- cc: gcc at gcc dot gnu dot org
On Mon, 19 Mar 2001, Mark Mitchell wrote:
> My inclination would be to redo this warning at the tree level, in a
> simpler, more predictable way -- but not before 3.0. I would specify
> the conditions under which the warning should appear in terms of the
> user's source code -- not GCC's internal representation -- and then
> implement that. Probably, that means moving the warning to the tree
> level.
FWIW, Java generates an error upon unitialized variables and must be
precise in its detection. In java/check-init.c this is already
handled on a tree level, some of which might be reuseable for C.
Jeff