aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/libgfortran/generated/maxloc1_8_r4.c
diff options
context:
space:
mode:
authorJing Yu <jingyu@google.com>2012-02-15 15:40:16 -0800
committerJing Yu <jingyu@google.com>2012-02-15 15:40:16 -0800
commit3f73d6ef90458b45bbbb33ef4c2b174d4662a22d (patch)
tree1b5f0d96c51b51168b3713058a1b62e92f1136eb /gcc-4.6/libgfortran/generated/maxloc1_8_r4.c
parentd7030123e04baab5dbff9c9ee04c0de99bd9a774 (diff)
downloadtoolchain_gcc-3f73d6ef90458b45bbbb33ef4c2b174d4662a22d.tar.gz
toolchain_gcc-3f73d6ef90458b45bbbb33ef4c2b174d4662a22d.tar.bz2
toolchain_gcc-3f73d6ef90458b45bbbb33ef4c2b174d4662a22d.zip
Sync down FSF r184235@google/gcc-4_6_2-mobile branch
1) Get mostly new patches from FSF gcc-4.6 branch 2) Fix PR52129 3) Insert GNU-stack note for all ARM targets Change-Id: I2b9926981210e517e4021242908074319a91d6bd
Diffstat (limited to 'gcc-4.6/libgfortran/generated/maxloc1_8_r4.c')
-rw-r--r--gcc-4.6/libgfortran/generated/maxloc1_8_r4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc-4.6/libgfortran/generated/maxloc1_8_r4.c b/gcc-4.6/libgfortran/generated/maxloc1_8_r4.c
index 97ef902d9..584bdb81f 100644
--- a/gcc-4.6/libgfortran/generated/maxloc1_8_r4.c
+++ b/gcc-4.6/libgfortran/generated/maxloc1_8_r4.c
@@ -101,6 +101,7 @@ maxloc1_8_r4 (gfc_array_i8 * const restrict retarray,
alloc_size = sizeof (GFC_INTEGER_8) * GFC_DESCRIPTOR_STRIDE(retarray,rank-1)
* extent[rank-1];
+ retarray->data = internal_malloc_size (alloc_size);
if (alloc_size == 0)
{
/* Make sure we have a zero-sized array. */
@@ -108,8 +109,6 @@ maxloc1_8_r4 (gfc_array_i8 * const restrict retarray,
return;
}
- else
- retarray->data = internal_malloc_size (alloc_size);
}
else
{