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: [PATCH][C++] Improve PR15855 (compile-time/memory hog)


On Fri, 2005-09-16 at 19:21 +0200, Giovanni Bajo wrote:
> Richard Guenther <rguenther@suse.de> wrote:
> 
> > This patch makes the C++ frontend emit static initializers and
> > destructors with exposing less jump-threading opportunities to DOM,
> > which otherwise uses a gazillion amount of memory and compile-time.
> 
> 
> I'm not a big fan of working around our own bugs. If DOM has compile-time
> explosion, it means it needs tuning, not that we should tune our internally
> generated code; users could exploit the same compile-time hog anyway.
This one really isn't a question of tuning -- this one is really best
fixed by fixing the C++ front-end if that's possible (I'm nowhere near
familiar enough with the C++ front-end to tackle that).  

Jef


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