Mini-patch for cccp.c

Kamil Iskra kiskra@ernie.icslab.agh.edu.pl
Wed Oct 8 02:55:00 GMT 1997


On 7 Oct 1997, Andreas Schwab wrote:

> |> 	Having to remember to init structure members when new ones are
> |> added is prone to error.  Isn't it better to do bzero(&foo, sizeof(foo))
> |> and then set any non zero members?
> Pedantically this won't work for pointers in the structure, ie. they still
> have to be initialized explicitly.

Do you mean machines where the machine representation of NULL-addresses
has some bits set? I wonder if GCC supports such machines at all?

Just curious...

/ Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 1.6 GB, 18 MB RAM \
| iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
| http://student.uci.agh.edu.pl/~iskra                         |
\ PGP public key available via Finger or WWW                   /




More information about the Gcc mailing list