This test got committed into a spot where nothing actually tests it.
As there is no main, I assume it was meant to be gcc.c-torture/compile/
test and the test PASSes after moving there (both x86_64-linux and
i686-linux). Though, it passed before the PR92372 fixes too.
2020-04-16 Jakub Jelinek <jakub@redhat.com>
PR ipa/92372
* gcc.c-torture/pr92372.c: Move ...
* gcc.c-torture/compile/pr92372.c: ... here.
2020-04-16 Jakub Jelinek <jakub@redhat.com>
+ PR ipa/92372
+ * gcc.c-torture/pr92372.c: Move ...
+ * gcc.c-torture/compile/pr92372.c: ... here.
+
PR c++/94571
* g++.dg/cpp1z/decomp51.C: New test.
--- /dev/null
+int fn2(int);
+int fn3(int);
+
+__attribute__((flatten))
+int fn1(int p1)
+{
+ int a = fn2(p1);
+ return fn3(a);
+}
+__attribute__((flatten))
+int fn4(int p1)
+{
+ int j = fn2(p1);
+ return fn3(j);
+}
+
+++ /dev/null
-int fn2(int);
-int fn3(int);
-
-__attribute__((flatten))
-int fn1(int p1)
-{
- int a = fn2(p1);
- return fn3(a);
-}
-__attribute__((flatten))
-int fn4(int p1)
-{
- int j = fn2(p1);
- return fn3(j);
-}
-