valreg at calls.c is 0 at a moment

Ian Lance Taylor iant@google.com
Sun Oct 4 09:31:00 GMT 2009


"Kim, Eunchan" <helpbygrace@gmail.com> writes:

> I have a question. what exactly aggregate_value_p(exp, fndecl) means?
> so, if aggregate_value_p is not true. May this problem be solved?

aggregate_value_p means that EXP returns an aggregate--something which
must be passed in memory rather than in registers.  See the comment
above the definition of the function in function.c.  It's very strange
for malloc to return an aggregate; it normally returns a pointer.

Ian



More information about the Gcc-help mailing list