Re: question about TARGET_MUST_PASS_IN_STACK

2009-06-03 Thread Ian Lance Taylor
DJ Delorie writes: > On xstormy16, when structures with variable-length arrays are passed > to functions (execute/20020412-1.c), it appears that they're passed by > reference (based on examining the stack), despite the port not > explicitly requesting that. > > This causes a mis-match in the va_a

question about TARGET_MUST_PASS_IN_STACK

2009-06-02 Thread DJ Delorie
On xstormy16, when structures with variable-length arrays are passed to functions (execute/20020412-1.c), it appears that they're passed by reference (based on examining the stack), despite the port not explicitly requesting that. This causes a mis-match in the va_arg code, which assumes the arra