This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada files now checked in
On Sat, 06 Oct 2001, Joseph S. Myers wrote:
> On Sat, 6 Oct 2001, Diego Novillo wrote:
>
> > Yes, this is already implemented in the ast-optimizer-branch.
> > The compiler computes reaching definitions for local variables
> > and emits a warning for every variable that might be used
> > uninitialized (tree-ssa.c:analyze_rdefs).
>
> Does this fix some or all of the XFAILing gcc.dg/uninit-*.c testcases?
>
Dunno. I didn't know these existed. Thanks for pointing it out.
Right now I'm shaking off false positives by bootstrapping with
-Wuninitialized. Once I'm confident it's more or less stable, I
will add the flag to the regression tests.
First I need to disable the original warning, otherwise we won't
know which of the two are emitting the warning.
Diego.