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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr33724.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
/* We ICEd with type-checking enabled.  */
4
 
5
struct xt_entry_target {
6
  char name[1];
7
};
8
struct ipt_entry {
9
  unsigned char elems[1];
10
};
11
void match_different(const unsigned char *);
12
int dump_entry(struct xt_entry_target *t)
13
{
14
  return __builtin_strcmp (t->name, "");
15
}
16
void is_same(const struct ipt_entry *a)
17
{
18
  match_different(a->elems);
19
}
20
 

powered by: WebSVN 2.1.0

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