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
0591b9c6
Commit
0591b9c6
authored
Apr 04, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(type_attribute): Use the TYPE_MAIN_VARIANT of the
given type when calling `user_def_type_attribute'. From-SVN: r4005
parent
fff9ecff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
gcc/dwarfout.c
+10
-1
No files found.
gcc/dwarfout.c
View file @
0591b9c6
...
@@ -2827,7 +2827,16 @@ type_attribute (type, decl_const, decl_volatile)
...
@@ -2827,7 +2827,16 @@ type_attribute (type, decl_const, decl_volatile)
if
(
root_type_modified
)
if
(
root_type_modified
)
mod_u_d_type_attribute
(
type
,
decl_const
,
decl_volatile
);
mod_u_d_type_attribute
(
type
,
decl_const
,
decl_volatile
);
else
else
user_def_type_attribute
(
type
);
/* We have to get the TYPE_MAIN_VARIANT here (and pass that to the
`user_def_type_attribute' routine) because the ..._TYPE node we
have might simply be a *copy* of some original type node (where
the copy was created to help us keep track of typedef names)
and that copy might have a different TYPE_UID from the original
..._TYPE node. (Note that when `equate_type_number_to_die_number'
is labeling a given type DIE for future reference, it always and
only creates labels for DIEs representing *main variants*, and it
never even knows about non-main-variants.) */
user_def_type_attribute
(
TYPE_MAIN_VARIANT
(
type
));
}
}
/* Given a tree pointer to a struct, class, union, or enum type node, return
/* Given a tree pointer to a struct, class, union, or enum type node, return
...
...
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