When my file is compiled by: m6811-elf-gcc -m68hc12 -mshort -Wall -Os -c eeprom.i It places the ASM: ============== ldx #_io_ports+243 ; Begin inline assembler code #APP bset 0,z,#22 ; End of inline assembler code #NO_APP ============== Because of the 'z' which should have been 'x', my code will not even compile. I beleive it is not generating the error without optimizations (when I removed -Os). Release: gcc version 2.95.3 20010315 (release)+m68hc1x-20010922 Environment: Red Hat Linux 6.2 How-To-Repeat: try compiling with: m6811-elf-gcc -m68hc12 -mshort -Wall -Os -c eeprom.i
Responsible-Changed-From-To: unassigned->ciceron Responsible-Changed-Why: Concerns HC11 port
State-Changed-From-To: open->closed State-Changed-Why: Fixed with http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01241.html (committed on mainline, ie 3.2)