]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/pr33920.c
large-size-array-2.c: Fix target requirement.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr33920.c
CommitLineData
77bd31de
UB
1/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2/* { dg-do compile } */
3/* { dg-options "-O3" } */
4
60adb641 5typedef __PTRDIFF_TYPE__ intptr_t;
77bd31de
UB
6typedef union lispunion *object;
7struct character
8{
9 long e;
10};
11extern struct symbol Cnil_body;
12extern struct symbol Ct_body;
13struct vector
14{
15 object *v_self;
16};
17union lispunion
18{
19 struct vector v;
20};
21void init_code ()
22{
23 object V659;
24 object _x, _y;
25 object V643;
60adb641 26 intptr_t V648;
77bd31de
UB
27 unsigned char V653;
28 object V651;
29 object V654;
30 object V658;
31
32T1240:
60adb641 33if (V648 >= (intptr_t)V651) /* { dg-warning "cast from pointer to integer of different size" "" { target { ! int32plus } } } */
77bd31de
UB
34 goto T1243;
35 V653 = ((char *) V654->v.v_self)[V648];
36 V659 = (object) V654 + V653;
37T1261:
38 V658 =
39 (object)
40 V659 ? (object) & Ct_body : (object) & Cnil_body;
41 if (V658 == (object) & Cnil_body)
42 goto T1249;
43 goto T1224;
44T1249:
60adb641 45 V648 = (intptr_t) V648 + 1;
77bd31de
UB
46 goto T1240;
47T1243:
48 V643 = (object) & Cnil_body;
49T1224:
50 _y = V643;
51 number_plus (_x, _y);
52}