Hookify FUNCTION_ARG_PASS_BY_REFERENCE

Richard Sandiford rsandifo@redhat.com
Wed Jul 14 15:38:00 GMT 2004


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



More information about the Gcc-patches mailing list