delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Thu, 27 May 2004 17:11:34 -0500 |
From: | Brian Ford <ford AT vss DOT fsi DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
To: | "Gerrit @ cygwin" <cygwin AT cygwin DOT com> |
cc: | mathias DOT wagner AT philips DOT 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: | <Pine.CYG.4.58.0405271657480.1584@fordpc.vss.fsi.com> |
References: | <OFFB435626 DOT E532FF68-ONC1256EA0 DOT 003FCC45-C1256EA0 DOT 00405F9A AT philips DOT com> <277403406 DOT 20040527205859 AT familiehaase DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |