Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/bad.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
typedef union longlong { struct {unsigned short h0, h1, h2, h3;} h; struct {signed long low, high;} si; struct {unsigned long low, high;} ui; signed long long sll; unsigned long long ull; } long_long; long long __negdi2 (u) long long u; { long_long uu; uu.sll = u; uu.si.low = -uu.si.low; if (uu.si.low == 0) uu.si.high = -uu.si.high; else uu.si.high = ~uu.si.high; return uu.sll; }