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
9c6cd30e
Commit
9c6cd30e
authored
Apr 29, 1997
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
From-SVN: r13989
parent
c82ba1b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
gcc/dwarf2out.c
+10
-8
No files found.
gcc/dwarf2out.c
View file @
9c6cd30e
...
...
@@ -3145,7 +3145,7 @@ constant_size (value)
log
=
log
/
8
;
log
=
1
<<
(
floor_log2
(
log
)
+
1
);
return
MIN
(
log
,
4
)
;
return
log
;
}
/* Return the size of a DIE, as it is represented in the
...
...
@@ -7198,9 +7198,11 @@ gen_subprogram_die (decl, context_die)
register
tree
fn_arg_types
;
register
tree
outer_scope
;
register
dw_die_ref
old_die
=
lookup_decl_die
(
decl
);
register
int
declaration
=
(
current_function_decl
!=
decl
||
context_die
->
die_tag
==
DW_TAG_structure_type
||
context_die
->
die_tag
==
DW_TAG_union_type
);
register
int
declaration
=
(
current_function_decl
!=
decl
||
(
context_die
&&
(
context_die
->
die_tag
==
DW_TAG_structure_type
||
context_die
->
die_tag
==
DW_TAG_union_type
)));
if
(
origin
!=
NULL
)
{
...
...
@@ -8484,11 +8486,11 @@ dwarf2out_decl (decl)
if
(
DECL_INITIAL
(
decl
)
==
NULL_TREE
)
return
;
/* I
gnore nested functions, since they will be written in decl_for_scope.
??? There was an old comment here about methods, which now need to
be handled
. */
/* I
f we're a nested function, initially use a parent of NULL; if we're
a plain function, this will be fixed up in decls_for_scope. If
we're a method, it will be ignored, since we already have a DIE
. */
if
(
decl_function_context
(
decl
))
return
;
context_die
=
NULL
;
break
;
...
...
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