Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/pr70429.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR rtl-optimization/70429 */ __attribute__((noinline, noclone)) int foo (int a) { return (int) (0x14ff6e2207db5d1fLL >> a) >> 4; } int main () { if (sizeof (int) != 4 || sizeof (long long) != 8 || __CHAR_BIT__ != 8) return 0; if (foo (1) != 0x3edae8 || foo (2) != -132158092) __builtin_abort (); return 0; }