[llvm-commits] PATCH: llvm-gcc option to emit "va_arg" instruction

David Meyer pdox at google.com
Fri Oct 15 12:04:29 PDT 2010


Hi Duncan,

The code was written by someone with a deeper understanding of gcc than
myself, so I can't give an entirely perfect answer, but...

I believe that VA_ARG_EXPR is only supposed to exist in the intermediate
representation. It is expected to be lowered during gimplification. For
example, in expand_expr(), there is an assertion if VA_ARG_EXPR is seen in
the gimplified tree.

- David M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101015/63ce7a45/attachment.html>


More information about the llvm-commits mailing list