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