Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/20021023-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 (2017-10-27) |
parents | |
children |
line wrap: on
line source
/* This testcase ICEd on x86-64 because LABEL_REF + small const was not considered as local_symbolic_operand. */ /* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ typedef __builtin_va_list va_list; static unsigned int foo (void *a, float b, const char *c, va_list d, void *e) { return -1; } unsigned int bar (void *a, float b, const char *c, ...) { va_list args; unsigned int d; __builtin_va_start (args, c); d = foo (a, b, c, args, a); __builtin_va_end (args); return d; }