When will the next gcc come out

Dave Korn dave.korn.cygwin@gmail.com
Fri Jul 23 14:00:00 GMT 2010


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



More information about the Cygwin mailing list