[Bug libstdc++/12533] valarray cshift causes stack overflow for large sizes

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 7 16:26:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-07 16:26:53
               date|                            |
            Summary|valarray cshift segfaults   |valarray cshift causes stack
                   |for large sizes             |overflow for large sizes


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-07 16:26 -------
I can confirm this on the mainline, the problem is that valarray uses the stack for 
temporary storage and it causes large usage on the stack and the stack size limit on your 
computer is low.  A workaround is to change the stacksize limit to unlimited.



More information about the Gcc-bugs mailing list