modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20040611-1.c (about)

     1  /* This would cause PRE load motion to generate invalid code and ICE */
     2  void foo (char *name)
     3  {
     4    if (*name)
     5      name ++;
     6    while (name[0]);
     7    asm ("" : "=r" (name));
     8  }