Re: Fixed incorrect TARGET_MEM_REF alignment (PR 84419)

2018-02-20 Thread Richard Biener
On February 20, 2018 10:43:40 AM GMT+01:00, Richard Sandiford wrote: >expand_call_mem_ref checks for TARGET_MEM_REFs that have compatible >type, but it didn't then go on to install the specific type we need, >which might have different alignment due to: > > if (TYPE_ALIGN (type) != align) >t

Fixed incorrect TARGET_MEM_REF alignment (PR 84419)

2018-02-20 Thread Richard Sandiford
expand_call_mem_ref checks for TARGET_MEM_REFs that have compatible type, but it didn't then go on to install the specific type we need, which might have different alignment due to: if (TYPE_ALIGN (type) != align) type = build_aligned_type (type, align); This was causing masked stores to be