http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47670
Peter de Rivaz <argondsgn at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #4 from Peter de Rivaz <argondsgn at gmail dot com> 2011-02-09
21:54:15 UTC ---
Thanks! (And sorry for the invalid report).
C99 specification 6.5 para 5 agrees that this is undefined behaviour.
Both suggestions solve the problem.
I've closed the bug now.
