modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr65170.c (about)

     1  /* PR tree-optimization/65170 */
     2  
     3  #ifdef __SIZEOF_INT128__
     4  typedef unsigned __int128 V;
     5  typedef unsigned long long int H;
     6  #else
     7  typedef unsigned long long int V;
     8  typedef unsigned int H;
     9  #endif
    10  
    11  __attribute__((noinline, noclone)) void
    12  foo (V b, V c)
    13  {
    14    V a;
    15    b &= (H) -1;
    16    c &= (H) -1;
    17    a = b * c;
    18    if (a != 1)
    19      __builtin_abort ();
    20  }
    21  
    22  int
    23  main ()
    24  {
    25    foo (1, 1);
    26    return 0;
    27  }