+2010-02-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR c/43125
+ * gcc.dg/attr-used-2.c: Moved to ...
+ * c-c++-common/attr-used-2.c: Here.
+
+ * gcc.dg/attr-used.c: Moved to ...
+ * c-c++-common/attr-used.c: Here.
+
2010-02-22 Ozkan Sezer <sezeroz@gmail.com>
* gcc.c-torture/execute/991014-1.c: Use __SIZE_TYPE__ for size types.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-Wall -O2" } */
+
+static int xyzzy __attribute__((__used__)) = 1;
+
+void foo()
+{
+ int x __attribute__((__used__)); /* { dg-warning "attribute ignored|unused variable" } */
+}
+
+/* { dg-final { scan-assembler "xyzzy" } } */
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O3" } */
+
+static void function_declaration_before(void) __attribute__((__used__));
+
+static void function_declaration_before(void) {}
+
+static void function_declaration_after(void) {}
+
+static void function_declaration_after(void) __attribute__((__used__));
+
+/* { dg-final { scan-assembler "function_declaration_before" } } */
+/* { dg-final { scan-assembler "function_declaration_after" } } */
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-Wall -O2" } */
-
-static int xyzzy __attribute__((__used__)) = 1;
-
-void foo()
-{
- int x __attribute__((__used__)); /* { dg-warning "attribute ignored|unused variable" } */
-}
-
-/* { dg-final { scan-assembler "xyzzy" } } */
+++ /dev/null
-/* { dg-do compile } */
-/* { dg-options "-O3" } */
-
-static void function_declaration_before(void) __attribute__((__used__));
-
-static void function_declaration_before(void) {}
-
-static void function_declaration_after(void) {}
-
-static void function_declaration_after(void) __attribute__((__used__));
-
-/* { dg-final { scan-assembler "function_declaration_before" } } */
-/* { dg-final { scan-assembler "function_declaration_after" } } */