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
5a7929c8
Commit
5a7929c8
authored
Jun 06, 2015
by
Aldy Hernandez
Committed by
Aldy Hernandez
Jun 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (gen_lexical_block_die): Initialize stmt_die.
From-SVN: r224189
parent
e67d1102
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 @
5a7929c8
2015-06-06 Aldy Hernandez <aldyh@redhat.com>
* dwarf2out.c (gen_lexical_block_die): Initialize stmt_die.
2015-06-06 Richard Sandiford <richard.sandiford@arm.com>
2015-06-06 Richard Sandiford <richard.sandiford@arm.com>
* emit-rtl.c, expr.c, gcse.c, optabs.c, optabs.h, print-rtl.c,
* emit-rtl.c, expr.c, gcse.c, optabs.c, optabs.h, print-rtl.c,
...
...
gcc/dwarf2out.c
View file @
5a7929c8
...
@@ -19818,7 +19818,7 @@ static void
...
@@ -19818,7 +19818,7 @@ static void
gen_lexical_block_die
(
tree
stmt
,
dw_die_ref
context_die
)
gen_lexical_block_die
(
tree
stmt
,
dw_die_ref
context_die
)
{
{
dw_die_ref
old_die
=
BLOCK_DIE
(
stmt
);
dw_die_ref
old_die
=
BLOCK_DIE
(
stmt
);
dw_die_ref
stmt_die
;
dw_die_ref
stmt_die
=
NULL
;
if
(
!
old_die
)
if
(
!
old_die
)
{
{
stmt_die
=
new_die
(
DW_TAG_lexical_block
,
context_die
,
stmt
);
stmt_die
=
new_die
(
DW_TAG_lexical_block
,
context_die
,
stmt
);
...
@@ -19859,13 +19859,13 @@ gen_lexical_block_die (tree stmt, dw_die_ref context_die)
...
@@ -19859,13 +19859,13 @@ gen_lexical_block_die (tree stmt, dw_die_ref context_die)
if
(
old_die
)
if
(
old_die
)
stmt_die
=
old_die
;
stmt_die
=
old_die
;
if
(
!
early_dwarf
)
/* A non abstract block whose blocks have already been reordered
should have the instruction range for this block. If so, set the
high/low attributes. */
if
(
!
early_dwarf
&&
!
BLOCK_ABSTRACT
(
stmt
)
&&
TREE_ASM_WRITTEN
(
stmt
))
{
{
/* A non abstract block whose blocks have already been reordered
gcc_assert
(
stmt_die
);
should have the instruction range for this block. If so, set the
add_high_low_attributes
(
stmt
,
stmt_die
);
high/low attributes. */
if
(
!
BLOCK_ABSTRACT
(
stmt
)
&&
TREE_ASM_WRITTEN
(
stmt
))
add_high_low_attributes
(
stmt
,
stmt_die
);
}
}
decls_for_scope
(
stmt
,
stmt_die
);
decls_for_scope
(
stmt
,
stmt_die
);
...
...
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