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]

[PTR-PLUS] Fix sparc for pointer plus


Hi,
 I can't figure out how these PLUS_EXPR/BIT_AND_EXPR could be invoked
so I forced them being invoked for sparc-elf to test them.  This is
just the normal change to the target to fix up the target for the
branch.

Committed to the branch after forcing the changes to happen with a
va_args testcase.

Thanks,
Andrew Pinski

ChangeLog:
	* config/sparc/sparc.c (sparc_gimplify_va_arg): Use POINTER_PLUS_EXPR
	instead of PLUS_EXPR when the operand was a pointer.  Don't create a
	BIT_AND_EXPR for pointer types.

Attachment: fixsparc.diff.txt
Description: Text document


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