Re: [PATCH] C undefined behavior fix

From: Lars Brinkhoff (
Date: Sat Jan 05 2002 - 19:20:05 EST

Paul Mackerras <> writes:
> Wow, I didn't know that there was an extended PDP-10 architecture.
> It's 25 years since I did anything on a PDP-10. :)

Ok, the extended KL10 wasn't released until around 1978.

> Would you use 9-bit bytes or 8-bit bytes?

The char type is 9 bits by default. There is also support for an
8-bit char type. With four 8-bit chars in a word, the four least
signifiant bits are unused.

> If you use 9-bit bytes, I'm sure that somewhere in the kernel there
> will be some code that will break because it is assuming 8-bit
> bytes.

> Somehow I'm getting the feeling that your next message is going to
> say "actually, we have been running linux on the KL10 for the past 3
> years". :)

No, I'm not that sinister. If there was a Linux port, I would have
told you already. Anyway, we need to finish the GCC port first.

Lars Brinkhoff     Linux, GCC, PDP-10
Brinkhoff Consulting    programming
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:29 EST