From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23440 invoked by alias); 9 Jan 2004 00:48:12 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 23433 invoked from network); 9 Jan 2004 00:48:11 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 9 Jan 2004 00:48:11 -0000 Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1AekoT-0005pn-3m for gcc@gnu.org; Thu, 08 Jan 2004 19:47:45 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AellL-0000si-Qi for gcc@gnu.org; Thu, 08 Jan 2004 20:49:07 -0500 Received: from [213.191.74.84] (helo=mx2.ngi.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aelbf-0007CR-Jp for gcc@gnu.org; Thu, 08 Jan 2004 20:38:35 -0500 Received: (qmail 10886 invoked from network); 9 Jan 2004 00:31:40 -0000 Received: from unknown (HELO rz.zidlicky.org) ([217.185.117.102]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 9 Jan 2004 00:31:40 -0000 Received: by rz.zidlicky.org (Postfix, from userid 511) id 2213B708B4; Fri, 9 Jan 2004 01:35:53 +0100 (CET) Date: Fri, 09 Jan 2004 00:48:00 -0000 From: Richard Zidlicky To: Bernardo Innocenti Cc: gcc@gnu.org Subject: Re: m68k bootstrapping broken Message-ID: <20040109003553.GA8001@linux-m68k.org> References: <20040105122028.GA14266@linux-m68k.org> <3FFA0A3E.6000507@develer.com> <20040106085137.GA1610@linux-m68k.org> <3FFA9AB6.6070403@develer.com> <20040106205059.GA24045@linux-m68k.org> <3FFB4EE2.2080803@develer.com> <20040107182419.GA2906@linux-m68k.org> <3FFC71BA.2060105@develer.com> <20040108212228.GA5135@linux-m68k.org> <3FFDD287.5090504@develer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <3FFDD287.5090504@develer.com> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-5.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SW-Source: 2004-01/txt/msg00532.txt.bz2 On Thu, Jan 08, 2004 at 10:58:31PM +0100, Bernardo Innocenti wrote: > Richard Zidlicky wrote: > > >The above diffs may suggest that something is wrong with the > >improved prologue/epilogue generation on m68k but since this > >is a miscompiled compiler it could be very easilly pure > >coincidence. > > A non-trivial side-effect of the new frame generation code > is that, when -fomit-frame-pointer is enabled, there's no > longer a wasted slot where the frame pointer would normally > be saved. > > This change could affect buggy user code containing > off-by-one stack overflows. Is it possible that there is some endianness or similar issue inside the new frame generation code? Bitfields or whatever might cause portability problems? > IIRC, -O2 implies -fomit-frame-pointer on the m68k. it doesnt imply that. I have already tried both variants, no visible difference wrt this bug. Richard