------- 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