summaryrefslogtreecommitdiff
path: root/libgfortran/generated/spread_i2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/spread_i2.c')
-rw-r--r--libgfortran/generated/spread_i2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/spread_i2.c b/libgfortran/generated/spread_i2.c
index ac49aa9d999..83d42130376 100644
--- a/libgfortran/generated/spread_i2.c
+++ b/libgfortran/generated/spread_i2.c
@@ -121,7 +121,7 @@ spread_i2 (gfc_array_i2 *ret, const gfc_array_i2 *source,
if (GFC_DESCRIPTOR_RANK(ret) != rrank)
runtime_error ("rank mismatch in spread()");
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
for (n = 0; n < rrank; n++)
{