This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"
- From: "aran at 100acres dot us" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2009 16:51:03 -0000
- Subject: [Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"
- References: <bug-39571-15541@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from aran at 100acres dot us 2009-03-30 16:51 -------
(In reply to comment #9)
My mistake, I printed the operands to mpz_pow_ui and got
gfc_arith_power: op1 = 2
gfc_arith_power: power = 2147483647
When I call mpz_pow_ui from c with these arguments, I get
GNU MP: Cannot reallocate memory (old_size=4 new_size=268435472)
This is obviously not a fortran bug.
--
aran at 100acres dot us changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39571