1  /* PR rtl-optimization/50615 */
       2  /* Testcase by Zdenek Sojka <zsojka@seznam.cz> */
       3  
       4  /* { dg-do compile } */
       5  /* { dg-options "-O --param max-cse-insns=1" } */
       6  
       7  int
       8  foo (int a)
       9  {
      10    if (!a)
      11      return 1;
      12  
      13    {
      14      int s[a];
      15      return 0;
      16    }
      17  }