------- Comment #5 from pinskia at gcc dot gnu dot org 2007-03-17 17:47 ------- Well linker scripts are already non portable and not mentioned in the standard and you are violating the C/C++ standards if the address of a variable is NULL (0) :).
Also -O2 with -DUSETEMP gives the same results as without it so it is not inconsistent, even the code is equalivant, the code is not the same when it comes to without optimization :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31236