Path: utzoo!telly!attcan!utgpu!watmath!uunet!mcsun!hp4nl!ruuinf!piet
From: piet@cs.ruu.nl (Piet van Oostrum)
Newsgroups: gnu.gcc.bug
Subject: Re: .Problem installing gcc 1.36 on HP9000/340 with HPUX 6.5.
Message-ID: <1631@ruuinf.cs.ruu.nl>
Date: 1 Oct 89 17:28:25 GMT
References: <1620@ruuinf.cs.ruu.nl>
Sender: news@ruuinf.cs.ruu.nl
Reply-To: piet@cs.ruu.nl (Piet van Oostrum)
Organization: Dept of Computer Science, University of Utrecht, Holland
Lines: 20
In-reply-to: piet@cs.ruu.nl (Piet van Oostrum)

In article <1620@ruuinf.cs.ruu.nl>, piet@cs (Piet van Oostrum) writes:
 `I try to install gcc 1.36 on my HP9000/340 workstation. I use the HP cc
 `
 `I killed it after 2 hours. The standard cc compiler compiles it in 1
 `minute.
 `
The problem appears to be the use of alloca(). I used the emacs alloca.c
version. This causes considerable thrashing when compiling large programs
with -O. For example: c-parse.tab.c compiled in 7 hours rather that the
normal 1 minute.

Solution: forget the -O flag on the stage1/stage2 compilations.
I then do the compilation again with -O but starting with the just
generated gcc (I want to make sure that gcc compiles itself correctly with
-O, and I want to have an optimized compiler). Thanks all who responded.
-- 
Piet van Oostrum, Dept of Computer Science, University of Utrecht
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht,  The Netherlands.
Telephone: +31-30-531806      Internet: piet@cs.ruu.nl
Telefax:   +31-30-513791      Uucp: uunet!mcsun!hp4nl!ruuinf!piet