(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
20030330-1.c
       1  /* PR opt/10011 */
       2  /* This is link test for builtin_constant_p simplification + DCE.  */
       3  
       4  extern void link_error(void);
       5  static void usb_hub_port_wait_reset(unsigned int delay)
       6  {
       7          int delay_time;
       8          for (delay_time = 0; delay_time < 500; delay_time += delay) {
       9                  if (__builtin_constant_p(delay))
      10                          link_error();
      11          }
      12  }
      13  
      14  int main() { return 0; }