inline_1.c: Rename gcc.dg/inline_[1-4].c to inline-3[6-9].c.
authorMike Stump <mikestump@comcast.net>
Thu, 15 Jan 2015 18:42:39 +0000 (18:42 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 15 Jan 2015 18:42:39 +0000 (18:42 +0000)
* gcc.dg/inline_1.c: Rename gcc.dg/inline_[1-4].c to inline-3[6-9].c.
* gcc.dg/inline_2.c: Likewise.
* gcc.dg/inline_3.c: Likewise.
* gcc.dg/inline_4.c: Likewise.

From-SVN: r219678

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/inline-36.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline-37.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline-38.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline-39.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline_1.c [deleted file]
gcc/testsuite/gcc.dg/inline_2.c [deleted file]
gcc/testsuite/gcc.dg/inline_3.c [deleted file]
gcc/testsuite/gcc.dg/inline_4.c [deleted file]

index d5751651b88ee96f9af4ee4d0ed5d9c26e597e0a..f6b2ae3ab4d6fae34b9d7b1eedc65f0687f34c21 100644 (file)
@@ -1,3 +1,10 @@
+2015-01-15  Mike Stump  <mikestump@comcast.net>
+
+       * gcc.dg/inline_1.c: Rename gcc.dg/inline_[1-4].c to inline-3[6-9].c.
+       * gcc.dg/inline_2.c: Likewise.
+       * gcc.dg/inline_3.c: Likewise.
+       * gcc.dg/inline_4.c: Likewise.
+
 2015-01-15  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/58023
diff --git a/gcc/testsuite/gcc.dg/inline-36.c b/gcc/testsuite/gcc.dg/inline-36.c
new file mode 100644 (file)
index 0000000..0301381
--- /dev/null
@@ -0,0 +1,22 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline -fdisable-ipa-inline -Wno-attributes" } */
+int g;
+__attribute__((always_inline)) void bar (void)
+{
+  g++;
+}
+
+int foo (void)
+{
+  bar ();
+  return g;
+}
+
+int foo2 (void)
+{
+  bar();
+  return g + 1;
+}
+
+/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline-37.c b/gcc/testsuite/gcc.dg/inline-37.c
new file mode 100644 (file)
index 0000000..e3b1df4
--- /dev/null
@@ -0,0 +1,22 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=0:100 -fdisable-ipa-inline -Wno-attributes" } */
+int g;
+__attribute__((always_inline)) void bar (void)
+{
+  g++;
+}
+
+int foo (void)
+{
+  bar ();
+  return g;
+}
+
+int foo2 (void)
+{
+  bar();
+  return g + 1;
+}
+
+/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline-38.c b/gcc/testsuite/gcc.dg/inline-38.c
new file mode 100644 (file)
index 0000000..773c301
--- /dev/null
@@ -0,0 +1,22 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo,foo2 -fdisable-ipa-inline -Wno-attributes" } */
+int g;
+__attribute__((always_inline)) void bar (void)
+{
+  g++;
+}
+
+int foo (void)
+{
+  bar ();
+  return g;
+}
+
+int foo2 (void)
+{
+  bar();
+  return g + 1;
+}
+
+/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline-39.c b/gcc/testsuite/gcc.dg/inline-39.c
new file mode 100644 (file)
index 0000000..ebd57e9
--- /dev/null
@@ -0,0 +1,23 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo2 -fdisable-ipa-inline -Wno-attributes" } */
+/* { dg-add-options bind_pic_locally } */
+int g;
+__attribute__((always_inline)) void bar (void)
+{
+  g++;
+}
+
+int foo (void)
+{
+  bar ();
+  return g;
+}
+
+int foo2 (void)
+{
+  bar();
+  return g + 1;
+}
+
+/* { dg-final { scan-tree-dump-times "bar" 4 "optimized" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline_1.c b/gcc/testsuite/gcc.dg/inline_1.c
deleted file mode 100644 (file)
index 0301381..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline -fdisable-ipa-inline -Wno-attributes" } */
-int g;
-__attribute__((always_inline)) void bar (void)
-{
-  g++;
-}
-
-int foo (void)
-{
-  bar ();
-  return g;
-}
-
-int foo2 (void)
-{
-  bar();
-  return g + 1;
-}
-
-/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline_2.c b/gcc/testsuite/gcc.dg/inline_2.c
deleted file mode 100644 (file)
index e3b1df4..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=0:100 -fdisable-ipa-inline -Wno-attributes" } */
-int g;
-__attribute__((always_inline)) void bar (void)
-{
-  g++;
-}
-
-int foo (void)
-{
-  bar ();
-  return g;
-}
-
-int foo2 (void)
-{
-  bar();
-  return g + 1;
-}
-
-/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline_3.c b/gcc/testsuite/gcc.dg/inline_3.c
deleted file mode 100644 (file)
index 773c301..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo,foo2 -fdisable-ipa-inline -Wno-attributes" } */
-int g;
-__attribute__((always_inline)) void bar (void)
-{
-  g++;
-}
-
-int foo (void)
-{
-  bar ();
-  return g;
-}
-
-int foo2 (void)
-{
-  bar();
-  return g + 1;
-}
-
-/* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/inline_4.c b/gcc/testsuite/gcc.dg/inline_4.c
deleted file mode 100644 (file)
index ebd57e9..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo2 -fdisable-ipa-inline -Wno-attributes" } */
-/* { dg-add-options bind_pic_locally } */
-int g;
-__attribute__((always_inline)) void bar (void)
-{
-  g++;
-}
-
-int foo (void)
-{
-  bar ();
-  return g;
-}
-
-int foo2 (void)
-{
-  bar();
-  return g + 1;
-}
-
-/* { dg-final { scan-tree-dump-times "bar" 4 "optimized" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */