re PR c/10320 (gcc 3.4 gets rid of static inline function that does not get inlined)

2003-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r69639
This commit is contained in:
Andrew Pinski 2003-07-21 17:45:34 +00:00 committed by Andrew Pinski
parent ee735eefd8
commit 124b0e0529
2 changed files with 18 additions and 0 deletions

View 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

View File

@ -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(){}