edler@JAN.ULTRA.NYU.EDU (Jan Edler) (12/16/89)
If I compile the following fragment with -Wshadow, I get bogus complaints
about shadowing. The compiler is 1.90.01 for the IBM RT PC.
Jan Edler
edler@nyu.edu
(212) 998-3353
---------
static inline int faa(int *a, int i)
{
int r = *a;
*a += i;
return r;
}
int
tdr(int *a, int i)
{
if (*a < i)
return 0;
if (faa(a,-i) < i) {
faa(a,i);
return 0;
}
return 1;
}