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/39171] Misleading warning for negative character length



------- Comment #4 from domob at gcc dot gnu dot org  2010-02-09 10:44 -------
Subject: Bug 39171

Author: domob
Date: Tue Feb  9 10:44:33 2010
New Revision: 156620

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156620
Log:
2010-02-09  Daniel Kraft  <d@domob.eu>

        PR fortran/39171
        * resolve.c (resolve_charlen): Change warning about negative CHARACTER
        length to be correct and issue only with -Wsurprising.
        * invoke.texi (Wsurprising): Mention this new warning that is
        turned on by -Wsurprising.

2010-02-09  Daniel Kraft  <d@domob.eu>

        PR fortran/39171
        * gfortran.dg/char_length_2.f90: Change warning expectations
accordingly
        and pass -Wsurprising as necessary.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/char_length_2.f90


-- 


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


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