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]

Re: RFA: gcc.c retry hack


On 30-Mar-2001, RDBrown@mira.net <RDBrown@mira.net> wrote:
> The following hack will retry a failing (ICE) compilation after stripping out
> -O arguments (controlled by the ICE_RETRY environment variable).
> At the moment it permits snapshots to build on alpha-dec-osf4.0e where
> they were running out of swap. Is it worth cleaning up for inclusion, to allow
> some testing when compiling with optimization fails for whatever reason?

IMHO yes.  We've had quite a bit of trouble with various versions of gcc
occaisionally getting an ICE when compiling the automatically-generated
C code produced by the Mercury compiler, and often lowering the optimization
level has been sufficient to solve the problem.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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