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/38404] Warning message identifies incorrect line



------- Comment #5 from dfranke at gcc dot gnu dot org  2010-05-19 12:55 -------
Subject: Bug 38404

Author: dfranke
Date: Wed May 19 12:55:26 2010
New Revision: 159561

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159561
Log:
gcc/fortran/:
2010-05-19  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/38404
        * primary.c (match_string_constant): Move start_locus just inside 
        the string.
        * data.c (create_character_intializer): Clarified truncation warning.

gcc/testsuite/:
2010-05-19  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/38404
        * gfortran.dg/data_char_1.f90: Updated warning message.
        * gfortran.dg/data_array_6.f: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/data_array_6.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/data.c
    trunk/gcc/fortran/primary.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/data_char_1.f90


-- 


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


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