diff options
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gcc.target/i386/pr55116-1.c')
-rw-r--r-- | gcc-4.8/gcc/testsuite/gcc.target/i386/pr55116-1.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/testsuite/gcc.target/i386/pr55116-1.c b/gcc-4.8/gcc/testsuite/gcc.target/i386/pr55116-1.c new file mode 100644 index 000000000..de272445a --- /dev/null +++ b/gcc-4.8/gcc/testsuite/gcc.target/i386/pr55116-1.c @@ -0,0 +1,11 @@ +/* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-options "-O2 -mx32 -maddress-mode=long" } */ + +int glob_int_arr[100]; +int glob_int = 4; + +void +expr_global (void) +{ + __builtin_prefetch (glob_int_arr + glob_int, 0, 0); +} |