--- Comment #4 from gdr at gcc dot gnu dot org 2005-11-26 07:44 ---
(In reply to comment #2)
> Hmm, sort of. The call of g(i) also warns with "is used", although I
> think it might deserve only a "may be used". But anyway I think that
> this nevertheless has different causes. It's n
--- Additional Comments From schwab at suse dot de 2005-06-27 13:57 ---
In the case of g(i) you have an initialisation of the parameter variable which
already constitutes a use of the value.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22197
--- Additional Comments From matz at suse dot de 2005-06-27 13:50 ---
Hmm, sort of. The call of g(i) also warns with "is used", although I
think it might deserve only a "may be used". But anyway I think that
this nevertheless has different causes. It's not the call creating
the prob
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27
13:31 ---
but isn't that the same as (except it is an aggregate in the case in comment
#1):
void g(int);
void f(void)
{
int i;
g(i);
}
because g might not look at the agrument value?
--
What|Remo