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

     1  union loc {  unsigned reg; signed offset; };
     2  void __frame_state_for (volatile char *state_in, int x)
     3  {
     4    /* We should move all the loads out of this loop. Right now, we only
     5       move one.  It takes two insertions because we insert a cast.  */
     6      union loc fs;
     7      int reg;
     8      for (;;)     {
     9          switch (x)  {
    10  	    case 0:
    11  		*state_in = fs.reg;
    12  	    case 1:
    13  		*state_in = fs.offset;
    14  	}
    15      }
    16  }
    17