This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: When will the next gcc come out
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