I'm going to commit this obvious fix for the moxie port. Registers 0 and 1 are the frame and stack pointers so the assembler complains about their usage.
2013-01-19 Anthony Green <gr...@moxielogic.com> * gcc.dg/tree-ssa/asm-2.c (REGISTER): Pick an appropriate register for moxie. Index: gcc/testsuite/gcc.dg/tree-ssa/asm-2.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/asm-2.c (revision 195310) +++ gcc/testsuite/gcc.dg/tree-ssa/asm-2.c (working copy) @@ -4,8 +4,12 @@ #ifdef __hppa__ #define REGISTER "1" #else +#ifdef __moxie__ +#define REGISTER "2" +#else #define REGISTER "0" #endif +#endif void baz(void) {