From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26595 invoked by alias); 23 Jul 2010 13:57:14 -0000 Received: (qmail 26586 invoked by uid 22791); 23 Jul 2010 13:57:13 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-wy0-f171.google.com (HELO mail-wy0-f171.google.com) (74.125.82.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Jul 2010 13:57:08 +0000 Received: by wyb29 with SMTP id 29so267796wyb.2 for ; Fri, 23 Jul 2010 06:57:05 -0700 (PDT) Received: by 10.216.175.143 with SMTP id z15mr3556743wel.64.1279893425785; Fri, 23 Jul 2010 06:57:05 -0700 (PDT) Received: from [192.168.2.99] ([82.6.108.62]) by mx.google.com with ESMTPS id u32sm180488weq.35.2010.07.23.06.57.04 (version=SSLv3 cipher=RC4-MD5); Fri, 23 Jul 2010 06:57:04 -0700 (PDT) Message-ID: <4C49A4A9.8040501@gmail.com> Date: Fri, 23 Jul 2010 14:00:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: When will the next gcc come out References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-07/txt/msg00503.txt.bz2 On 23/07/2010 10:02, Huang Bambo wrote: > > Gcc optimized out some code like > *fp++ = *format_string ++; > > When I gdb to that line and "print fp", gdb reported that fp is optized out... You need to check in more detail than that. GCC may have optimised away the fp variable, but kept the functionality implied by the line. You'd need to study the assembly code to see if it really did what the C code said it should do or not. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple