From: Eric Christopher Date: Thu, 13 Jun 2002 23:31:56 +0000 (+0000) Subject: diagnostic.c (output_format): Fix thinko. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3aafa0bbab35b6ddd3aa0ab29a5400bc7be837ee;p=platform%2Fupstream%2Fgcc.git diagnostic.c (output_format): Fix thinko. 2002-06-13 Eric Christopher * diagnostic.c (output_format): Fix thinko. From-SVN: r54602 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7905fa3..86344e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-13 Eric Christopher + + * diagnostic.c (output_format): Fix thinko. + Thu Jun 13 22:34:33 2002 J"orn Rennecke * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define. @@ -63,7 +67,7 @@ Thu Jun 13 18:18:17 CEST 2002 Jan Hubicka 2002-06-13 Gabriel Dos Reis * tree-inline.c (expand_call_inline): Don' mess with _DECL - fields. + fields. 2002-06-13 Gabriel Dos Reis @@ -123,6 +127,12 @@ Thu Jun 13 18:18:17 CEST 2002 Jan Hubicka 2002-06-12 Eric Christopher + * config/mips/mips.md (prefetch, prefetch_di, prefetch_si): New + patterns. + * config/mips/mips.h (RTX_COSTS): Fix formatting. + +2002-06-12 Eric Christopher + From Chris Demetriou * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix comment. diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 3132a3d..db05103 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -584,7 +584,7 @@ output_format (buffer, text) output_add_string (buffer, "file '"); output_add_string (buffer, locus->file); output_add_string (buffer, "', line "); - output_decimal (buffer, locus->file); + output_decimal (buffer, locus->line); } break; @@ -892,7 +892,7 @@ diagnostic_count_diagnostic (context, kind) default: abort(); break; - + case DK_FATAL: case DK_ICE: case DK_SORRY: case DK_ANACHRONISM: case DK_NOTE: ++diagnostic_kind_count (context, kind);