check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 6 May 2008 20:24:05 +0000 (20:24 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 6 May 2008 20:24:05 +0000 (20:24 +0000)
* check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
* simplify.c (gfc_simplify_lgamma): Likewise.

From-SVN: r134997

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

index 3ce9b4e4b01e7419c88ed416c084b45b4d65496a..b67a5b8dbb3eb4ef0e9969f75fc4d28000dd6e31 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 5f782400dd3df5601494865caabe728e01c5b00b..f0497a1c88b9c7f24f2024c3c49dd86febbae31a 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 bf9e00a92821e0fc403fd656ced82af34b4c57e6..d7fafecfefd0b0b584c898a3d81ced1ed80295e5 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;