This is the mail archive of the
mailing list for the GCC project.
Re: a warning to implement
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: coola at ngs dot ru
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 02 Feb 2002 11:45:08 +0100
- Subject: Re: a warning to implement
> int x = x;
>Is there any plans for implementing the feature?
indeed it looks like gcc does'nt warn. On the other hand EDG-based compilers
"uzarov.c", line 3: warning #592: variable "x" is used before its value is set
int x = x;
I have quickly browsed GNATS for warnings and it looks like there is'nt a PR
dealing with this. Why don't you submit one??