aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr14692.c
blob: 3f36b3ccb2b120aa7169087b5afd89308bbeeb7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR rtl-optimization/14692  */

void assert_failed (void);           
void eidecpos_1 (unsigned char *pos, long n)
{
  int i;
  for (i = 0; i < n; i++)
    {
      const unsigned char *dc_ptr1 = pos;
      pos--;
      if (dc_ptr1 - pos == 1)
	assert_failed ();
    }
}