(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr51071.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target label_values } */
       3  
       4  void foo (void);
       5  void bar (void *);
       6  extern int t;
       7  
       8  static void kmalloc_large (int size, int flags)
       9  {
      10    (void) size;
      11    (void) flags;
      12    foo ();
      13    bar (({__here:&&__here;}));
      14  }
      15  
      16  static void kmalloc (int size, int flags)
      17  {
      18    if (size)
      19      {
      20        if ((unsigned long) size > 0x1000)
      21  	kmalloc_large (size, flags);
      22  
      23        if (flags)
      24  	bar (({__here:&&__here;}));
      25      }
      26  }
      27  
      28  void compress_file_range (int i, int j, int k)
      29  {
      30    int nr_pages = ({j < k;});
      31  
      32    if (i || t)
      33      kmalloc (0x1000UL * nr_pages, 0x40UL);
      34  }