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/32860] Support %ld (for "long") for gfc_warning



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2007-08-12 20:39 -------
Subject: Bug 32860

Author: fxcoudert
Date: Sun Aug 12 20:39:18 2007
New Revision: 127382

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127382
Log:
        PR fortran/32860

        * error.c (error_uinteger): New function.
        (error_integer): Call error_uinteger.
        (error_print): Handle %u, %lu, %li and %ld format specifiers.
        * interface.c (compare_actual_formal): Use the new %lu specifier.

        * c-format.c (gcc_gfc_length_specs): New array.
        (gcc_gfc_char_table): Add unsigned specifier, and references to
        the l length modifier.
        (format_types_orig): Use the new gcc_gfc_length_specs.

        * gcc.dg/format/gcc_gfc-1.c: Updated with new formats.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-format.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/error.c
    trunk/gcc/fortran/interface.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/format/gcc_gfc-1.c


-- 


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


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