summaryrefslogtreecommitdiff
path: root/libgfortran/generated/maxval_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/maxval_i4.c')
-rw-r--r--libgfortran/generated/maxval_i4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/maxval_i4.c b/libgfortran/generated/maxval_i4.c
index 354c86d9a1e..b35fa7b57bb 100644
--- a/libgfortran/generated/maxval_i4.c
+++ b/libgfortran/generated/maxval_i4.c
@@ -123,7 +123,7 @@ maxval_i4 (gfc_array_i4 * 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_i4 (gfc_array_i4 * 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_i4 (gfc_array_i4 * 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++)
{