From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21800 invoked by alias); 27 May 2004 22:11:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21792 invoked from network); 27 May 2004 22:11:35 -0000 Received: from unknown (HELO esds.vss.fsi.com) (66.136.174.212) by sourceware.org with SMTP; 27 May 2004 22:11:35 -0000 Received: from fordpc.vss.fsi.com (fordpc [198.51.27.93]) by esds.vss.fsi.com (8.11.6+Sun/8.9.1) with ESMTP id i4RMBfQ01716; Thu, 27 May 2004 17:11:41 -0500 (CDT) Date: Thu, 27 May 2004 23:30:00 -0000 From: Brian Ford Reply-To: cygwin@cygwin.com To: "Gerrit @ cygwin" cc: mathias.wagner@philips.com Subject: Re: GCC 3.3.1 problem with printf %Lg %Lg and -m128bit-long-double compile option In-Reply-To: <277403406.20040527205859@familiehaase.de> Message-ID: References: <277403406.20040527205859@familiehaase.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2004-05/txt/msg00943.txt.bz2 On Thu, 27 May 2004, Gerrit P. Haase wrote: > Hallo mathias, > > > GCC 3.3.1 has a problem when printing multiple long double variables using > > printf and the -m128bit-long-double compile option on a Pentium-based > > machine. > > Seems to be a bug in gcc, for bug reporting instructions, please see: > http://gcc.gnu.org/bugs.html. No disrespect intended Mr. GCC maintainer, but I'm pretty sure that is expected behavior. See "info gcc" in the -m128bit-long-double section: *Warning:* if you override the default value for your target ABI, the structures and arrays containing `long double' will change their size as well as function calling convention for function taking `long double' will be modified. Hence they will not be binary compatible with arrays or structures in code compiled without that switch. Cygwin/newlib would need to be recompiled with this switch for proper printf operation. Why are you trying to use this switch, Mathias? -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/