This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/54224] [4.8 Regression] Bogus -Wunused-function warning with static function


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224

--- Comment #11 from janus at gcc dot gnu.org 2012-10-19 17:15:01 UTC ---
Author: janus
Date: Fri Oct 19 17:14:46 2012
New Revision: 192620

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192620
Log:
2012-10-19  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/54224
    * trans-expr.c (conv_function_val): Set TREE_USED.

2012-10-19  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/54224
    * gfortran.dg/warn_unused_function.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/warn_unused_function.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]