From: Francois-Xavier Coudert Date: Tue, 6 May 2008 20:24:05 +0000 (+0000) Subject: check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37a2dc427065f2947e60b941300c042b4c36b388;p=gcc.git 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 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3ce9b4e4b01..b67a5b8dbb3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,4 +1,9 @@ -2008-05-06 Francois-Xavier Coudert +2008-05-06 Francois-Xavier Coudert + + * check.c (gfc_check_sizeof): Switch to ATTRIBUTE_UNUSED. + * simplify.c (gfc_simplify_lgamma): Likewise. + +2008-05-06 Francois-Xavier Coudert * 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 +2008-02-23 Francois-Xavier Coudert 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 5f782400dd3..f0497a1c88b 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 bf9e00a9282..d7fafecfefd 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;