OSDN Git Service

* gcc.dg/Wunused-var-8.c: Move to...
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 May 2010 17:41:34 +0000 (17:41 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:01:13 +0000 (14:01 +0900)
* c-c++-common/Wunused-var-6.c: ... here.  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159118 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/gcc.dg/Wunused-var-8.c [deleted file]

index c5cc73a..7be3f1a 100644 (file)
@@ -1,5 +1,8 @@
 2010-05-06  Jakub Jelinek  <jakub@redhat.com>
 
+       * gcc.dg/Wunused-var-8.c: Move to...
+       * c-c++-common/Wunused-var-6.c: ... here.  New test.
+
        PR bootstrap/43994
        * df-problems.c (dead_debug_insert_before): Use *DF_REF_REAL_LOC
        instead of DF_REF_REAL_REG.
diff --git a/gcc/testsuite/gcc.dg/Wunused-var-8.c b/gcc/testsuite/gcc.dg/Wunused-var-8.c
deleted file mode 100644 (file)
index 1217719..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* PR c/43981 */
-/* { dg-do compile } */
-/* { dg-options "-Wunused" } */
-
-void g (char *);
-
-char
-f (int a)
-{
-  int len = a * 3;
-  char t[len];
-
-  g (t);
-  return t[0];
-}