> What's the reason to not expose the byte swapping operations earlier, like > on GIMPLE? (or even on GENERIC?)
That would be too heavy, every load and store in GENERIC/GIMPLE would have an associated byte swapping operation, although you don't know if they will be needed in the end. For example, if the structure is scalarized, they are not. > What frontends are affected? The branch contains a working implementation for the C and Ada front-ends, and the beginning of an implementation for the C++ front-end. -- Eric Botcazou