This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unaligned block moves and MEM_ALIGN re-broken
- From: DJ Delorie <dj at redhat dot com>
- To: dje at watson dot ibm dot com
- Cc: kenner at vlsi1 dot ultra dot nyu dot edu, geoffk at redhat dot com, dalej at apple dot com, gcc at gcc dot gnu dot org
- Date: Thu, 24 Jan 2002 19:10:38 -0500
- Subject: Re: Unaligned block moves and MEM_ALIGN re-broken
- References: <200201242359.SAA23310@makai.watson.ibm.com>
> struct x { char c[8]; };
> : GET_MODE (RTX) != BLKmode ? GET_MODE_ALIGNMENT (GET_MODE (RTX)) \
I think we're back to the fundamental bug of the mode claiming to be
DI instead of BLK - so it guesses the alignment wrong. I think
someone needs to somehow be aware of this case, so it can override the
mode-based alignment.