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 } } } */
8 #if defined(STACK_SIZE) && (STACK_SIZE < 65536)
9 # define BYTEMEM_SIZE 10000L
13 # define BYTEMEM_SIZE 45000L
16 int bytestart
[5000 + 1];
17 unsigned char modtext
[400 + 1];
18 unsigned char bytemem
[2][BYTEMEM_SIZE
+ 1];
30 while ((k
< bytestart
[p
+ 2]) && (j
<= l
) && (modtext
[j
] == bytemem
[w
][k
]))
35 if (k
== bytestart
[p
+ 2])
41 else if (modtext
[j
] < bytemem
[w
][k
])