https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65505
--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> --- Author: olegendo Date: Mon Mar 23 18:57:58 2015 New Revision: 221604 URL: https://gcc.gnu.org/viewcvs?rev=221604&root=gcc&view=rev Log: gcc/ PR target/65505 * config/sh/predicates.md (simple_mem_operand, displacement_mem_operand): Add test for reg. (short_displacement_mem_operand): Test for displacement_mem_operand before invoking sh_disp_addr_displacement. * config/sh/constraints.md (Sdd, Sra): Simplify. * config/sh/sync.md (atomic_mem_operand_0, atomic_mem_operand_1): Remove redundant displacement_mem_operand tests. gcc/testsuite/ PR target/65505 * gcc.target/sh/torture/pr65505.c: New. Added: trunk/gcc/testsuite/gcc.target/sh/torture/pr65505.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/constraints.md trunk/gcc/config/sh/predicates.md trunk/gcc/config/sh/sync.md trunk/gcc/testsuite/ChangeLog