[PATCH] C undefined behavior fix
Florian Weimer
fw@deneb.enyo.de
Sat Jan 5 12:51:00 GMT 2002
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.
More information about the Gcc
mailing list