Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr60930.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
/* { dg-do run } */ int x = 1; __attribute__((noinline, noclone)) void foo (unsigned long long t) { asm volatile ("" : : "r" (&t)); if (t == 1) __builtin_abort (); } int main () { #if __SIZEOF_LONG_LONG__ >= 8 unsigned long long t = 0xffffffffffffffffULL * (0xffffffffUL * x); if (t != 0xffffffff00000001ULL) foo (t);; #endif return 0; }