[Patch] pr63937: TARGET_USE_BY_PIECES_INFRASTRUCTURE_P should take an unsigned HOST_WIDE_INT size argument

2014-11-18 Thread James Greenhalgh
Hi, The TARGET_USE_BY_PIECES_INFRASTRUCTURE_P hook takes an unsigned int for the size of memory operation. This is dangerous, as all the callers of this hook pass an unsigned HOST_WIDE_INT. This causes pr63937, where the compiler ends up trying to emit an unfeasible number of instructions for a

Re: [Patch] pr63937: TARGET_USE_BY_PIECES_INFRASTRUCTURE_P should take an unsigned HOST_WIDE_INT size argument

2014-11-18 Thread Jakub Jelinek
On Tue, Nov 18, 2014 at 09:57:37PM +, James Greenhalgh wrote: 2014-11-18 James Greenhalgh james.greenha...@arm.com PR target/63937 * target.def (use_by_pieces_infrastructure_p): Take unsigned HOST_WIDE_INT as the size parameter. * targhooks.c