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/43899] Wrong unused-variable warning with NAMELISTs


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

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2010-11-03 15:22:29 UTC ---
Author: jvdelisle
Date: Wed Nov  3 15:22:25 2010
New Revision: 166252

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166252
Log:
2010-11-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR libgfortran/43899
    * runtime/error.c (generate_warning): New function to generate a run
    time warning message. Fix some whitespace.
    * libgfortran.h: Add prototype for new function.
    * io/list_read.c (nml_read_obj): Use new function to warn when a
    character namelist object is truncated.  Only warn if compiled
    with -fbounds-check.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/libgfortran.h
    trunk/libgfortran/runtime/error.c


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