This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: set_mem_attributes_minus_bitpos vs. size
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: rth at redhat dot com, gcc at gcc dot gnu dot org
- Date: Tue, 17 Sep 2002 12:03:34 +0930
- Subject: Re: set_mem_attributes_minus_bitpos vs. size
- References: <OF50720115.2FA37D56-ONC1256C36.005CDF53@de.ibm.com>
On Mon, Sep 16, 2002 at 07:19:31PM +0200, Ulrich Weigand wrote:
> expand_assignment then calls set_mem_attributes_minus_bitpos_size,
> which adjusts this target MEM to
> (mem/s:BLK (reg/f:SI 40) [5 pty.t+-40 S44 A64])
> which has the size already reduced to the size of a struct termios.
Isn't this the real bug? ie. pty.t-40 refers to the parent struct,
so the size should be left as that of the parent struct.
--
Alan Modra
IBM OzLabs - Linux Technology Centre