From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14125 invoked by alias); 23 Jan 2002 09:26:18 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14086 invoked from network); 23 Jan 2002 09:26:17 -0000 Received: from unknown (HELO smtp.serco.com) (195.50.81.243) by sources.redhat.com with SMTP; 23 Jan 2002 09:26:17 -0000 Received: from smtp.serco.com ([127.0.0.1] helo=SMTP) by smtp.serco.com with smtp (Exim 3.22 #26) id 16TJfc-0000kO-02 for gcc-help@gcc.gnu.org; Wed, 23 Jan 2002 09:26:16 +0000 Received: from tsd.serco.com ([10.23.1.224]) by 10.23.1.226 (Norton AntiVirus for Internet Email Gateways 1.0) ; Wed, 23 Jan 2002 09:26:16 0000 (GMT) Received: from TSD-Message_Server by tsd.serco.com with Novell_GroupWise; Wed, 23 Jan 2002 09:26:14 +0000 Message-Id: X-Mailer: Novell GroupWise 5.2 Date: Wed, 23 Jan 2002 01:26:00 -0000 From: "Phil Prentice" To: gcc-help@gcc.gnu.org Subject: Help on 3.0.2 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2002-01/txt/msg00225.txt.bz2 Hi For various reasons I have had to update to using the gcc 3.0.2 cross-co= mpiler for vxWorks (i.e. m68-wrs-vxworks-gcc). Are there any known problems with this version regarding optimisation? Cod= e that I have built with 2.95.3 built and worked fine. As soon as I built i= t with 3.0.2 I started getting optimisation problems. It appears to be opt= imising my code even if I try and tell it not to (-O0). This is causing gr= ief with drivers using interrupt routines. Also debug does not seem to be w= orking as well as it use to....again is this due to unwanted optimisation? I may need to go back to 2.95.3 and solve the warning problem that I had w= ith that another way. Thanks Phil Prentice