a GCC question

Takashi Oe toe at unlserve.unl.edu
Sun Aug 6 14:05:14 EST 2000


On Sat, 5 Aug 2000, David Edelsohn wrote:

> 	I do not know SVR4 that well to know what else might end up in
> rodata other than symbols.  Switch jump tables are the only thing that
> comes to mind.

Good!  That's one less thing to worry about.

> 	Even if the default is to do nothing, one always should provide a
> default action or just break so that the density / coverage of the switch
> statement cases is apparent.

I don't know what the density is, but, if having a default action for
nothing is always prefered, I'll fix it (or rather I'll ask Ben to fix
it.)  Is it in gcc documentation or C standard somewhere?


Thanks,

Takashi Oe


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list