Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr51071.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 } */ void foo (void); void bar (void *); extern int t; static void kmalloc_large (int size, int flags) { (void) size; (void) flags; foo (); bar (({__here:&&__here;})); } static void kmalloc (int size, int flags) { if (size) { if ((unsigned long) size > 0x1000) kmalloc_large (size, flags); if (flags) bar (({__here:&&__here;})); } } void compress_file_range (int i, int j, int k) { int nr_pages = ({j < k;}); if (i || t) kmalloc (0x1000UL * nr_pages, 0x40UL); }