summaryrefslogtreecommitdiff
path: root/libgfortran/m4/iforeach.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/m4/iforeach.m4')
-rw-r--r--libgfortran/m4/iforeach.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/m4/iforeach.m4 b/libgfortran/m4/iforeach.m4
index a8a353a4bdb..b620c653f1a 100644
--- a/libgfortran/m4/iforeach.m4
+++ b/libgfortran/m4/iforeach.m4
@@ -36,7 +36,7 @@ name`'rtype_qual`_'atype_code (rtype * const restrict retarray,
}
else
{
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
int ret_rank;
index_type ret_extent;
@@ -152,7 +152,7 @@ void
}
else
{
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
int ret_rank, mask_rank;
index_type ret_extent;
@@ -311,7 +311,7 @@ void
}
else
{
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
int ret_rank;
index_type ret_extent;