annotate gcc/testsuite/gcc.c-torture/compile/20080922-1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 typedef struct rtx_def *rtx;
kono
parents:
diff changeset
2 typedef struct rtvec_def *rtvec;
kono
parents:
diff changeset
3 enum rtx_code { PARALLEL, SET };
kono
parents:
diff changeset
4 union rtunion_def {
kono
parents:
diff changeset
5 rtx rt_rtx;
kono
parents:
diff changeset
6 rtvec rt_rtvec;
kono
parents:
diff changeset
7 };
kono
parents:
diff changeset
8 typedef union rtunion_def rtunion;
kono
parents:
diff changeset
9 struct rtx_def {
kono
parents:
diff changeset
10 rtunion fld;
kono
parents:
diff changeset
11 };
kono
parents:
diff changeset
12 struct rtvec_def {
kono
parents:
diff changeset
13 int num_elem;
kono
parents:
diff changeset
14 };
kono
parents:
diff changeset
15 extern rtx operand;
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 rtx peephole2_insns (rtx x0, enum rtx_code code)
kono
parents:
diff changeset
18 {
kono
parents:
diff changeset
19 switch (code)
kono
parents:
diff changeset
20 {
kono
parents:
diff changeset
21 case SET:
kono
parents:
diff changeset
22 operand = (((x0)->fld).rt_rtx);
kono
parents:
diff changeset
23 return operand;
kono
parents:
diff changeset
24 case PARALLEL:
kono
parents:
diff changeset
25 if ((((((x0)->fld).rt_rtvec))->num_elem) == 2)
kono
parents:
diff changeset
26 return 0;
kono
parents:
diff changeset
27 break;
kono
parents:
diff changeset
28 }
kono
parents:
diff changeset
29 }