aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/caf_shared/coarraynative.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/caf_shared/coarraynative.c')
-rw-r--r--libgfortran/caf_shared/coarraynative.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/caf_shared/coarraynative.c b/libgfortran/caf_shared/coarraynative.c
index cf72433..e2020ce 100644
--- a/libgfortran/caf_shared/coarraynative.c
+++ b/libgfortran/caf_shared/coarraynative.c
@@ -95,11 +95,11 @@ get_memory_size (void)
}
if (sz == 0)
{
- /* Use 256 MB for 32-bit systems and 256 GB for 64-bit systems. */
+ /* Use 256 MB for 32-bit systems and 4 GB for 64-bit systems. */
if (sizeof (size_t) == 4)
sz = ((size_t) 1) << 28;
else
- sz = ((size_t) 1) << 38;
+ sz = ((size_t) 1) << 34;
}
return sz;
}