Re: [Bug tree-optimization/43197] New: Endianness and Optimization

2010-02-27 Thread Andrew Pinski
Sent from my iPhone On Feb 27, 2010, at 2:56 AM, "kai dot extern at googlemail dot com" > wrote: The attached code (which tries to generically load given-endianness values of varying width from memory) shows some interesting optimization quirks. It's especially pussling why optimization q

[Bug tree-optimization/43197] New: Endianness and Optimization

2010-02-27 Thread kai dot extern at googlemail dot com
The attached code (which tries to generically load given-endianness values of varying width from memory) shows some interesting optimization quirks. It's especially pussling why optimization quality varies so greatly with width, and is actually worst for the native word width. For example: $ gcc