OSDN Git Service

2008-09-06 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / libgfortran / generated / maxval_r16.c
index a05808d..98bce6e 100644 (file)
@@ -123,7 +123,7 @@ maxval_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++)
            {
@@ -312,7 +312,7 @@ mmaxval_r16 (gfc_array_r16 * 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_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++)
            {