* 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
+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
--- /dev/null
+/* { 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" } } */
--- /dev/null
+/* { 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" } } */
--- /dev/null
+/* { 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" } } */
--- /dev/null
+/* { 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" } } */
+++ /dev/null
-/* { 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" } } */
+++ /dev/null
-/* { 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" } } */
+++ /dev/null
-/* { 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" } } */
+++ /dev/null
-/* { 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" } } */