------- Comment #10 from rguenth at gcc dot gnu dot org 2009-09-20 14:44 ------- No, the C code is valid, but it's results depend on optimization level (just like if you would compare the addresses of stack locals).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41403