https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66310

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-05-28
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
If I replace the line

      print *, repeat(z, huge(1_4))

with

      print *, repeat(z, 262500000)

in the second code of comment 0, the code compiles, not with

      print *, repeat(z, 275000000)

f951(2361,0x7fff72381300) malloc: *** mach_vm_map(size=18446744073447682048)
failed (error code=3)

Note that 275000000 is well below the 16Gb of memory I have on my machine and I
don't understand why gfortran needs to allocate 18446744073447682048 bytes.

Reply via email to