[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: pre egcs-1.1 testing and Linux 2.1.x
On Mon, 24 Aug 1998, Philip Blundell wrote:

>Precisely, and my objection to Andrea's patch was that it just disabled more
>optimisations, again to hide the bug.

Hmm, Philip you _could_ be right.

>Andrea wrote:
>>What I think is that the optimization code I commented out is buggy and
>>the bug is triggered by the regparm attribute.
>I think it's more subtle than that. The bug is not in the optimisations per
>se, it's in the register allocator and just happens to be provoked more often
>by higher optimisation (particularly when regparm is in use, because that
>increases register pressure significantly near function calls).

Are you sure? Did you tried it in practice? I thought that was the RTL
code generated by the optimization function (not arch dependent) that was

GOOD RTL -> buggy optimization function -> BAD RTL

The RTL is arch indipendent.

As you say it could be also that:

GOOD RTL -> not buggy optimization function -> GOOD RTL 2

and that:

GOOD RTL -> buggy asm generator -> GOOD ASM

GOOD RTL 2 -> buggy asm generator -> BAD ASM

It should be trivial to understand this for a gcc hacker (it' s not for me

Andrea[s] Arcangeli

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.076 / U:0.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site