[Patch] Ignore Invalid Memory operands in constraint 'X'

Hurugalawadi, Naveen Naveen.Hurugalawadi@caviumnetworks.com
Wed Dec 12 03:29:00 GMT 2012


The definition of constraint 'X' allows all operands.
`X' - Any operand whatsoever is allowed.
However, invalid memory operands should not be valid input for 'X'.

Please find attached the patch "X_constraint.patch" which ignores 
invalid memory operands in constraint 'X'.

Fixes the ICE gcc.dg/torture/asm-subreg-1.c on aarch64.

Regression Tested on aarch64-elf. No new Regressions.

2012-12-12  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

	*recog.c (asm_operand_ok): Ignore invalid memory operands in
	constraint 'X'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: X_constraint.patch
Type: text/x-patch
Size: 451 bytes
Desc: X_constraint.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121212/db608655/attachment.bin>

More information about the Gcc-patches mailing list