summaryrefslogtreecommitdiff
path: root/libgfortran/generated/reshape_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/reshape_i4.c')
-rw-r--r--libgfortran/generated/reshape_i4.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libgfortran/generated/reshape_i4.c b/libgfortran/generated/reshape_i4.c
index 4a55b68fed6..3e0c9d68542 100644
--- a/libgfortran/generated/reshape_i4.c
+++ b/libgfortran/generated/reshape_i4.c
@@ -94,10 +94,10 @@ reshape_4 (gfc_array_i4 * const restrict ret,
{
shape_data[n] = shape->data[n * shape->dim[0].stride];
if (shape_data[n] <= 0)
- {
- shape_data[n] = 0;
- shape_empty = 1;
- }
+ {
+ shape_data[n] = 0;
+ shape_empty = 1;
+ }
}
if (ret->data == NULL)
@@ -131,7 +131,7 @@ reshape_4 (gfc_array_i4 * const restrict ret,
rstride[n] = ret->dim[dim].stride;
rextent[n] = ret->dim[dim].ubound + 1 - ret->dim[dim].lbound;
if (rextent[n] < 0)
- rextent[n] == 0;
+ rextent[n] = 0;
if (rextent[n] != shape_data[dim])
runtime_error ("shape and target do not conform");