URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
extern int *stderr;
|
extern int *stderr;
|
|
|
void f (int *, const char *, ...);
|
void f (int *, const char *, ...);
|
|
|
void g (const char *conf_name)
|
void g (const char *conf_name)
|
{
|
{
|
typedef struct
|
typedef struct
|
{
|
{
|
const char *label;
|
const char *label;
|
const int value;
|
const int value;
|
} Section;
|
} Section;
|
|
|
const Section sections[2] = { {"", 0}, {"", 1} };
|
const Section sections[2] = { {"", 0}, {"", 1} };
|
|
|
f (stderr, "", "", conf_name, 0, sections[0]);
|
f (stderr, "", "", conf_name, 0, sections[0]);
|
f (stderr, "", "", conf_name, 0, sections[0]);
|
f (stderr, "", "", conf_name, 0, sections[0]);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.