------- Comment #4 from ubizjak at gmail dot com  2008-12-29 20:42 -------
Preprocessed source, can be compiled with a crosscompiler:

--cut here--
# 1 "pod.C"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "pod.C"
# 1 "/usr/lib/gcc/alpha-linux-gnu/4.2.4/include/stdarg.h" 1 3 4
# 43 "/usr/lib/gcc/alpha-linux-gnu/4.2.4/include/stdarg.h" 3 4
typedef __builtin_va_list __gnuc_va_list;
# 105 "/usr/lib/gcc/alpha-linux-gnu/4.2.4/include/stdarg.h" 3 4
typedef __gnuc_va_list va_list;
# 2 "pod.C" 2

extern int foo (int a, int b, ...);

int bar (int a, int b, ...)
{
  va_list args;
    __builtin_va_start(args,b);
      int result = foo (a, b, args);
        __builtin_va_end(args);
   return result;
   }
--cut here--


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31488

Reply via email to