[moxie,testsuite] Fix gcc.dg/tree-ssa/asm-2.c for moxe

Message ID CACxje58-0YHzgo_DDXebTAT1vnGCxayu+rsQGXiRL9xvoD2xxA@mail.gmail.com
State New
Headers show

Commit Message

Anthony Green Jan. 19, 2013, 1:45 p.m.
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  <green@moxielogic.com>

        * gcc.dg/tree-ssa/asm-2.c (REGISTER): Pick an appropriate
        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"
+#ifdef __moxie__
+#define REGISTER "2"
 #define REGISTER "0"

 void baz(void)