This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21085] [4.0/4.1 Regression] Virtual memory exhausted with g++
- 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: 18 Apr 2005 19:18:06 -0000
- Subject: [Bug middle-end/21085] [4.0/4.1 Regression] Virtual memory exhausted with g++
- References: <20050418131540.21085.strieder@informatik.uni-kl.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-18 19:18 -------
On the mainline we don't get virtual memory exhausted but that is because there has been a patch or
two to fix the memory usage but instead we get stack overflow:
#1207 0x002fc6e0 in fold_binary (code=TRUNC_MOD_EXPR, type=0x41d0c780, op0=0x26c9600,
op1=0x26b95e0) at /Users/pinskia/src/alias/gcc/gcc/fold-const.c:8509
#1208 0x002fe288 in fold_build2 (code=TRUNC_MOD_EXPR, type=0x26c9600, op0=0x17, op1=0x7)
at /Users/pinskia/src/alias/gcc/gcc/fold-const.c:10253
#1209 0x002fc6e0 in fold_binary (code=TRUNC_MOD_EXPR, type=0x41d0c780, op0=0x26c9600,
op1=0x26b95c0) at /Users/pinskia/src/alias/gcc/gcc/fold-const.c:8509
#1210 0x002fe288 in fold_build2 (code=TRUNC_MOD_EXPR, type=0x26c9600, op0=0x17, op1=0x7)
at /Users/pinskia/src/alias/gcc/gcc/fold-const.c:10253
#1211 0x002fc6e0 in fold_binary (code=TRUNC_MOD_EXPR, type=0x41d0c780, op0=0x26c9600,
op1=0x26b95a0) at /Users/pinskia/src/alias/gcc/gcc/fold-const.c:8509
Let me try to get a reduced testcase.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
Keywords| |ice-on-valid-code
Summary|Virtual memory exhausted |[4.0/4.1 Regression] Virtual
|with g++ |memory exhausted with g++
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21085