Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: gcc/gcc/testsuite/gcc.target/i386/20011009-1.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.target/frv/frv.exp ('k') | gcc/gcc/testsuite/gcc.target/i386/20020218-1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.target/i386/20011009-1.c
diff --git a/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c b/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c
index 99173a10931f5fc8792950de09d5b611717ad1e2..e79a475a1e3714f88fc34fc4c3c60d6a86133cb2 100644
--- a/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c
+++ b/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c
@@ -4,11 +4,17 @@
extern void abort (void);
extern void exit (int);
+#ifdef __sun__
+#define COMMENT "/"
+#else
+#define COMMENT "#"
+#endif
+
int main ()
{
int x;
- asm ("movl $26, %0 # 26 |-> reg \n\t"
+ asm ("movl $26, %0 " COMMENT " 26 |-> reg \n\t"
"movl $28, %0" : "=r" (x));
if (x != 28)
abort ();
« no previous file with comments | « gcc/gcc/testsuite/gcc.target/frv/frv.exp ('k') | gcc/gcc/testsuite/gcc.target/i386/20020218-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698