1 /* PR optimization/13985 */
2 /* Copied from gcc.c-torture/compile/930621-1.c */
4 /* { dg-do compile } */
5 /* { dg-options "-O3" } */
6 /* { dg-options "-O3 -mtune=i386" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
7 /* { dg-add-options stack_size } */
9 #if defined(STACK_SIZE) && (STACK_SIZE < 65536)
10 # define BYTEMEM_SIZE 10000L
14 # define BYTEMEM_SIZE 45000L
17 int bytestart
[5000 + 1];
18 unsigned char modtext
[400 + 1];
19 unsigned char bytemem
[2][BYTEMEM_SIZE
+ 1];
31 while ((k
< bytestart
[p
+ 2]) && (j
<= l
) && (modtext
[j
] == bytemem
[w
][k
]))
36 if (k
== bytestart
[p
+ 2])
42 else if (modtext
[j
] < bytemem
[w
][k
])