--- Comment #13 from danglin at gcc dot gnu dot org 2010-06-11 21:59
---
268 MB for one number is a bit much! However, I think this is a gmp issue.
--
danglin at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2010-06-11 13:52
---
OK, so I suppose the test is a bit extreme, but other than that, I vote for
WONTFIX (or INVALID).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33584
--- Comment #11 from dfranke at gcc dot gnu dot org 2010-05-09 19:10
---
(In reply to comment #10)
> It looks like ~ 256 MB is needed to hold the result of the power
> operation being requested (2 ** 0x1fff). This is too much
> for this machine.
Is there anything we can do here? I
--- Comment #10 from danglin at gcc dot gnu dot org 2008-11-09 02:20
---
It looks like ~ 256 MB is needed to hold the result of the power
operation being requested (2 ** 0x1fff). This is too much
for this machine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33584
--- Comment #9 from danglin at gcc dot gnu dot org 2008-11-09 02:06 ---
(gdb) p *op1->value.integer[0]._mp_d
$15 = 2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33584
--- Comment #8 from danglin at gcc dot gnu dot org 2008-11-09 02:01 ---
(gdb) c
Continuing.
/xxx/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_4.f90:9.12:
print *, 0**(-1) ! { dg-error "Division by zero" }
1
Error: Division by zero at (1)
/xxx/gnu/gcc/gcc/gcc
--- Comment #7 from danglin at gcc dot gnu dot org 2008-11-09 01:37 ---
(gdb) p *op1
$2 = {expr_type = EXPR_CONSTANT, ts = {type = BT_INTEGER, kind = 4,
derived = 0x0, cl = 0x0, is_c_interop = 0, is_iso_c = 0,
f90_type = BT_UNKNOWN}, rank = 0, shape = 0x0, symtree = 0x0, ref =
--- Comment #6 from danglin at gcc dot gnu dot org 2008-11-09 00:59 ---
The same errors appear with gmp-4.2.4 and mpfr-2.3.2 built with
--enable-assert.
All tests pass with make check for both.
Breakpoint 1, 0x7aff9f40 in kill () from /usr/lib/libc.1
(gdb) bt
#0 0x7aff9f40 in kill () f
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2008-03-22
20:25 ---
Subject: Re: FAIL: gfortran.dg/integer_exponentiation_4.f90 -O (internal
compiler error)
> To go further, here's the information I think we need: What versions of GMP
> and
> MPFR are you using? Do they
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-03-22 19:35
---
To go further, here's the information I think we need: What versions of GMP and
MPFR are you using? Do they pass checking (make check in their respective build
directories)? What happens if you build them with int
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-01
15:23 ---
Subject: Re: FAIL: gfortran.dg/integer_exponentiation_4.f90 -O (internal
compiler error)
> You might also want to build GMP and MPFR with internal checking enabled
> (--enable-assert, I think). Doesn't t
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-10-01 13:05
---
You might also want to build GMP and MPFR with internal checking enabled
(--enable-assert, I think). Doesn't this one appear on hpux11?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33584
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-09-29 12:48 ---
GNU MP: Cannot reallocate memory (old_size=4 new_size=268435472)
this looks like a GMP bug, not a GCC bug [GCC doesn't even use GMP, only
MPFR which is used does].
What's your GMP version? Try updating to the late
13 matches
Mail list logo