view gcc/testsuite/gcc.dg/pr68835-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* PR tree-optimization/68835 */
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2" } */

unsigned __int128
foo (unsigned long a, unsigned long b)
{
  unsigned __int128 x = (unsigned __int128) a * b;
  struct { unsigned __int128 a : 96; } w;
  w.a = x;
  return w.a;
}