Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
caef5b46
Commit
caef5b46
authored
Jun 07, 2002
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Jun 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* diagnostic.c (diagnostic_build_prefix): Fix initialization.
From-SVN: r54343
parent
68b15d4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/diagnostic.c
+3
-3
No files found.
gcc/ChangeLog
View file @
caef5b46
2002-06-07 Gabriel Dos Reis <gdr@merlin.nerim.net>
* diagnostic.c (diagnostic_build_prefix): Fix initialization.
2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
* config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
...
...
gcc/diagnostic.c
View file @
caef5b46
...
...
@@ -791,7 +791,7 @@ diagnostic_build_prefix (diagnostic)
diagnostic_info
*
diagnostic
;
{
static
const
char
*
diagnostic_kind_text
[]
=
{
#define DEFINE_DIAGNOSTIC_KIND(K, T)
_
(T),
#define DEFINE_DIAGNOSTIC_KIND(K, T) (T),
#include "diagnostic.def"
#undef DEFINE_DIAGNOSTIC_KIND
"must-not-happen"
...
...
@@ -803,9 +803,9 @@ diagnostic_build_prefix (diagnostic)
?
build_message_string
(
"%s:%d: %s"
,
diagnostic
->
location
.
file
,
diagnostic
->
location
.
line
,
diagnostic_kind_text
[
diagnostic
->
kind
]
)
_
(
diagnostic_kind_text
[
diagnostic
->
kind
])
)
:
build_message_string
(
"%s: %s"
,
progname
,
diagnostic_kind_text
[
diagnostic
->
kind
]
);
_
(
diagnostic_kind_text
[
diagnostic
->
kind
])
);
}
/* Report a diagnostic MESSAGE at the declaration DECL.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment