Andrew Haley <aph-gcc@xxxxxxxxxxxxxxxxxxx> writes: > > There is nothing in gcc which will force it to use 32-bit memory > > accesses if you don't explicitly write 32-bit memory accesses. > > You could hack the md file to add a new predicate to 8-bit memory > accesses. Wouldn't that cause gcc to generate the necessary 32-bit > shifts and masks? It would be easy to disable all 8-bit memory accesses. Hacking the MD file to test for a specific attribute on pointers wouldn't work reliably. An 8-bit variable would get promoted into a register, reload would eventually try to spill that register back to its memory location, and at that point it would crash. Ian