The gcc version is: m6811-elf-g++ (GCC) 4.0.0 20050318 (prerelease) The error messages are:
m6811-elf-g++ -Os -msoft-reg-count=32 -m68hcs12 -save-temps -c m20050318.cpp m20050318.cpp: In static member function 'static void C::foo(void*)': m20050318.cpp:23: error: insn does not satisfy its constraints: (insn 48 31 34 0 (set (reg:QI 14 *_.d1 [54]) (and:QI (reg:QI 14 *_.d1 [54]) (const_int -16 [0xfffffff0]))) 79 {*andqi3_const} (nil) (nil)) m20050318.cpp:23: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1570 -- Summary: m6811-elf-g++ ICE Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: goweol at gmail dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: m6811-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20529