This is the mail archive of the gcc-patches@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] |
I have found a fix that is rather trivial in the sense that it's a one-liner.
However, it may not be as trivial conceptually (in particular I'm not 100% sure what caused this regression in the first place
Anyway, it regtests cleanly and fixes the problem as advertised. Ok for trunk?
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |