diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2007-07-10 00:23:04 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-07-09 22:23:04 +0000 |
commit | 924a20b64b21c176e07229e0d0c227d07b1040f9 (patch) | |
tree | 2dde79066aa8ce2e01e60d73ac894b5c58a41068 | |
parent | 01306727d37b953932a24c24eca99808e26c22e0 (diff) | |
download | gcc-924a20b64b21c176e07229e0d0c227d07b1040f9.zip gcc-924a20b64b21c176e07229e0d0c227d07b1040f9.tar.gz gcc-924a20b64b21c176e07229e0d0c227d07b1040f9.tar.bz2 |
fesd-any.c: Move to gcc.dg/debug/dwarf2 directory.
* gcc.dg/fesd-any.c: Move to gcc.dg/debug/dwarf2 directory.
* gcc.dg/fesd-any.h: Likewise.
* gcc.dg/fesd-baseonly.c: Likewise.
* gcc.dg/fesd-baseonly.h: Likewise.
* gcc.dg/fesd-none.c: Likewise.
* gcc.dg/fesd-none.h: Likewise.
* gcc.dg/fesd-reduced.c: Likewise.
* gcc.dg/fesd-reduced.h: Likewise.
* gcc.dg/fesd-sys.c: Likewise.
* gcc.dg/fesd-sys.h: Likewise
* gcc.dg/fesd.h: Likewise.
* g++.dg/debug/dwarf2: New directory.
* g++.dg/debug/dwarf2/dwarf2.exp: New driver.
* g++.dg/other/fesd-any.C: Move to g++.dg/debug/dwarf2 directory.
* g++.dg/other/fesd-any.h: Likewise.
* g++.dg/other/fesd-baseonly.C: Likewise.
* g++.dg/other/fesd-baseonly.h: Likewise.
* g++.dg/other/fesd-none.C: Likewise.
* g++.dg/other/fesd-none.h: Likewise.
* g++.dg/other/fesd-reduced.C: Likewise.
* g++.dg/other/fesd-reduced.h: Likewise.
* g++.dg/other/fesd-sys.C: Likewise.
* g++.dg/other/fesd-sys.h: Likewise.
* g++.dg/other/fesd.h: Likewise.
From-SVN: r126497
-rw-r--r-- | gcc/testsuite/ChangeLog | 28 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp | 43 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-any.C (renamed from gcc/testsuite/g++.dg/other/fesd-any.C) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-any.h (renamed from gcc/testsuite/g++.dg/other/fesd-any.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.C (renamed from gcc/testsuite/g++.dg/other/fesd-baseonly.C) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.h (renamed from gcc/testsuite/g++.dg/other/fesd-baseonly.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-none.C (renamed from gcc/testsuite/g++.dg/other/fesd-none.C) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-none.h (renamed from gcc/testsuite/g++.dg/other/fesd-none.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-reduced.C (renamed from gcc/testsuite/g++.dg/other/fesd-reduced.C) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-reduced.h (renamed from gcc/testsuite/g++.dg/other/fesd-reduced.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-sys.C (renamed from gcc/testsuite/g++.dg/other/fesd-sys.C) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd-sys.h (renamed from gcc/testsuite/g++.dg/other/fesd-sys.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/debug/dwarf2/fesd.h (renamed from gcc/testsuite/g++.dg/other/fesd.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-any.c (renamed from gcc/testsuite/gcc.dg/fesd-any.c) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-any.h (renamed from gcc/testsuite/gcc.dg/fesd-any.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-baseonly.c (renamed from gcc/testsuite/gcc.dg/fesd-baseonly.c) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-baseonly.h (renamed from gcc/testsuite/gcc.dg/fesd-baseonly.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-none.c (renamed from gcc/testsuite/gcc.dg/fesd-none.c) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-none.h (renamed from gcc/testsuite/gcc.dg/fesd-none.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-reduced.c (renamed from gcc/testsuite/gcc.dg/fesd-reduced.c) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-reduced.h (renamed from gcc/testsuite/gcc.dg/fesd-reduced.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-sys.c (renamed from gcc/testsuite/gcc.dg/fesd-sys.c) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd-sys.h (renamed from gcc/testsuite/gcc.dg/fesd-sys.h) | 0 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/fesd.h (renamed from gcc/testsuite/gcc.dg/fesd.h) | 0 |
24 files changed, 71 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6c95f13..b8de460 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,31 @@ +2007-07-09 Eric Botcazou <ebotcazou@libertysurf.fr> + + * gcc.dg/fesd-any.c: Move to gcc.dg/debug/dwarf2 directory. + * gcc.dg/fesd-any.h: Likewise. + * gcc.dg/fesd-baseonly.c: Likewise. + * gcc.dg/fesd-baseonly.h: Likewise. + * gcc.dg/fesd-none.c: Likewise. + * gcc.dg/fesd-none.h: Likewise. + * gcc.dg/fesd-reduced.c: Likewise. + * gcc.dg/fesd-reduced.h: Likewise. + * gcc.dg/fesd-sys.c: Likewise. + * gcc.dg/fesd-sys.h: Likewise + * gcc.dg/fesd.h: Likewise. + + * g++.dg/debug/dwarf2: New directory. + * g++.dg/debug/dwarf2/dwarf2.exp: New driver. + * g++.dg/other/fesd-any.C: Move to g++.dg/debug/dwarf2 directory. + * g++.dg/other/fesd-any.h: Likewise. + * g++.dg/other/fesd-baseonly.C: Likewise. + * g++.dg/other/fesd-baseonly.h: Likewise. + * g++.dg/other/fesd-none.C: Likewise. + * g++.dg/other/fesd-none.h: Likewise. + * g++.dg/other/fesd-reduced.C: Likewise. + * g++.dg/other/fesd-reduced.h: Likewise. + * g++.dg/other/fesd-sys.C: Likewise. + * g++.dg/other/fesd-sys.h: Likewise. + * g++.dg/other/fesd.h: Likewise. + 2007-07-09 Daniel Franke <franke.daniel@gmail.com> PR fortran/31129 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp b/gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp new file mode 100644 index 0000000..8c17680 --- /dev/null +++ b/gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp @@ -0,0 +1,43 @@ +# Copyright (C) 2007 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# G++ testsuite that uses the `dg.exp' driver. + +# Load support procs. +load_lib g++-dg.exp + +# If a testcase doesn't have special options, use these. +global DEFAULT_CFLAGS +if ![info exists DEFAULT_CFLAGS] then { + set DEFAULT_CFLAGS " -gdwarf-2" +} + +# Initialize `dg'. +dg-init + +# Main loop. +set comp_output [g++_target_compile \ + "$srcdir/$subdir/../trivial.C" "trivial.S" assembly \ + "additional_flags=-gdwarf-2"] +if { ! [string match "*: target system does not support the * debug format*" \ + $comp_output] } { + remove-build-file "trivial.S" + dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C\]]] \ + "" $DEFAULT_CFLAGS +} + +# All done. +dg-finish diff --git a/gcc/testsuite/g++.dg/other/fesd-any.C b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-any.C index a4a0b50..a4a0b50 100644 --- a/gcc/testsuite/g++.dg/other/fesd-any.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-any.C diff --git a/gcc/testsuite/g++.dg/other/fesd-any.h b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-any.h index 762f587..762f587 100644 --- a/gcc/testsuite/g++.dg/other/fesd-any.h +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-any.h diff --git a/gcc/testsuite/g++.dg/other/fesd-baseonly.C b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.C index 4f580eb..4f580eb 100644 --- a/gcc/testsuite/g++.dg/other/fesd-baseonly.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.C diff --git a/gcc/testsuite/g++.dg/other/fesd-baseonly.h b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.h index 762f587..762f587 100644 --- a/gcc/testsuite/g++.dg/other/fesd-baseonly.h +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.h diff --git a/gcc/testsuite/g++.dg/other/fesd-none.C b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-none.C index 0af0a83..0af0a83 100644 --- a/gcc/testsuite/g++.dg/other/fesd-none.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-none.C diff --git a/gcc/testsuite/g++.dg/other/fesd-none.h b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-none.h index 762f587..762f587 100644 --- a/gcc/testsuite/g++.dg/other/fesd-none.h +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-none.h diff --git a/gcc/testsuite/g++.dg/other/fesd-reduced.C b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-reduced.C index a93b90f..a93b90f 100644 --- a/gcc/testsuite/g++.dg/other/fesd-reduced.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-reduced.C diff --git a/gcc/testsuite/g++.dg/other/fesd-reduced.h b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-reduced.h index 762f587..762f587 100644 --- a/gcc/testsuite/g++.dg/other/fesd-reduced.h +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-reduced.h diff --git a/gcc/testsuite/g++.dg/other/fesd-sys.C b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-sys.C index 95a9a31..95a9a31 100644 --- a/gcc/testsuite/g++.dg/other/fesd-sys.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-sys.C diff --git a/gcc/testsuite/g++.dg/other/fesd-sys.h b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-sys.h index 762f587..762f587 100644 --- a/gcc/testsuite/g++.dg/other/fesd-sys.h +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd-sys.h diff --git a/gcc/testsuite/g++.dg/other/fesd.h b/gcc/testsuite/g++.dg/debug/dwarf2/fesd.h index 83bb15a..83bb15a 100644 --- a/gcc/testsuite/g++.dg/other/fesd.h +++ b/gcc/testsuite/g++.dg/debug/dwarf2/fesd.h diff --git a/gcc/testsuite/gcc.dg/fesd-any.c b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-any.c index fc51090..fc51090 100644 --- a/gcc/testsuite/gcc.dg/fesd-any.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-any.c diff --git a/gcc/testsuite/gcc.dg/fesd-any.h b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-any.h index a7146b6..a7146b6 100644 --- a/gcc/testsuite/gcc.dg/fesd-any.h +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-any.h diff --git a/gcc/testsuite/gcc.dg/fesd-baseonly.c b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-baseonly.c index a32abb5..a32abb5 100644 --- a/gcc/testsuite/gcc.dg/fesd-baseonly.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-baseonly.c diff --git a/gcc/testsuite/gcc.dg/fesd-baseonly.h b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-baseonly.h index a7146b6..a7146b6 100644 --- a/gcc/testsuite/gcc.dg/fesd-baseonly.h +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-baseonly.h diff --git a/gcc/testsuite/gcc.dg/fesd-none.c b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-none.c index bd218f8..bd218f8 100644 --- a/gcc/testsuite/gcc.dg/fesd-none.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-none.c diff --git a/gcc/testsuite/gcc.dg/fesd-none.h b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-none.h index a7146b6..a7146b6 100644 --- a/gcc/testsuite/gcc.dg/fesd-none.h +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-none.h diff --git a/gcc/testsuite/gcc.dg/fesd-reduced.c b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-reduced.c index ac599f4..ac599f4 100644 --- a/gcc/testsuite/gcc.dg/fesd-reduced.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-reduced.c diff --git a/gcc/testsuite/gcc.dg/fesd-reduced.h b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-reduced.h index a7146b6..a7146b6 100644 --- a/gcc/testsuite/gcc.dg/fesd-reduced.h +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-reduced.h diff --git a/gcc/testsuite/gcc.dg/fesd-sys.c b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-sys.c index 3a5c0bf..3a5c0bf 100644 --- a/gcc/testsuite/gcc.dg/fesd-sys.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-sys.c diff --git a/gcc/testsuite/gcc.dg/fesd-sys.h b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-sys.h index a7146b6..a7146b6 100644 --- a/gcc/testsuite/gcc.dg/fesd-sys.h +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd-sys.h diff --git a/gcc/testsuite/gcc.dg/fesd.h b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd.h index 46b24f5..46b24f5 100644 --- a/gcc/testsuite/gcc.dg/fesd.h +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/fesd.h |