This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: set_mem_attributes_minus_bitpos vs. size


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]