2007-02-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / prefetch-loop-arrays-1.c
blobba91d69650dc5723d145b20577268ba7850a5b39
1 /* PR tree-optimization/28887 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fprefetch-loop-arrays -w" } */
4 /* { dg-options "-O2 -fprefetch-loop-arrays -march=i686 -msse -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
6 typedef unsigned long size_t;
8 struct re_pattern_buffer
10 size_t re_nsub;
13 typedef enum
15 start_memory,
16 } re_opcode_t;
18 typedef union
20 struct
22 unsigned matched_something:1;
23 } bits;
24 } byte_register_info_type;
26 void byte_re_match_2_internal (struct re_pattern_buffer *bufp)
28 int mcnt;
29 size_t num_regs = bufp->re_nsub + 1;
30 byte_register_info_type *reg_info;
31 for (mcnt = 1; (unsigned) mcnt < num_regs; mcnt++)
33 ((reg_info[mcnt]).bits.matched_something) = 0;