public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6026] Testsuite: Tweak gcc.dg/20021029-1.c for nios2.
@ 2021-12-16 23:21 Sandra Loosemore
  0 siblings, 0 replies; only message in thread
From: Sandra Loosemore @ 2021-12-16 23:21 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:840a22e0fee9e7369a2eb1c9e3c70dcae24a20e4

commit r12-6026-g840a22e0fee9e7369a2eb1c9e3c70dcae24a20e4
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Thu Dec 16 15:17:14 2021 -0800

    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.

Diff:
---
 gcc/testsuite/gcc.dg/20021029-1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/20021029-1.c b/gcc/testsuite/gcc.dg/20021029-1.c
index d13f66977e1..f5ddecb7c28 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 } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-16 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 23:21 [gcc r12-6026] Testsuite: Tweak gcc.dg/20021029-1.c for nios2 Sandra Loosemore

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).