From xemacs-m  Thu Dec 12 10:35:19 1996
Received: from fserver.fh-koblenz.de (fserver.koblenz.fh-rpl.de [143.93.145.2]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with ESMTP id KAA03896 for <xemacs-beta@xemacs.org>; Thu, 12 Dec 1996 10:34:20 -0600 (CST)
Received: from sparc501.fhspool1 (sparc501.fh-koblenz.de [143.93.145.11])
          by fserver.fh-koblenz.de (8.8.4/8.8.4) with SMTP
	  id RAA01833; Thu, 12 Dec 1996 17:32:53 +0100 (MET)
Received: by sparc501.fhspool1 (SMI-8.6/SMI-SVR4)
	id RAA01036; Thu, 12 Dec 1996 17:33:44 +0100
From: mschmidt@fserver.fh-koblenz.de (M. Schmidt)
Message-Id: <199612121633.RAA01036@sparc501.fhspool1>
Subject: Re: 19.15b3 crash on alpha-dec-osf3.2
To: xemacs-beta@xemacs.org
Date: Thu, 12 Dec 1996 17:33:43 +0100 (MET)
In-Reply-To: <rxsiv6792lw.fsf@midnight.ecf.teradyne.com> from "Adrian Aichner" at Dec 12, 96 04:58:03 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> 
> Hello Tore, hello Steven,
> 
> I have made the same experience on sparc-sun-solaris2.5 compiled '-g -O3'.
> 
> Using sb-bench.el mailed by Steven on December 8th.
> 
> I byte-compiled a file containing
> ============================================================================
> ;(load-library "sb-bench.el")
> ;(setq bench-large-lisp-file "/xemacs-20.0-b30/lisp/prim/loaddefs.el")
> (load "sb-bench.elc")
> (setq bench-large-lisp-file "/xemacs-20.0-b30/lisp/prim/loaddefs.el")
> (setq bench-enabled-profiling nil)
> (bench 3)
> ============================================================================
> 
> When executing via M-x load-file bench.el it always hangs up during the
> TOH benchmark.


Hi,

isn't it that the combination of '-g' with '-O3' is NOT recommended?

An other point is:
If one is using gcc then have a look at gcc's version.
gcc-2.7.2 has had a serious bug when being used with the '-O3' option.
This -O3 bug didn't show its effect always but only sometimes in certain contexts,
don't know more details myself.
If you are using gcc-2.7.2 then it may be worth to upgrade to gcc-2.7.2.1.
If you'll do so and will be compiling gcc-2.7.2.1 with gcc-2.7.2 then you 
shouldn't use -O3 flag but follow a special procedure.

Just thought of all this as a hint.

A nice day to all
Michael

-- 
Michael Schmidt      mschmidt@fh-koblenz.de

             SAMBA Admin
Samba Server for Win95 + WinNT + LANManager
        Fachhochschule Koblenz

