summaryrefslogtreecommitdiff
path: root/libgfortran/generated/product_i8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/product_i8.c')
-rw-r--r--libgfortran/generated/product_i8.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/product_i8.c b/libgfortran/generated/product_i8.c
index da28568f39e..5a2c78b4bf6 100644
--- a/libgfortran/generated/product_i8.c
+++ b/libgfortran/generated/product_i8.c
@@ -123,7 +123,7 @@ product_i8 (gfc_array_i8 * 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++)
{
@@ -311,7 +311,7 @@ mproduct_i8 (gfc_array_i8 * const restrict retarray,
if (rank != GFC_DESCRIPTOR_RANK (retarray))
runtime_error ("rank of return array incorrect in PRODUCT intrinsic");
- if (compile_options.bounds_check)
+ if (unlikely (compile_options.bounds_check))
{
for (n=0; n < rank; n++)
{
@@ -496,7 +496,7 @@ sproduct_i8 (gfc_array_i8 * 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++)
{