[llvm-commits] [llvm-gcc-4.2] r45364 - /llvm-gcc-4.2/trunk/gcc/fortran/trans-types.c
asl at math.spbu.ru
Sun Dec 30 12:53:07 PST 2007
> > Mark all external functions decls to be varagrs instead of no args :)
> is there no better way?
I tried, but actually failed. There is special gcc PR for this. The
problem is that there can be special optional arguments in the middle of
the argument list and it is pretty tricky to construct a correct decl in
Marking decls as varargs is pretty cheap workaround: actually, current
llvm-gcc logic will correctly rewrite a decl to a "complete type", when
definition is available.
WBR, Anton Korobeynikov
More information about the llvm-commits