This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix sparc segfault (Was: Re: [patch] Fix PR/14058)


On Sat, Feb 14, 2004 at 08:37:44AM +0100, Josef Zlomek wrote:
> I do not know what exactly means the
> (parallel:DF [
>         (expr_list (nil)
>             (const_int 0 [0x0]))
>         (expr_list (reg:DF 44 %f12 [ f ])
>             (const_int 0 [0x0]))
>     ])
> here (why there should be that (nil)).

It's documented under FUNCTION_ARG:

As a special exception the first @code{expr_list} in the @code{parallel}
RTX may have a first operand of zero.  This indicates that the entire
argument is also stored on the stack.

See also the construct that's used in eg. emit_group_load.
Better than checking every time through the loop, IMO.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]