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
353b39fa
Commit
353b39fa
authored
Jun 27, 2011
by
Eric Botcazou
Committed by
Eric Botcazou
Jun 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types.
From-SVN: r175535
parent
a7af037b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/ChangeLog
+4
-0
gcc/dwarf2out.c
+7
-7
No files found.
gcc/ChangeLog
View file @
353b39fa
2011-06-27 Eric Botcazou <ebotcazou@adacore.com>
* dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types.
2011-06-27 Eric Botcazou <ebotcazou@adacore.com>
PR lto/48492
* dwarf2out.c (dwarf2out_finish): Do not attach a DIE on the limbo list
to a NULL parent.
...
...
gcc/dwarf2out.c
View file @
353b39fa
...
...
@@ -6207,19 +6207,19 @@ skeleton_chain_node;
#endif
/* Define a macro which returns nonzero for a TYPE_DECL which was
implicitly generated for a t
agged t
ype.
implicitly generated for a type.
Note that
unlike the gcc front
end (which generates a NULL named
TYPE_DECL node for each complete tagged type, each array type,
and
each function type node created) the g++ front end generates a
_named_ TYPE_DECL node for each tagged type node created.
Note that
, unlike the C front-
end (which generates a NULL named
TYPE_DECL node for each complete tagged type, each array type,
and each function type node created) the C++ front-end generates
a
_named_ TYPE_DECL node for each tagged type node created.
These TYPE_DECLs have DECL_ARTIFICIAL set, so we know not to
generate a DW_TAG_typedef DIE for them. */
generate a DW_TAG_typedef DIE for them. Likewise with the Ada
front-end, but for each type, tagged or not. */
#define TYPE_DECL_IS_STUB(decl) \
(DECL_NAME (decl) == NULL_TREE \
|| (DECL_ARTIFICIAL (decl) \
&& is_tagged_type (TREE_TYPE (decl)) \
&& ((decl == TYPE_STUB_DECL (TREE_TYPE (decl))) \
/* This is necessary for stub decls that \
appear in nested inline functions. */
\
...
...
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