modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr42998.c (about)

     1  void foo(void *);
     2  void bar(void *);
     3  void ndisc_fill_addr_option(unsigned char *opt, int data_len,
     4  			    unsigned short addr_type) 
     5  {
     6    int pad;
     7    if (addr_type == 32)
     8      pad = 2;
     9    else
    10      pad = 0;
    11    __builtin_memset(opt + 2, 0, pad);
    12    opt += pad;
    13    __builtin_constant_p(data_len) ? foo (opt+2) : bar (opt+2);
    14  }
    15