testsuite: Skip DWARF 5 testcases on AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 17 Jan 2021 23:18:56 +0000 (18:18 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 17 Jan 2021 23:27:35 +0000 (18:27 -0500)
AIX does not support DWARF 5.

This patch skips the DWARF 5-specific testcases.

gcc/testsuite/ChangeLog:

* g++.dg/debug/dwarf2/inline-ns-2.C: Skip on AIX.
* g++.dg/debug/dwarf2/inline-var-2.C: Skip on AIX.
* g++.dg/debug/dwarf2/inline-var-3.C: Skip on AIX.
* g++.dg/debug/dwarf2/lang-cpp11.C: Skip on AIX.
* g++.dg/debug/dwarf2/lang-cpp14.C: Skip on AIX.
* g++.dg/debug/dwarf2/lang-cpp17.C: Skip on AIX.
* g++.dg/debug/dwarf2/lang-cpp20.C: Skip on AIX.
* gcc.dg/debug/dwarf2/inline6.c: Skip on AIX.
* gcc.dg/debug/dwarf2/lang-c11.c: Skip on AIX.
* gcc.dg/debug/dwarf2/pr41445-7.c: Skip on AIX.
* gcc.dg/debug/dwarf2/pr41445-8.c: Skip on AIX.

gcc/testsuite/g++.dg/debug/dwarf2/inline-ns-2.C
gcc/testsuite/g++.dg/debug/dwarf2/inline-var-2.C
gcc/testsuite/g++.dg/debug/dwarf2/inline-var-3.C
gcc/testsuite/g++.dg/debug/dwarf2/lang-cpp11.C
gcc/testsuite/g++.dg/debug/dwarf2/lang-cpp14.C
gcc/testsuite/g++.dg/debug/dwarf2/lang-cpp17.C
gcc/testsuite/g++.dg/debug/dwarf2/lang-cpp20.C
gcc/testsuite/gcc.dg/debug/dwarf2/inline6.c
gcc/testsuite/gcc.dg/debug/dwarf2/lang-c11.c
gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-7.c
gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-8.c

index 4d9aed7e219264eb79af984a405b4765ca0789ad..c244f8f80d2d6007d5270b1300d04834dfa573a8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "-O2 -gdwarf-5 -dA" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // { dg-final { scan-assembler-times " DW_AT_export_symbols" 2 } }
 // { dg-final { scan-assembler-not "DIE \\(\[^\n\r\]*\\) DW_TAG_imported_module" } }
 
index 63052d6bebbb63bab1433ada533d1b1cac3f0529..9858cf13f448f963923d7081279aac93760797d5 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-do compile { target c++17 } }
 // { dg-options "-O -gdwarf-5 -dA -gno-strict-dwarf" }
 // { dg-require-weak "" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // { dg-final { scan-assembler-not "DW_TAG_member" } }
 
 inline int a;
index 72252588b0d953c3b831014754b0f44744dabcdd..6345b5e2ec8462056851ee15325ab88095fe6200 100644 (file)
@@ -2,6 +2,7 @@
 // { dg-do compile { target c++17 } }
 // { dg-options "-O -gdwarf-5 -dA -gno-strict-dwarf -fno-eliminate-unused-debug-symbols" }
 // { dg-require-weak "" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // { dg-final { scan-assembler-times " DW_AT_inline \\(0x3\\)" 2 } }
 // { dg-final { scan-assembler-times "0x3\[^\n\r]* DW_AT_inline" 4 } }
 // { dg-final { scan-assembler-times "0x1\[^\n\r]* DW_AT_inline" 2 } }
index 6bdc175eb31c9776177875f500ca718e28123faf..4066c2bf5f88f6fdfdca61412d8abc0aa55aa406 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O -std=c++11 -gdwarf-5 -dA" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // DW_LANG_C_plus_plus_11 = 0x001a
 // { dg-final { scan-assembler "0x1a\[^\n\r]* DW_AT_language" } } */
 
index 4fbc0756715125b498c9ab78fde9fac60d13b68d..bb587bec7369fae5ba72554259cc3ec306cbe23b 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O -std=c++14 -gdwarf-5 -dA" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // DW_LANG_C_plus_plus_14 = 0x0021
 // { dg-final { scan-assembler "0x21\[^\n\r]* DW_AT_language" } } */
 
index 460294ca27d4520ce98637f75c75a36e2c3bca9e..a1e3cccea263e00171c336f1e4834d40c0c85a00 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O -std=c++17 -gdwarf-5 -dA" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // For -gdwarf-6 hopefully DW_LANG_C_plus_plus_17
 // DW_LANG_C_plus_plus_14 = 0x0021
 // { dg-final { scan-assembler "0x21\[^\n\r]* DW_AT_language" } } */
index abd7351e4de2bf3bebb62e0bbf7042a756735d43..62abd61815591624b0c5caac962f17949ef735dc 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O -std=c++20 -gdwarf-5 -dA" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // For -gdwarf-6 hopefully DW_LANG_C_plus_plus_20
 // DW_LANG_C_plus_plus_14 = 0x0021
 // { dg-final { scan-assembler "0x21\[^\n\r]* DW_AT_language" } } */
index 03013f11bca80327664063493d5fe4cd25af5f8a..4e6f7a7e8ba26ada8fc9766b7eb4c0528e1ad53c 100644 (file)
@@ -15,8 +15,9 @@
 */
 
 /* Explicitly use dwarf-5 which uses DW_FORM_implicit_const.  */
-/* { dg-options "-O -g3 -gdwarf-5 -dA -fgnu89-inline" } */
 /* { dg-do compile } */
+/* { dg-options "-O -g3 -gdwarf-5 -dA -fgnu89-inline" } */
+/* { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } } */
 
 /* There are 6 inlined subroutines:
    - One for each subroutine inlined into main, that's 3.
index f14c49fd3d336fa7ca01df19e3b9a9cddf10c927..6b0d45b9885383b80429fa5fe126d227019258b0 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O -std=c11 -gdwarf-5 -dA" }
+// { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } }
 // DW_LANG_C11 = 0x001d
 // { dg-final { scan-assembler "0x1d.*DW_AT_language" } } */
 
index 0e0de822d806810684ab3cdd42822b24168f8f8b..d1e8f46e840566ef52760c59084fb2346f8fc5d3 100644 (file)
@@ -3,6 +3,7 @@
    gets correct locus even when preprocessing separately.  */
 /* { dg-do compile } */
 /* { dg-options "-save-temps -gdwarf-5 -O0 -dA -fno-merge-debug-strings" } */
+/* { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } } */
 
 #define A(x) vari x
 #define vari(x)
index 3a6eeb530968ee0e0e7c7ca34551ee2b2d61827d..7667f7a2c12d67809e9658c4f6ad48e1b3362470 100644 (file)
@@ -1,6 +1,7 @@
 /* PR preprocessor/41445 DWARF5 variant*/
 /* { dg-do compile } */
 /* { dg-options "-gdwarf-5 -O0 -dA -fno-merge-debug-strings" } */
+/* { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } } */
 
 #include "pr41445-5.c"