Add a testcase for PR middle-end/55116

PR middle-end/55116
	* gcc.target/i386/pr55116.c: New file.

From-SVN: r192967
This commit is contained in:
H.J. Lu 2012-10-29 23:09:03 +00:00 committed by H.J. Lu
parent f4eafc3059
commit 2adaa795e4
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-10-29 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/55116
* gcc.target/i386/pr55116.c: New file.
2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/53066

View File

@ -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);
}