This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Hookify FUNCTION_ARG_PASS_BY_REFERENCE
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 Jul 2004 07:40:06 +0100
- Subject: Re: Hookify FUNCTION_ARG_PASS_BY_REFERENCE
- References: <20040714062610.GA10175@redhat.com>
Richard Henderson <rth@redhat.com> writes:
> @@ -7337,7 +7339,11 @@ function_arg_pass_by_reference (const CU
> if (type == NULL_TREE || mode == DImode || mode == DFmode)
------------^^^^^^^^^^^^^^^^^^
> return 0;
>
> - size = int_size_in_bytes (type);
> + if (type)
> + size = int_size_in_bytes (type);
> + else
> + size = GET_MODE_SIZE (mode);
> +
I don't think this hunk is necessary.
Richard