enum-1.c: Add -fno-eliminate-unused-debug-symbols on AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 3 Jun 2019 14:10:47 +0000 (14:10 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 3 Jun 2019 14:10:47 +0000 (10:10 -0400)
        * gcc.dg/debug/enum-1.c: Add -fno-eliminate-unused-debug-symbols
        on AIX.
        * g++.dg/debug/enum-1.C: Same.

From-SVN: r271873

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/enum-1.C
gcc/testsuite/gcc.dg/debug/enum-1.c

index f0faea0daa1244ef4f79c15a4ed06742064fa471..bc4010e9ed06c32b905a7239ef178fa77acdafa5 100644 (file)
@@ -1,3 +1,9 @@
+2019-06-03  David Edelsohn  <dje.gcc@gmail.com>
+
+       * 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  <wdijkstr@arm.com>
 
        PR middle-end/64242
index 7681e9b521511df233d8dded9811a2289e0d827c..32124c1535543382c8efbeae416ea03e2fb183b2 100644 (file)
@@ -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;
index 7681e9b521511df233d8dded9811a2289e0d827c..32124c1535543382c8efbeae416ea03e2fb183b2 100644 (file)
@@ -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;