[PATCH] Fix typo in libiberty/configure.in

Andreas Schwab schwab@suse.de
Wed May 22 13:58:00 GMT 2002


DJ Delorie <dj@redhat.com> writes:

|> > The types "int (*)[]" and "int *" are not compatible,
|> 
|> Except that the address of an array points to an int, not to another
|> pointer, so "v" and "&v" are semantically identical.  They seem
|> technically compatible to me.

No, they aren't.  Think about "&v + 1" vs. "v + 1" (the former is only
valid once the type is completed, of course).

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list