This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: valreg at calls.c is 0 at a moment
"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