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

Unified Diff: gcc/gcc/testsuite/gcc.dg/pr32370.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.dg/pr32176.c ('k') | gcc/gcc/testsuite/gcc.dg/pr33826.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/pr32370.c
diff --git a/gcc/gcc/testsuite/gcc.dg/pr32370.c b/gcc/gcc/testsuite/gcc.dg/pr32370.c
index 80a7c545d47a93ae2c1722710be0dfef04b0cac0..f039bdf98e7ac559a2459157ae7de3e36f193a11 100644
--- a/gcc/gcc/testsuite/gcc.dg/pr32370.c
+++ b/gcc/gcc/testsuite/gcc.dg/pr32370.c
@@ -2,15 +2,19 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
/* { dg-options "" { target ia64-*-* } } */
/* { dg-options "-ffixed-esi" { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-mabi=sysv -ffixed-esi" { target x86_64-*-mingw* } } */
-#if defined __i386__ || defined __x86_64__
+#if (defined __i386__ || defined __x86_64__) && ! defined _WIN64
# define C "=S"
# define TYPE unsigned long
-#elif defined __ia64__
+#elif defined __ia64__ || defined _WIN64
# define C "=a"
# define TYPE unsigned long long
#endif
+#ifdef _WIN64
+__extension__
+#endif
unsigned int
foo (TYPE port)
{
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/pr32176.c ('k') | gcc/gcc/testsuite/gcc.dg/pr33826.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698