[Bug fortran/64120] [F03] Wrong handling of allocatable character string
juergen.reuter at desy dot de
gcc-bugzilla@gcc.gnu.org
Thu Jun 14 22:41:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64120
Jürgen Reuter <juergen.reuter at desy dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |juergen.reuter at desy dot de
--- Comment #4 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Using the newest trunk version of gfortran I funnily get
a.out(95928,0x7fffaa769380) malloc: *** mach_vm_map(size=140732694323200)
failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Operating system error: Cannot allocate memory
Allocation would exceed memory limit
Error termination. Backtrace:
#0 0x10d7f8c6c
#1 0x10d7f98f5
#2 0x10d7f9af8
#3 0x10d7f2cd3
#4 0x10d7f2d95
#5 0x10d7f2dce
and only if I use -O3 then I get the old, buggy result `1 0`.
More information about the Gcc-bugs
mailing list