OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr37669-2.c] - Blame information for rev 859

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR middle-end/37669 */
2
 
3
#define FMT10 "%d%d%d%d%d%d%d%d%d%d"
4
#define FMT100 FMT10 FMT10 FMT10 FMT10 FMT10 FMT10 FMT10 FMT10 FMT10 FMT10
5
#define FMT1000 FMT100 FMT100 FMT100 FMT100 FMT100 \
6
                FMT100 FMT100 FMT100 FMT100 FMT100
7
#define ARG10 , i, i, i, i, i, i, i, i, i, i
8
#define ARG100 ARG10 ARG10 ARG10 ARG10 ARG10 ARG10 ARG10 ARG10 ARG10 ARG10
9
#define ARG1000 ARG100 ARG100 ARG100 ARG100 ARG100 \
10
                ARG100 ARG100 ARG100 ARG100 ARG100
11
void foo (char *s, int i, int j)
12
{
13
  __builtin___snprintf_chk (s, i, 1, j, FMT1000 ARG1000);
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.