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: function.c has unprotected call to FUNCTION_ARG_PASS_BY_REFERENCE


On Thu, Jul 08, 2004 at 03:35:29AM -0300, Alexandre Oliva wrote:
> 	* expr.h (FUNCTION_ARG_PARTIAL_NREGS): Default to 0.
> 	(FUNCTION_ARG_PASS_BY_REFERENCE): Likewise.
> 	(FUNCTION_ARG_CALLEE_COPIES): Likewise.
> 	* calls.c: Remove ifdefs of macros above.
> 	* functions.c: Likewise.
> 	* expr.c: Likewise.

Ok.

>  	  int must_copy = 1
> -#ifdef FUNCTION_ARG_CALLEE_COPIES
>  	    && ! FUNCTION_ARG_CALLEE_COPIES (args_so_far, mode,
>  					     NULL_TREE, 1)
> -#endif

Tidy up the "1 && foo" ?



r~


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