summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020312-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/20020312-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/20020312-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c
index 60d7a7521cd..5ca35c8be47 100644
--- a/gcc/testsuite/gcc.dg/20020312-2.c
+++ b/gcc/testsuite/gcc.dg/20020312-2.c
@@ -98,7 +98,7 @@
# error "Modify the test for your target."
#endif
-#ifdef PIC_REG
+#if defined PIC_REG && !defined __PIC__ && !defined __pic__
register void *reg __asm__(PIC_REG);
#else
/* We really need a global register variable set to the PIC register