summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr33382.c
blob: c939cf7b7725a5080fea041257290e65554c3442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
typedef __SIZE_TYPE__ size_t;
typedef struct {
    int disable;
    char *searchconfig[];
} config_t;
typedef struct {
    void *lng;
} arglist_t;
config_t config = {
    .searchconfig = {
		     ((void *) 0)}
};

arglist_t arglist[] = {
    {
     &config.searchconfig[0]}
};
const int arglistsize = ((int) (sizeof(arglist) / sizeof(arglist_t)));
void show_configuration(char *arg)
{
    int i;

    if (!__extension__( {
		       size_t
		       __s1_len,
		       __s2_len; (__builtin_constant_p(arglist[i].lng)
				  && (__s1_len = (!((size_t)
						    (const void *)
						    1)
						  || __s2_len >= 4))
				  ? : (__builtin_constant_p(arglist[i].lng)
				       && ((size_t)
					   (const void *)
					   4)
				       ? (__builtin_constant_p(arg)
					  && ((size_t) (const void *) 1) ?
					  : (__extension__( {
							   __const * __s2 =
							   (__const *)
							   (arg);
							   register
							   __result =
							   (((__const
							      *) (arglist
								  [i].
								  lng))[0]
							    - __s2[0]);
							   if (__s1_len ==
							       0) {
							   if (__s1_len ==
							       0) {
							   __result =
							   (((__const
							      unsigned char
							      *) (__const
								  char
								  *)
							     (arglist[i].
							      lng))[3] -
							    __s2[3]);}
							   }
							   __result;}
      ))):
				       (__builtin_constant_p(arg)
					?
					(__builtin_constant_p
					 (arglist[i].lng)
					 ? : (__extension__( {
							    char
							    __result
							    =
							    ((__const
							      unsigned *)
							     (arg))[0];
							    if
							    (__s2_len
							     > 0
							     && __result ==
							     0) {
							    if (__s2_len >
								1
								&& __result
								== 0) {
							    }
							    }
							    __result;}
      ))):



					__builtin_strcmp(arglist[i].lng,
							 arg))));}
	))
	return;
}