On Thu, Jan 8, 2009 at 7:22 PM, Ian Lance Taylor <iant@google.com> wrote: > > Per Ekman <pek@kth.se> writes: > > > Is it possible to get hold of the calling function (in the compiled > > program, not in gcc itself) in c-typeck.c:build_function_call()? > > It's in the global variable current_function_decl. Perfect, that did the trick. Thanks! /Pek