Re: [patch 02/2] allow gcc4 to optimize unit-at-a-time



On Wed, Dec 28, 2005 at 01:47:04PM +0100, Sam Ravnborg wrote:
> On Wed, Dec 28, 2005 at 08:04:35AM -0500, Jakub Jelinek wrote:
> > No.
> > -fno-unit-at-a-time should be used with GCCs that
> > a) support it
> > b) are older than GCC 4.0
> >
> > The "$(GCC_VERSION) -lt 0400" test cares of b),
> > $(call cc-option,-fno-unit-at-a-time) cares of a).
>
> There was a reason for disabling it unconditionally in first place.
> That was due to unexpected huge stack usage if I understand correct.
> Ingo's patch enebles unit-at-a-time only for gcc > 4.00 which should
> have this issue fixed.
>
> If the argument is that we suddenly shall enable unit-at-a-time for
> gcc before 4.00 then we should visit the reasons why it originally was
> disabled.
Hi Jakub.

Reading your mail once more I understood it.
And you are right of course.

Sam - on his way to get more coffee...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Friday afternoon C trivia:
    ... GCC doesn't support:> And, you have to understand the nature ... particular reason that influences that choice) and then ... I often use arrays of strings, but these are explicitly arrays of ...
    (comp.arch.embedded)
  • Re: [patch 02/2] allow gcc4 to optimize unit-at-a-time
    ... > a) support it ... There was a reason for disabling it unconditionally in first place. ... gcc before 4.00 then we should visit the reasons why it originally was ...
    (Linux-Kernel)
  • Re: port gcc for c51 step by step
    ... but the reason gcc does not support the c51 is ... because of its architecture which has limited stack ...
    (comp.arch.embedded)
  • Re: port gcc for c51 step by step
    ... but the reason gcc does not support the c51 is ... That's simple enough -- you just don't use the hardware stack: ...
    (comp.arch.embedded)
  • Re: Installing C compiler on Solaris 7?
    ... get more support on the later versions of Solaris. ... It has a nice debugger, does not extand the language like gcc does, hence IMHO is a better choice. ... It seems *ages* ago I first bought a copy of Solaris 7. ... I wanted two copies, but Sun would only let me buy one copy on my credit card, for some reason I never did work out!! ...
    (comp.sys.sun.admin)