(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr85412.c
       1  /* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
       2  /* { dg-require-effective-target int128 } */
       3  /* { dg-options "-O1 -fpeephole2 -fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 -ftree-loop-if-convert -fno-if-conversion -fno-move-loop-invariants -fno-split-wide-types -fno-tree-dominator-opts" } */
       4  /* { dg-additional-options "-march=bonnell" { target x86_64-*-* } } */
       5  
       6  __int128 jv;
       7  
       8  void
       9  zm (__int128 g9, unsigned short int sm, short int hk)
      10  {
      11    while (hk < 1)
      12      {
      13        if (jv == 0)
      14          sm *= g9;
      15  
      16        if (sm < jv)
      17          hk = sm;
      18  
      19        g9 |= sm == hk;
      20      }
      21  }