diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2008-05-06 20:24:05 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2008-05-06 20:24:05 +0000 |
commit | 37a2dc427065f2947e60b941300c042b4c36b388 (patch) | |
tree | 835778fdcde759ea518d6e12d3895ad7795ee587 | |
parent | 86ff5c50497afd2a5789000f8f3aacce97fdc168 (diff) | |
download | gcc-37a2dc427065f2947e60b941300c042b4c36b388.zip gcc-37a2dc427065f2947e60b941300c042b4c36b388.tar.gz gcc-37a2dc427065f2947e60b941300c042b4c36b388.tar.bz2 |
check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
* check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED.
* simplify.c (gfc_simplify_lgamma): Likewise.
From-SVN: r134997
-rw-r--r-- | gcc/fortran/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/fortran/check.c | 2 | ||||
-rw-r--r-- | gcc/fortran/simplify.c | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3ce9b4e..b67a5b8 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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. @@ -729,7 +734,7 @@ 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}. diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index 5f78240..f0497a1 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -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; } diff --git a/gcc/fortran/simplify.c b/gcc/fortran/simplify.c index bf9e00a..d7fafec 100644 --- a/gcc/fortran/simplify.c +++ b/gcc/fortran/simplify.c @@ -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; |