OSDN Git Service

PR fortran/32860
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Aug 2007 20:39:18 +0000 (20:39 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Aug 2007 20:39:18 +0000 (20:39 +0000)
commit6a78072d36ae9f17efded1ff6f8f85f610ffe715
treefdb16e18f1fa6652d43d535ded79415b2270355b
parentef63afedd3d3d4d5557549441916b51679703085
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127382 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-format.c
gcc/fortran/ChangeLog
gcc/fortran/error.c
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/gcc_gfc-1.c