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: IA64 HP-UX patch (symbol reference)


On Tue, Sep 24, 2002 at 08:34:51AM -0700, Steve Ellcey wrote:
> +       if ((GET_MODE(temp) == Pmode) && (GET_MODE(src) != Pmode))
> + 	src = convert_memory_address(Pmode, src);

Spaces after function name; remove unneeded parenthesis around !=.
How about just

	if (GET_MODE (temp) != GET_MODE (src))
	  src = convert_memory_address (GET_MODE (temp), src);


r~


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