modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr14692.c (about)

     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  }