aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2021-12-16 15:17:14 -0800
committerSandra Loosemore <sandra@codesourcery.com>2021-12-16 15:17:14 -0800
commit840a22e0fee9e7369a2eb1c9e3c70dcae24a20e4 (patch)
tree51afa70287417ec7fa9776a6ba08f73ccdde031c
parent06041b2c67a5d4d0941c53990f0438a309703ed0 (diff)
downloadgcc-840a22e0fee9e7369a2eb1c9e3c70dcae24a20e4.zip
gcc-840a22e0fee9e7369a2eb1c9e3c70dcae24a20e4.tar.gz
gcc-840a22e0fee9e7369a2eb1c9e3c70dcae24a20e4.tar.bz2
Testsuite: Tweak gcc.dg/20021029-1.c for nios2.
This test needs to be built with -G0 on nios2 to avoid treating the array as small data. 2021-12-16 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * gcc.dg/20021029-1.c: Build with -G0 for nios2.
-rw-r--r--gcc/testsuite/gcc.dg/20021029-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20021029-1.c b/gcc/testsuite/gcc.dg/20021029-1.c
index d13f669..f5ddecb 100644
--- a/gcc/testsuite/gcc.dg/20021029-1.c
+++ b/gcc/testsuite/gcc.dg/20021029-1.c
@@ -2,6 +2,7 @@
variables into writable sections. */
/* { dg-do compile { target fpic } } */
/* { dg-options "-O2 -fpic" } */
+/* { dg-additional-options "-G0" { target nios2-*-* } } */
/* { dg-final { scan-assembler-not ".data.rel.ro.local" } } */
/* { dg-final { scan-assembler-symbol-section {^_?ar} {^\.(const|rodata)|\[RO\]} } } */
/* { dg-require-effective-target label_values } */