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
d0585b99
Commit
d0585b99
authored
Nov 10, 2003
by
Richard Henderson
Committed by
Richard Henderson
Nov 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.
From-SVN: r73431
parent
6ce4806b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+4
-0
gcc/dwarf2out.c
+5
-4
No files found.
gcc/ChangeLog
View file @
d0585b99
2003-11-10 Richard Henderson <rth@redhat.com>
* dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.
2003-11-10 Matt Austern <austern@apple.com>
2003-11-10 Matt Austern <austern@apple.com>
* config/darwin-protos.h (darwin_assemble_visibility): Declare.
* config/darwin-protos.h (darwin_assemble_visibility): Declare.
...
...
gcc/dwarf2out.c
View file @
d0585b99
...
@@ -10916,14 +10916,15 @@ gen_label_die (tree decl, dw_die_ref context_die)
...
@@ -10916,14 +10916,15 @@ gen_label_die (tree decl, dw_die_ref context_die)
equate_decl_number_to_die
(
decl
,
lbl_die
);
equate_decl_number_to_die
(
decl
,
lbl_die
);
else
else
{
{
insn
=
DECL_RTL
(
decl
);
insn
=
DECL_RTL
_IF_SET
(
decl
);
/* Deleted labels are programmer specified labels which have been
/* Deleted labels are programmer specified labels which have been
eliminated because of various optimizations. We still emit them
eliminated because of various optimizations. We still emit them
here so that it is possible to put breakpoints on them. */
here so that it is possible to put breakpoints on them. */
if
(
GET_CODE
(
insn
)
==
CODE_LABEL
if
(
insn
||
((
GET_CODE
(
insn
)
==
NOTE
&&
(
GET_CODE
(
insn
)
==
CODE_LABEL
&&
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_DELETED_LABEL
)))
||
((
GET_CODE
(
insn
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_DELETED_LABEL
))))
{
{
/* When optimization is enabled (via -O) some parts of the compiler
/* When optimization is enabled (via -O) some parts of the compiler
(e.g. jump.c and cse.c) may try to delete CODE_LABEL insns which
(e.g. jump.c and cse.c) may try to delete CODE_LABEL insns which
...
...
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