This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compile with -fomit-frame-pointer and gcc


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]