re PR c/10320 (gcc 3.4 gets rid of static inline function that does not get inlined)
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 21 Jul 2003 17:45:34 +0000 (17:45 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 21 Jul 2003 17:45:34 +0000 (10:45 -0700)
2003-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/10320
        * gcc.c-torture/execute/20030718-1.c: New test.

From-SVN: r69639

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20030718-1.c [new file with mode: 0644]

index 1cfa936..d0652a9 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-21  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/10320
+       * gcc.c-torture/execute/20030718-1.c: New test.
+
 2003-07-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
         PR optimization/11536
diff --git a/gcc/testsuite/gcc.c-torture/execute/20030718-1.c b/gcc/testsuite/gcc.c-torture/execute/20030718-1.c
new file mode 100644 (file)
index 0000000..2a113f9
--- /dev/null
@@ -0,0 +1,13 @@
+/* PR c/10320
+   The function temp was not being emitted in a prerelease of 3.4 20030406. 
+   Contributed by pinskia@physics.uc.edu */
+
+static inline void temp();
+int main()
+{
+        temp();
+        return 0;
+}
+static void temp(){}
+
+