From: David Edelsohn Date: Mon, 3 Jun 2019 14:10:47 +0000 (+0000) Subject: enum-1.c: Add -fno-eliminate-unused-debug-symbols on AIX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dff0e6f3cdfdc05736240f640b32dfc0ee86b104;p=gcc.git enum-1.c: Add -fno-eliminate-unused-debug-symbols on AIX. * gcc.dg/debug/enum-1.c: Add -fno-eliminate-unused-debug-symbols on AIX. * g++.dg/debug/enum-1.C: Same. From-SVN: r271873 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f0faea0daa1..bc4010e9ed0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-06-03 David Edelsohn + + * gcc.dg/debug/enum-1.c: Add -fno-eliminate-unused-debug-symbols + on AIX. + * g++.dg/debug/enum-1.C: Same. + 2019-06-03 Wilco Dijkstra PR middle-end/64242 diff --git a/gcc/testsuite/g++.dg/debug/enum-1.C b/gcc/testsuite/g++.dg/debug/enum-1.C index 7681e9b5215..32124c15355 100644 --- a/gcc/testsuite/g++.dg/debug/enum-1.C +++ b/gcc/testsuite/g++.dg/debug/enum-1.C @@ -1,5 +1,6 @@ /* Verify that used enums are output. */ /* { dg-do compile } */ +/* { dg-additional-options "-fno-eliminate-unused-debug-symbols" { target powerpc-ibm-aix* } } */ /* { dg-final { scan-assembler "JTI_MAX" } } */ int var; diff --git a/gcc/testsuite/gcc.dg/debug/enum-1.c b/gcc/testsuite/gcc.dg/debug/enum-1.c index 7681e9b5215..32124c15355 100644 --- a/gcc/testsuite/gcc.dg/debug/enum-1.c +++ b/gcc/testsuite/gcc.dg/debug/enum-1.c @@ -1,5 +1,6 @@ /* Verify that used enums are output. */ /* { dg-do compile } */ +/* { dg-additional-options "-fno-eliminate-unused-debug-symbols" { target powerpc-ibm-aix* } } */ /* { dg-final { scan-assembler "JTI_MAX" } } */ int var;