This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]