aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr83554.c
blob: 63ab366ae90a82719045748c42598ea014bb7587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/83554 */
/* { dg-do compile { target int128 } } */
/* { dg-options "-Os -mmitigate-rop" } */

unsigned a;
unsigned __int128
foo (unsigned char c, unsigned short d, unsigned e, unsigned long f,
     unsigned __int128 g, unsigned h, unsigned short i, unsigned long j)
{
  j /= (unsigned)-2;
  h += h &= c == c;
  h -= g;
  i = i >> 8 | i << 8;
  return c + d + e + f + g + h + i + j + a;
}