Re: [PATCH] C undefined behavior fix

Florian Weimer (fw@deneb.enyo.de)
Sat, 05 Jan 2002 21:51:43 +0100


jkl@miacid.net writes:

> Forgive me if I haven't been reading the manual carefully enough. Now can
> we please get a straight answer to the question: Does GCC provide the
> ability to turn an arbitrary address into a pointer, and if so how do you
> do it?

If you want to do more than what is permitted according to the
documentation (quoted in the message by Joseph S. Myers you replied
to), you have to use machine code insertions in order to get
deterministic effects. At least this seems to be the consensus so
far.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/