This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug rtl-optimization/18260] generated code uses memory beyond allocated stack frame.


------- Additional Comments From jtc at acorntoolworks dot com  2004-11-01 22:45 -------
I seem to have missed the description of the "red-zone" when I read the ABI.  It's a neat optimization 
for leaf functions, but violates the principal of least suprise.

I have confirmed that the MySQL4 crashes that we were experiencing went away with -mno-red-zone.

I have done further investigation, and it appears that NetBSD/amd64's thread context switch code did 
not preserve the red-zone until recently.  This has been fixed in -current, and hopefully the changes 
will be pulled up to the release branch before 2.0 is released.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18260


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