comparison gcc/testsuite/gcc.dg/pr33724.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { 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