Mail Archives: djgpp/1996/01/10/01:34:16
On Tue, 9 Jan 1996, Charles Sandmann wrote:
> > Just last night I downloaded beta4, and recompiled my program with it.
> > However, I was forced to switch back to beta3 because beta4 seems to
> > produce unbearably slow code.
>
> This is almost certainly a byproduct of not upgrading CWSDPMI at the
> same time. Get beta 9. Also check for whatever other zips you missed.
It can also be a real problem with gcc 2.7.1. To test, you should
compile and link your program under beta4 with gcc 2.6.3 binaries from
beta3, then run your program and see if it's slow. If it is, then just
upgrading to CWSDPMI beta9 will do. If it's fast, then this is a genuine
gcc optimization problem in 2.7.1, and the solution isn't as simple.
You can also test this by running under a DPMI server other than CWSDPMI.
Another possibility is that some library function your program calls
is significantly slower in beta4, but I don't think so, because the
library didn't change much.
- Raw text -