From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19669 invoked by alias); 3 Jan 2004 23:00:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19650 invoked from network); 3 Jan 2004 23:00:14 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.115.144) by sources.redhat.com with SMTP; 3 Jan 2004 23:00:14 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i03N0AIc000258; Sun, 4 Jan 2004 00:00:10 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i03N0Act000360; Sun, 4 Jan 2004 00:00:10 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i03N099l000357; Sun, 4 Jan 2004 00:00:09 +0100 (CET) Date: Sat, 03 Jan 2004 23:00:00 -0000 Message-Id: <200401032300.i03N099l000357@elgar.kettenis.dyndns.org> From: Mark Kettenis To: mec.gnu@mindspring.com CC: gdb-patches@sources.redhat.com In-reply-to: <20040103224717.CBDD04B35A@berman.michael-chastain.com> (mec.gnu@mindspring.com) Subject: Re: [PATCH] Deal with GCC bug on 64-bit SPARC References: <20040103224717.CBDD04B35A@berman.michael-chastain.com> X-SW-Source: 2004-01/txt/msg00064.txt.bz2 Date: Sat, 3 Jan 2004 17:47:17 -0500 (EST) From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) > GCC generates code that doesn't conform to the ABI. I hate it when that happens. Well, it's a corner case. Only if you define a structure that consists of a single `float' member and pass it by value and you're mixing code from two compiler you'll get hit. Any sensible person would not use a struct here and simply pass the float around. Can you enhance your comment to say which version of gcc? gcc 3.4 has a different default ABI than gcc 3.3. I've seen this with GCC 3.3.2, GCC 3.3.3-ish and GCC 3.4. But I bet older versions have this problem too. Anyway, I'm talking about plain old C here, not C++. Oh, and it's SPARC only of course. Anyway, it's nothing we should be too worried about. GDB handles it without problems now :-). Mark