view gcc/testsuite/gcc.dg/pr68835-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

/* 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;
}