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
1a336337
Commit
1a336337
authored
Nov 27, 2014
by
Eric Botcazou
Committed by
Eric Botcazou
Nov 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (set_block_origin_self): Skip nested functions.
From-SVN: r218133
parent
e8b5eb25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
gcc/ChangeLog
+4
-0
gcc/dwarf2out.c
+5
-2
No files found.
gcc/ChangeLog
View file @
1a336337
2014
-
11
-
27
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
dwarf2out
.
c
(
set_block_origin_self
):
Skip
nested
functions
.
2014
-
11
-
27
H
.
J
.
Lu
<
hongjiu
.
lu
@
intel
.
com
>
PR
target
/
63833
gcc/dwarf2out.c
View file @
1a336337
...
...
@@ -17940,8 +17940,11 @@ set_block_origin_self (tree stmt)
for
(
local_decl
=
BLOCK_VARS
(
stmt
);
local_decl
!=
NULL_TREE
;
local_decl
=
DECL_CHAIN
(
local_decl
))
if
(
!
DECL_EXTERNAL
(
local_decl
))
set_decl_origin_self
(
local_decl
);
/* Potential recursion. */
/* Do not recurse on nested functions since the inlining status
of parent and child can be different as per the DWARF spec. */
if
(
TREE_CODE
(
local_decl
)
!=
FUNCTION_DECL
&&
!
DECL_EXTERNAL
(
local_decl
))
set_decl_origin_self
(
local_decl
);
}
{
...
...
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