(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr81588.c
       1  /* PR tree-optimization/81588 */
       2  /* { dg-do run } */
       3  /* { dg-options "-O2" } */
       4  
       5  long long int a = 5011877430933453486LL, c = 1;
       6  unsigned short b = 24847;
       7  
       8  #include "tree-ssa/pr81588.c"
       9  
      10  int
      11  main ()
      12  {
      13    foo ();
      14    if (c != 0)
      15      __builtin_abort ();
      16    a = 24846;
      17    c = 1;
      18    foo ();
      19    if (c != 1)
      20      __builtin_abort ();
      21    a = -5;
      22    foo ();
      23    if (c != 0)
      24      __builtin_abort ();
      25    return 0;
      26  }