This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12533] valarray cshift causes stack overflow for large sizes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2003 16:26:53 -0000
- Subject: [Bug libstdc++/12533] valarray cshift causes stack overflow for large sizes
- References: <20031007161040.12533.amehrotr@uiuc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.