http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32629
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> 2012-06-09 22:17:07 UTC --- > I suppose doing the $0x0 optimization should be done post-reload. I was wondering how to implement this nice for some years already.... I don't see how this can be done without specialized pass, really, and the interface is probably going to be bit weird, since it is very weird property of x86 instruction set that there are no stores with short immediate... Honza