I have the following to report, perhaps it is a bug in gcc for Cygwin.

I wrote a C subroutine that allocated 60000 integers on the stack each time it was called. Under Cygwin gcc 2.95x this worked fine. However, when compiled with the current gcc 3.2 it fails if compiled using the -fomit-frame-pointer optimization (default from configure).

Without this optimization turned on all is well. Declaring the array static cleared up this problem and the program can be compiled and run sucessfully using -fomit-frame-pointer.

Cheers,
Charles Werner





--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/

Reply via email to