Subject: Re: pmap_rmt.c
To: Patrick Welche <prlw1@cam.ac.uk>
From: Mark Brinicombe <mark@causality.com>
List: current-users
Date: 03/22/1998 18:35:39
On Sun, 22 Mar 1998, Patrick Welche wrote:
> Is anyone else seeing
>
> src/lib/libc/rpc/pmap_rmt.c:
> In function `clnt_broadcast':
> 253: warning `stat' might be used uninitialized in this function
>
> ?
>
> % what pmap_rmt.c
> pmap_rmt.c
> pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro
> pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC
> % more pmap_rmt.c
> /* $NetBSD: pmap_rmt.c,v 1.14 1998/02/13 05:52:28 lukem Exp $
> */
>
> supped on 19th March, compiled on arm32.
At a guess I would say you compile it -O. This is a GCC bug with -O
optimisation. If you compile without optimisation or -O2 optimisation you
do not get the error.
Cheers,
Mark