OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr14692.c
1 /* PR rtl-optimization/14692  */
2
3 void assert_failed (void);           
4 void eidecpos_1 (unsigned char *pos, long n)
5 {
6   int i;
7   for (i = 0; i < n; i++)
8     {
9       const unsigned char *dc_ptr1 = pos;
10       pos--;
11       if (dc_ptr1 - pos == 1)
12         assert_failed ();
13     }
14 }