Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: "Gerrit @ cygwin" 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: References: <277403406 DOT 20040527205859 AT familiehaase DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/