* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr39423-1.c
blobc604738b9cb63ea6230a4ceca619ad9e8f924b34
1 /* PR target/39423 */
2 /* { dg-skip-if "ptxas times out" { nvptx-*-* } { "-O2" } { "" } } */
4 int
5 foo (const char *name, int nmlen, char *flags)
7 const char *nonspc;
8 int len, n, lfn;
9 int needlfn[2], dotspc[2];
10 unsigned char locale[2];
11 for (nonspc = &name[nmlen - 1]; nonspc >= name && *nonspc == ' '; ++n)
13 if (!nmlen)
15 needlfn[name >= nonspc] = !0, dotspc[n != 0] =
16 locale[0], --n, name += len, nmlen -= len;
19 if (!lfn && ((dotspc[0] == ' ' && !(len & 0x0010)) || dotspc[0] == '.'))
20 return 22;
21 if (!(needlfn[0] || needlfn[1]))
22 *flags |= 0x02;