view gcc/testsuite/gcc.c-torture/compile/20040303-1.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

typedef struct input {
        struct input *next;
} input_t;
static input_t *inputs = (input_t *)((void *)0);
void
RemoveInput(unsigned long id)
{
 input_t *ip;
 input_t *prev;
 while (1)
  if (ip == (input_t *)id)
   break;
 if (ip == (input_t *)((void *)0))
  return;
  prev->next = ip->next;
}