summaryrefslogtreecommitdiff
path: root/libgfortran/generated/spread_c4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/spread_c4.c')
-rw-r--r--libgfortran/generated/spread_c4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/spread_c4.c b/libgfortran/generated/spread_c4.c
index f1b16e7e132..45415e429e4 100644
--- a/libgfortran/generated/spread_c4.c
+++ b/libgfortran/generated/spread_c4.c
@@ -121,7 +121,7 @@ spread_c4 (gfc_array_c4 *ret, const gfc_array_c4 *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++)
{