summaryrefslogtreecommitdiff
path: root/libgfortran/generated/maxval_i1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/maxval_i1.c')
-rw-r--r--libgfortran/generated/maxval_i1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/maxval_i1.c b/libgfortran/generated/maxval_i1.c
index a7288eb827b..961c32a8f26 100644
--- a/libgfortran/generated/maxval_i1.c
+++ b/libgfortran/generated/maxval_i1.c
@@ -123,7 +123,7 @@ maxval_i1 (gfc_array_i1 * const restrict retarray,
(long int) (GFC_DESCRIPTOR_RANK (retarray)),
(long int) rank);
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
for (n=0; n < rank; n++)
{
@@ -312,7 +312,7 @@ mmaxval_i1 (gfc_array_i1 * const restrict retarray,
if (rank != GFC_DESCRIPTOR_RANK (retarray))
runtime_error ("rank of return array incorrect in MAXVAL intrinsic");
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
for (n=0; n < rank; n++)
{
@@ -497,7 +497,7 @@ smaxval_i1 (gfc_array_i1 * const restrict retarray,
(long int) (GFC_DESCRIPTOR_RANK (retarray)),
(long int) rank);
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
for (n=0; n < rank; n++)
{