Serious code generation/optimisation bug (I think)

Vincent Lefevre vincent+gcc@vinc17.org
Thu Jan 29 11:30:00 GMT 2009


On 2009-01-29 08:53:10 +0000, Andrew Haley wrote:
> We're talking about gcc on ARM.  gcc on ARM uses 0 for the null pointer
> constant, therefore a linker cannot place an object at address zero.
> All the rest is irrelevant.

How about using volatile, as suggested by Robert Dewar (if the gcc
documentation implies that this will work)?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the Gcc mailing list