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

     1  /* { dg-require-effective-target untyped_assembly } */
     2  typedef signed char int8_t;
     3  typedef short int int16_t;
     4  typedef int int32_t;
     5  __extension__ typedef long long int int64_t;
     6  typedef unsigned short int uint16_t;
     7  typedef unsigned int uint32_t;
     8  static inline unsigned int
     9  lshift_u_s (unsigned int left, int right)
    10  {
    11    if ((right) || (right >= sizeof (unsigned int) * 8)
    12        || (left > (4294967295U >> right)))
    13      return left;
    14  }
    15  static inline unsigned long int
    16  div_rhs (long int rhs)
    17  {
    18    if (rhs == 0)
    19      return 1;
    20    return rhs;
    21  }
    22  
    23  uint32_t g_230;
    24  int8_t g_294;
    25  uint16_t g_316;
    26  uint32_t g_334;
    27  int32_t g_375;
    28  int64_t g_380;
    29  int32_t func_99 (int16_t p_100, int32_t p_101, int32_t p_102, int32_t p_103,
    30                   int64_t p_105, int32_t p_106, int32_t p_107, int16_t p_108,
    31                   int16_t p_109);
    32  int32_t
    33  func_77 (int64_t p_79)
    34  {
    35    int16_t l_397;
    36    if (mod_rhs (p_79))
    37      p_79 = 1;
    38    else
    39      for (p_79 = 0; 0; p_79 += 1)
    40        {
    41        }
    42    if (lshift_s_s (1, func_112 (2L, (lshift_u_s (g_334, p_79)))))
    43      {
    44        int8_t l_384;
    45        int64_t l_414;
    46        if (lshift_u_s (g_375, 1))
    47          {
    48            func_23 (func_99 (1, 1, 1, 1, g_230, p_79, 1, g_334, 1), 1);
    49            for (p_79 = 0; 0; ++p_79)
    50              {
    51              }
    52          }
    53        if (div_rhs (func_82 (1, 1, g_380, 1, l_397, 1, 1)))
    54          func_99 ((func_82
    55                    (1, g_334, g_294, func_112 (1, (p_79 & 1)), g_316, 1, 1)),
    56                   1, (0xFBA25CA382A8CA74LL), l_384, l_414, 0L, 1, 1, 1);
    57      }
    58  }
    59