Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr66178.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 compile } */ /* { dg-require-effective-target label_values } */ typedef __UINTPTR_TYPE__ uintptr_t; int test(void) { static uintptr_t a = ((char *)&&l1-(char *)&&l2)-1; l1: l2: return a; } int test2(void) { static uintptr_t a = ((char *)&&l2-(char *)&&l3)+((char *)&&l1-(char *)&&l2); l1: l2: l3: return a; }