1  /* { dg-options "-O3 -fgraphite-identity" } */
       2  
       3  typedef struct {
       4    unsigned int avail_out;
       5    void *state;
       6  } stream;
       7  
       8  typedef struct {
       9    stream* test;
      10    int num;
      11  } state_in;
      12  
      13  int test_in ( stream *test, int action )
      14  {
      15    state_in* tst;
      16    if (test == ((void *)0)) return (-2);
      17    if (tst == ((void *)0)) return (-2);
      18    if (tst->test != test) return (-2);
      19   jump_here:
      20    switch (tst->num) {
      21    case 1:
      22      return (-1);
      23    case 2:
      24      if (action == 0) {
      25      }
      26      if (action == 1) {
      27        goto jump_here;
      28      }
      29    }
      30    return 0;
      31  }