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
12357e42
Commit
12357e42
authored
Mar 10, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(sdbout_record_type_name): If TYPE_NAME is a TYPE_DECL, get name from
DECL_NAME. From-SVN: r9166
parent
0196c710
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
+1
-6
gcc/sdbout.c
+1
-6
No files found.
gcc/sdbout.c
View file @
12357e42
...
...
@@ -422,12 +422,8 @@ sdbout_record_type_name (type)
tree
t
=
0
;
/* Find the IDENTIFIER_NODE for the type name. */
if
(
TREE_CODE
(
TYPE_NAME
(
type
))
==
IDENTIFIER_NODE
)
{
t
=
TYPE_NAME
(
type
);
}
#if 1
/* As a temporary hack, use typedef names for C++ only. */
else
if
(
TREE_CODE
(
TYPE_NAME
(
type
))
==
TYPE_DECL
&&
TYPE_LANG_SPECIFIC
(
type
))
else
if
(
TREE_CODE
(
TYPE_NAME
(
type
))
==
TYPE_DECL
)
{
t
=
DECL_NAME
(
TYPE_NAME
(
type
));
/* The DECL_NAME for templates includes "<>", which breaks
...
...
@@ -436,7 +432,6 @@ sdbout_record_type_name (type)
if
(
t
&&
template_name_p
(
t
))
t
=
DECL_ASSEMBLER_NAME
(
TYPE_NAME
(
type
));
}
#endif
/* Now get the name as a string, or invent one. */
if
(
t
!=
NULL_TREE
)
...
...
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