David, for s390 we would also be interested in a solution like that. s390 is big endian and endianess conflicts often come in the way when porting an application from 'other' platforms. Linus Torvalds already in 2001 made a quite similiar suggestions using a type attribute:
http://gcc.gnu.org/ml/gcc/2001-12/msg00932.html It probably also would make sense to distingiush between byte and bit endianess. Bye, -Andreas-