OSDN Git Service

* check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2008 20:24:05 +0000 (20:24 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2008 20:24:05 +0000 (20:24 +0000)
* simplify.c (gfc_simplify_lgamma): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134997 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/simplify.c

index 3ce9b4e..b67a5b8 100644 (file)
@@ -1,4 +1,9 @@
-2008-05-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+2008-05-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
+       * simplify.c (gfc_simplify_lgamma): Likewise.
+
+2008-05-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        * openmp.c (gfc_match_omp_eos): Use gfc_next_ascii_char and
        gfc_peek_ascii_char.
        gfc_conv_allocated, gfc_conv_associated, gfc_conv_intrinsic_trim,
        gfc_conv_intrinsic_repeat): Likewise.
 
-2008-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+2008-02-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR target/25477
        * trans-expr.c (gfc_conv_power_op): Use BUILT_IN_CPOW{F,,L}.
index 5f78240..f0497a1 100644 (file)
@@ -2474,7 +2474,7 @@ gfc_check_size (gfc_expr *array, gfc_expr *dim, gfc_expr *kind)
 
 
 try
-gfc_check_sizeof (gfc_expr *arg __attribute__((unused)))
+gfc_check_sizeof (gfc_expr *arg ATTRIBUTE_UNUSED)
 {
   return SUCCESS;
 }
index bf9e00a..d7fafec 100644 (file)
@@ -2461,7 +2461,7 @@ gfc_simplify_len_trim (gfc_expr *e, gfc_expr *kind)
 }
 
 gfc_expr *
-gfc_simplify_lgamma (gfc_expr *x __attribute__((unused)))
+gfc_simplify_lgamma (gfc_expr *x ATTRIBUTE_UNUSED)
 {
 #if MPFR_VERSION >= MPFR_VERSION_NUM(2,3,0)
   gfc_expr *result;