> 
> err yeah, I guess we'd need to rework things so front end just creates
> functions for each variable and then middle end pass creates function
> that call all of them if necessary.

There is already code for that in cdtor optimization pass (ipa.c), but I think
C++ does its own wrapper to solve orderin issues - but I am not sure abou thtat.
Never really cared why those in-frontend wrappers are produced.

Honza
> 
> > Should not be hard to add though. Need to read back why inlining would
> > be undesriable here - not inliing ctors in general would indeed be 
> > problematic
> > (preventing SRA and more stuff)
> 
> yeah, doesn't seem that hard.
> 
> Trev
> 
> > 
> > Honza
> > > 
> > > Trev
> > > 
> > > > 
> > > > Richard.

Reply via email to