]> gcc.gnu.org Git - gcc.git/commitdiff
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 1cfa936119506f17560f95b9fff9f00d9602a6de..d0652a934508e29db5ab76699f93bb1eeefc4d7a 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(){}
+
+
This page took 0.091495 seconds and 5 git commands to generate.