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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr43058.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR debug/43058 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O2" } */
4
 
5
extern void *f1 (void *, void *, void *);
6
extern void *f2 (const char *, int, int, int, void *(*) ());
7
extern void *f3 (const char *);
8
extern void *f4 (void *s);
9
extern void *f5 (void *);
10
 
11
void test (void)
12
{
13
#define X1 f1 (f2 ("a", 1, 0, 0, f5), \
14
               f4 (({ const char *a = "b"; f3 (a); })), \
15
               ({ const char *a = "c"; f3 (a); }));
16
#define X2 X1 X1 X1 X1 X1 X1 X1 X1 X1 X1
17
#define X3 X2 X2 X2 X2 X2 X2 X2 X2 X2 X2
18
#define X4 X3 X3 X3 X3 X3 X3 X3 X3 X3 X3
19
  X4 X4
20
}

powered by: WebSVN 2.1.0

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