This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization/clarity coding : what is gcc able to do for me ?
>>>>> "Joe" == Joe Buck <Joe.Buck@synopsys.COM> writes:
Joe> .... Pointer accesses are atomic on every machine
Joe> that I know of, though I am not certain that the language
Joe> standard guarantees this.
They wouldn't be atomic on MIPS if the pointer (the thing itself, not
what it points to) is misaligned, because then it takes two
instructions to fetch or store it.
paul