diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2013-08-14 20:19:12 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2013-08-14 21:19:12 +0100 |
commit | a7991d53a7672c78f554e31232dcdc0ef8b0e903 (patch) | |
tree | b66b79cb916a2cb7fd1ea811ee83ef777668170f | |
parent | c16a952b7f472b4d1339d4205d819951b1e42acf (diff) | |
download | gcc-a7991d53a7672c78f554e31232dcdc0ef8b0e903.zip gcc-a7991d53a7672c78f554e31232dcdc0ef8b0e903.tar.gz gcc-a7991d53a7672c78f554e31232dcdc0ef8b0e903.tar.bz2 |
global-used-types.c: Request dwarf output.
* gcc.dg/debug/dwarf2/global-used-types.c: Request dwarf output.
* gcc.dg/debug/dwarf2/inline2.c: Likewise.
* gcc.dg/debug/dwarf2/inline3.c: Likewise.
* gcc.dg/debug/dwarf2/pr37726.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-1.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-4.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-5.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-6.c: Likewise.
* gcc.dg/debug/dwarf2/pr41543.c: Likewise.
* gcc.dg/debug/dwarf2/pr41695.c: Likewise.
* gcc.dg/debug/dwarf2/pr43237.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-1.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.
* gcc.dg/debug/dwarf2/pr53948.c: Likewise.
* gcc.dg/debug/dwarf2/struct-loc1.c: Likewise.
From-SVN: r201747
20 files changed, 39 insertions, 19 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4e5b8ca..c6f97fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -79,6 +79,26 @@ * gcc.dg/tree-ssa/pr42585.c: Add avr-*-* to list of targets to exclude from scan test. + * gcc.dg/debug/dwarf2/global-used-types.c: Request dwarf output. + * gcc.dg/debug/dwarf2/inline2.c: Likewise. + * gcc.dg/debug/dwarf2/inline3.c: Likewise. + * gcc.dg/debug/dwarf2/pr37726.c: Likewise. + * gcc.dg/debug/dwarf2/pr41445-1.c: Likewise. + * gcc.dg/debug/dwarf2/pr41445-2.c: Likewise. + * gcc.dg/debug/dwarf2/pr41445-3.c: Likewise. + * gcc.dg/debug/dwarf2/pr41445-4.c: Likewise. + * gcc.dg/debug/dwarf2/pr41445-5.c: Likewise. + * gcc.dg/debug/dwarf2/pr41445-6.c: Likewise. + * gcc.dg/debug/dwarf2/pr41543.c: Likewise. + * gcc.dg/debug/dwarf2/pr41695.c: Likewise. + * gcc.dg/debug/dwarf2/pr43237.c: Likewise. + * gcc.dg/debug/dwarf2/pr47939-1.c: Likewise. + * gcc.dg/debug/dwarf2/pr47939-2.c: Likewise. + * gcc.dg/debug/dwarf2/pr47939-3.c: Likewise. + * gcc.dg/debug/dwarf2/pr47939-4.c: Likewise. + * gcc.dg/debug/dwarf2/pr53948.c: Likewise. + * gcc.dg/debug/dwarf2/struct-loc1.c: Likewise. + 2013-08-14 Janis Johnson <janisjo@codesourcery.com> * gcc.target/arm/pr19599.c: Skip for -mthumb. diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c b/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c index 54fa58a..431b429 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/global-used-types.c @@ -1,6 +1,6 @@ /* Contributed by Dodji Seketeli <dodji@redhat.com> - { dg-options "-g -dA -fno-merge-debug-strings" } + { dg-options "-gdwarf -dA -fno-merge-debug-strings" } { dg-do compile } { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumeration_type" 1 } } { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumerator" 2 } } diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c index 20edb58..b194769 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c @@ -14,7 +14,7 @@ properly nested DW_TAG_inlined_subroutine DIEs for third, second and first. */ -/* { dg-options "-O -g3 -dA" } */ +/* { dg-options "-O -g3 -gdwarf -dA" } */ /* { dg-do compile } */ /* There are 6 inlined subroutines: diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/inline3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/inline3.c index d2d3e0f..baa2f66 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/inline3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/inline3.c @@ -1,7 +1,7 @@ /* Verify that only one DW_AT_const_value is emitted for baz, not for baz abstract DIE and again inside of DW_TAG_inlined_subroutine. */ -/* { dg-options "-O2 -g -dA -fmerge-all-constants" } */ +/* { dg-options "-O2 -gdwarf -dA -fmerge-all-constants" } */ /* { dg-do compile } */ /* { dg-final { scan-assembler-times " DW_AT_const_value" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr37726.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr37726.c index 60fb839..622fbcf 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr37726.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr37726.c @@ -1,6 +1,6 @@ /* PR debug/37726 */ /* { dg-do compile } */ -/* { dg-options "-g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O0 -dA -fno-merge-debug-strings" } */ int foo (int parm) { diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-1.c index 452c0f6..4e856ec 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-1.c @@ -2,7 +2,7 @@ /* Test that token after multi-line function-like macro use gets correct locus even when preprocessing separately. */ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-save-temps -gdwarf -O0 -dA -fno-merge-debug-strings" } */ #define A(a,b) int varh;A(1, diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-2.c index d2ee408..e416b0f 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-2.c @@ -1,6 +1,6 @@ /* PR preprocessor/41445 */ /* { dg-do compile } */ -/* { dg-options "-g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O0 -dA -fno-merge-debug-strings" } */ #include "pr41445-1.c" diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-3.c index 2a74dc5..46f57e6 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-3.c @@ -2,7 +2,7 @@ /* Test that token after multi-line function-like macro use gets correct locus even when preprocessing separately. */ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-save-temps -gdwarf -O0 -dA -fno-merge-debug-strings" } */ #define A(a,b) int varh;/* diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-4.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-4.c index 8aa92de..409f79f 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-4.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-4.c @@ -1,6 +1,6 @@ /* PR preprocessor/41445 */ /* { dg-do compile } */ -/* { dg-options "-g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O0 -dA -fno-merge-debug-strings" } */ #include "pr41445-3.c" diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-5.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-5.c index d21acd5..de5a1cc 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-5.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-5.c @@ -2,7 +2,7 @@ /* Test that token after multi-line function-like macro use gets correct locus even when preprocessing separately. */ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-save-temps -gdwarf -O0 -dA -fno-merge-debug-strings" } */ #define A(x) vari x #define vari(x) diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-6.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-6.c index d6d79cc..340cb38 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-6.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-6.c @@ -1,6 +1,6 @@ /* PR preprocessor/41445 */ /* { dg-do compile } */ -/* { dg-options "-g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O0 -dA -fno-merge-debug-strings" } */ #include "pr41445-5.c" diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c index 0268396..872ed7d 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c @@ -1,6 +1,6 @@ /* PR preprocessor/41543 */ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-save-temps -gdwarf -O0 -dA -fno-merge-debug-strings" } */ #include <stdarg.h> diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41695.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41695.c index d61b5a2..90ae5cd 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr41695.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr41695.c @@ -1,6 +1,6 @@ /* PR debug/41695 */ /* { dg-do compile } */ -/* { dg-options "-g -O2 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O2 -dA -fno-merge-debug-strings" } */ int bar (int); diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c index 21262c3..8db2543 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c @@ -1,6 +1,6 @@ /* PR debug/43237 */ /* { dg-do compile } */ -/* { dg-options "-g -O2 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O2 -dA -fno-merge-debug-strings" } */ struct S { diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c index 2e4c3cd..a859ac9 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -dA" } */ +/* { dg-options "-save-temps -gdwarf -dA" } */ typedef struct _Harry { int dummy; } Harry_t; Harry_t harry; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c index 13856d7..dfbfa2f 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -dA" } */ +/* { dg-options "-save-temps -gdwarf -dA" } */ typedef const struct _Harry { int dummy; } Harry_t; Harry_t harry; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-3.c index f1e463e..c8039ef 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -dA" } */ +/* { dg-options "-save-temps -gdwarf -dA" } */ typedef struct _Harry { int dummy; } Harry_t; const Harry_t harry[5]; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c index cf0a2af..bd2351b 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-save-temps -g -dA" } */ +/* { dg-options "-save-temps -gdwarf -dA" } */ typedef const struct _Harry { int dummy; } Harry_t; Harry_t harry[10]; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c index d2d44ea..0ec3e84 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c @@ -1,6 +1,6 @@ /* Test that we have line information for the line with local variable initializations. */ -/* { dg-options "-O0 -g -dA" } */ +/* { dg-options "-O0 -gdwarf -dA" } */ /* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\]\[ \t\]+line 8" } } */ diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/struct-loc1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/struct-loc1.c index 216a498..bf893ee 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/struct-loc1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/struct-loc1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-g -O0 -dA -fno-merge-debug-strings" } */ +/* { dg-options "-gdwarf -O0 -dA -fno-merge-debug-strings" } */ struct foo; struct foo *obj; |