[Bug target/80382] ICE with error: unrecognizable insn

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 12 08:40:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Fixed on trunk (I forgot the marker in the checkin comment, oops):

rs6000: Enforce quad_address_p in TImode atomic_load/store (PR80382)

Whatever expand expands to should be valid instructions.  The defined
instructions here have a quad_memory_operand predicate, which boils
down to quad_address_p on the address, so let's test for that instead
of only disallowing indexed addresses.


        PR target/80382
        * config/rs6000/sync.md (atomic_load<mode>, atomic_store<mode): Test
        for quad_address_p for TImode, instead of just not indexed_address.


More information about the Gcc-bugs mailing list