* gcc.target/arm/pr27387.C: Move and rename to ...
* g++.dg/inherit/thunk8.C: ... here.
From-SVN: r125197
+2007-05-30 Kazu Hirata <kazu@codesourcery.com>
+
+ * gcc.target/arm/pr27387.C: Move and rename to ...
+ * g++.dg/inherit/thunk8.C: ... here.
+
2007-05-30 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/31769
--- /dev/null
+/* PR target/27387
+ We used to generate a non-PIC thunk on thumb even with -fPIC.
+ Make sure that won't happen anymore. */
+
+/* { dg-do compile } */
+/* { dg-require-effective-target arm32 } */
+/* { dg-options "-mthumb -fPIC" } */
+
+struct A {
+ virtual void f ();
+};
+
+struct B {
+ virtual void g ();
+};
+
+struct C : public A, public B {
+ virtual void g();
+};
+
+void
+C::g()
+{
+}
+
+/* { dg-final { scan-assembler "LTHUNKPC" } } */
+++ /dev/null
-/* PR target/27387
- We used to generate a non-PIC thunk on thumb even with -fPIC.
- Make sure that won't happen anymore. */
-
-/* { dg-do compile } */
-/* { dg-require-effective-target arm32 } */
-/* { dg-options "-mthumb -fPIC" } */
-
-struct A {
- virtual void f ();
-};
-
-struct B {
- virtual void g ();
-};
-
-struct C : public A, public B {
- virtual void g();
-};
-
-void
-C::g()
-{
-}
-
-/* { dg-final { scan-assembler "LTHUNKPC" } } */