view gcc/testsuite/gcc.dg/pr78644-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile { target int128 } } */
/* { dg-options "-Og -fipa-cp -w -Wno-psabi" } */

typedef unsigned __int128 u128;
typedef unsigned __int128 V __attribute__ ((vector_size (64)));

V x4;

static V
bar (u128 x2, u128 x3)
{
  while (x4[0]--)
    x2 /= x3 >>= 1;
  return x2 + x3 + x4;
}

void
foo (void)
{
  bar (0, 0);
}