2 20030307-1.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 85
11 // TODO: Enable when all ports support long long!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
14 /* PR optimization/8726 */
15 /* Originator: Paul Eggert <eggert@twinsun.com> */
17 /* Verify that GCC doesn't miscompile tail calls on Sparc. */
19 int fcntl_lock(int fd
, int op
, long long offset
, long long count
, int type
);
21 int vfswrap_lock(char *fsp
, int fd
, int op
, long long offset
, long long count
, int type
)
23 return fcntl_lock(fd
, op
, offset
, count
, type
);
26 int fcntl_lock(int fd
, int op
, long long offset
, long long count
, int type
)
33 testTortureExecute (void)
35 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
36 if (vfswrap_lock (0, 1, 2, 3, 4, 5) != 5)