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
0761f342
Commit
0761f342
authored
Sep 06, 2003
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Sep 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* diagnostic.c (announce_function): Move to toplev.c.
From-SVN: r71146
parent
c87ceb13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
17 deletions
+21
-17
gcc/ChangeLog
+4
-0
gcc/diagnostic.c
+0
-17
gcc/toplev.c
+17
-0
No files found.
gcc/ChangeLog
View file @
0761f342
2003-09-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* diagnostic.c (announce_function): Move to toplev.c.
2003-09-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcse.c (expr_equiv_p): Don't consider anything to be equal to
...
...
gcc/diagnostic.c
View file @
0761f342
...
...
@@ -279,23 +279,6 @@ diagnostic_action_after_output (diagnostic_context *context,
}
}
/* Called when the start of a function definition is parsed,
this function prints on stderr the name of the function. */
void
announce_function
(
tree
decl
)
{
if
(
!
quiet_flag
)
{
if
(
rtl_dump_and_exit
)
verbatim
(
"%s "
,
IDENTIFIER_POINTER
(
DECL_NAME
(
decl
)));
else
verbatim
(
" %s"
,
(
*
lang_hooks
.
decl_printable_name
)
(
decl
,
2
));
fflush
(
stderr
);
global_dc
->
printer
->
need_newline
=
true
;
diagnostic_set_last_function
(
global_dc
);
}
}
/* The default function to print out name of current function that caused
an error. */
void
...
...
gcc/toplev.c
View file @
0761f342
...
...
@@ -1205,6 +1205,23 @@ get_src_pwd (void)
return
src_pwd
;
}
/* Called when the start of a function definition is parsed,
this function prints on stderr the name of the function. */
void
announce_function
(
tree
decl
)
{
if
(
!
quiet_flag
)
{
if
(
rtl_dump_and_exit
)
verbatim
(
"%s "
,
IDENTIFIER_POINTER
(
DECL_NAME
(
decl
)));
else
verbatim
(
" %s"
,
(
*
lang_hooks
.
decl_printable_name
)
(
decl
,
2
));
fflush
(
stderr
);
pp_needs_newline
(
global_dc
->
printer
)
=
true
;
diagnostic_set_last_function
(
global_dc
);
}
}
/* Set up a default flag_random_seed and local_tick, unless the user
already specified one. */
...
...
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