* [patch, moxie, testsuite] Fix gcc.dg/tree-ssa/asm-2.c for moxe
@ 2013-01-19 13:45 Anthony Green
0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2013-01-19 13:45 UTC (permalink / raw)
To: gcc-patches
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
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-19 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-19 13:45 [patch, moxie, testsuite] Fix gcc.dg/tree-ssa/asm-2.c for moxe Anthony Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).