https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32605

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jed Brown from comment #5)
> The missed optimization even exists for code such as this, which should
> compile to a simple load on LE architectures.

That is because GCC decided to only optimize this code at -O2 and above. 
Rather than at -O1. IIRC this is because in some cases it can introduce some
bigger decrease compile time.

Reply via email to