OSDN Git Service

2008-09-06 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / libgfortran / generated / product_r16.c
index 2375cbe..f5b0886 100644 (file)
@@ -123,7 +123,7 @@ product_r16 (gfc_array_r16 * 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_r16 (gfc_array_r16 * 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_r16 (gfc_array_r16 * 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++)
            {