* gcc.dg/Wunused-var-8.c: Move to...
* c-c++-common/Wunused-var-6.c: ... here. New test.
From-SVN: r159118
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.
--- /dev/null
+/* 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];
+}
+++ /dev/null
-/* 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];
-}