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 middle-end/17696] [cygwin] builtin alloca SIGSEGV with size too large


------- Additional Comments From bangerth at dealii dot org  2004-09-27 16:52 -------
The man page of alloca says: 
    RETURN VALUE 
       The alloca function returns a pointer to the beginning  of 
       the allocated space.  If the allocation causes stack over­ 
       flow, program behaviour is undefined. 
 
I guess you have to live with the fact that allocating large chunks of 
memory on the stack isn't such a great idea. 
 
W. 

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


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


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