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

--- Comment #7 from dave.anglin at bell dot net ---
On 2021-09-01 4:52 p.m., deller at gmx dot de wrote:
> I think the problem with your testcase is, that the compiler doesn't know the 
> alignment of the parameter "p" in your f_unaligned() function.
> So it will generate byte-accesses.
I think it's the type rather than the alignment.  If type is char, one gets
byte accesses.  If
type is short, one gets 16-bit accesses.

The alignment is being ignored.

Reply via email to