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: [RFC] Massive recursion in tree_ssa_phiprop_1?


Richard Guenther wrote:

> 
> Well ... in this case it's likely the problem that propagate_with_phi is
> inlined (single-use static function) and maybe other helpers of it too.

  It is inlined.  I rebuilt jc1 after adding __attribute__ ((noinline)), and
the stack frame size for tree_ssa_phiprop_1 went down from 0xcc to 0x3c, so
that buys us some breathing room, but the problem is still lurking there;
compilation of a larger function could still trip it.  (It saved enough
headroom for my trial build of the libjava html parser to complete successfully.)

  Should we be concerned that end-users might run into this in real-world
situations when they're compiling large files of bulk auto-generated code?

    cheers,
      DaveK


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