This is the mail archive of the gcc-patches@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: Clear TYPELESS_STORAGE when turning type to incmplete


On Tue, 6 Nov 2018, Jan Hubicka wrote:

> > On Tue, 6 Nov 2018, Jan Hubicka wrote:
> > 
> > > Hi,
> > > this patch adds code to clear typeless storage flag. This is needed to
> > > enable some more merging for C++ types containing char array.
> > >
> > > Bootstrapped/regtesed x86_64-linux, OK?
> > 
> > OK.  (I guess we could equally well set it to 1?)
> 
> Then we would need to set it for front-end built incomplete types as
> well. Whatever I construct in here should better match real incomplete
> type built by front-ends otherwise merging of other types referring to
> this one via pointers won't happen.

Ah, of course.

Richard.


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