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
8ac9cb56
Commit
8ac9cb56
authored
May 31, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1131
parent
16d90796
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
4 deletions
+33
-4
gcc/dwarfout.c
+33
-4
No files found.
gcc/dwarfout.c
View file @
8ac9cb56
...
@@ -3730,11 +3730,20 @@ output_decl (decl, containing_scope)
...
@@ -3730,11 +3730,20 @@ output_decl (decl, containing_scope)
register
tree
decl
;
register
tree
decl
;
register
tree
containing_scope
;
register
tree
containing_scope
;
{
{
if
(
TREE_CODE
(
decl
)
==
ERROR_MARK
)
return
;
/* If this ..._DECL node is marked to be ignored, then ignore it.
But don't ignore a function definition, since that would screw
up our count of blocks, and that it turn will completely screw up the
the labels we will reference in subsequent AT_low_pc and AT_high_pc
attributes (for subsequent blocks). */
if
(
DECL_IGNORED_P
(
decl
)
&&
TREE_CODE
(
decl
)
!=
FUNCTION_DECL
)
return
;
switch
(
TREE_CODE
(
decl
))
switch
(
TREE_CODE
(
decl
))
{
{
case
ERROR_MARK
:
break
;
case
CONST_DECL
:
case
CONST_DECL
:
/* The individual enumerators of an enum type get output when we
/* The individual enumerators of an enum type get output when we
output the Dwarf representation of the relevant enum type itself. */
output the Dwarf representation of the relevant enum type itself. */
...
@@ -4077,11 +4086,31 @@ dwarfout_file_scope_decl (decl, set_finalizing)
...
@@ -4077,11 +4086,31 @@ dwarfout_file_scope_decl (decl, set_finalizing)
register
tree
decl
;
register
tree
decl
;
register
int
set_finalizing
;
register
int
set_finalizing
;
{
{
if
(
TREE_CODE
(
decl
)
==
ERROR_MARK
)
return
;
/* If this ..._DECL node is marked to be ignored, then ignore it. We
gotta hope that the node in question doesn't represent a function
definition. If it does, then totally ignoring it is bound to screw
up our count of blocks, and that it turn will completely screw up the
the labels we will reference in subsequent AT_low_pc and AT_high_pc
attributes (for subsequent blocks). (It's too bad that BLOCK nodes
don't carry their own sequence numbers with them!) */
if
(
DECL_IGNORED_P
(
decl
))
{
if
(
TREE_CODE
(
decl
)
==
FUNCTION_DECL
&&
DECL_INITIAL
(
decl
)
!=
NULL
)
abort
();
return
;
}
switch
(
TREE_CODE
(
decl
))
switch
(
TREE_CODE
(
decl
))
{
{
case
FUNCTION_DECL
:
case
FUNCTION_DECL
:
/* Ignore this FUNCTION_DECL if it refers to a builtin function. */
/* Ignore this FUNCTION_DECL if it refers to a builtin declaration of
a builtin function. Explicit programmer-supplied declarations of
these same functions should NOT be ignored however. */
if
(
TREE_EXTERNAL
(
decl
)
&&
DECL_FUNCTION_CODE
(
decl
))
if
(
TREE_EXTERNAL
(
decl
)
&&
DECL_FUNCTION_CODE
(
decl
))
return
;
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