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
df3ba30a
Commit
df3ba30a
authored
26 years ago
by
Richard Henderson
Committed by
Richard Henderson
26 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c (final_scan_insn): Abort if block_depth falls below 0.
From-SVN: r24030
parent
78a2bc08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
gcc/ChangeLog
+4
-0
gcc/final.c
+7
-5
No files found.
gcc/ChangeLog
View file @
df3ba30a
Tue
Dec
1
11
:
55
:
04
1998
Richard
Henderson
<
rth
@cygnus
.
com
>
*
final
.
c
(
final_scan_insn
)
:
Abort
if
block_depth
falls
below
0
.
Tue
Dec
1
10
:
23
:
16
1998
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
t
-
arm
-
elf
(
LIBGCC2_CFLAGS
)
:
Define
inhibit_libc
.
...
...
This diff is collapsed.
Click to expand it.
gcc/final.c
View file @
df3ba30a
...
...
@@ -2184,28 +2184,30 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
PENDING_BLOCKS and output debugging info based on that. */
--
block_depth
;
if
(
block_depth
<
0
)
abort
();
#ifdef XCOFF_DEBUGGING_INFO
if
(
write_symbols
==
XCOFF_DEBUG
&&
block_depth
>=
0
)
if
(
write_symbols
==
XCOFF_DEBUG
)
xcoffout_end_block
(
file
,
high_block_linenum
,
pending_blocks
[
block_depth
]);
#endif
#ifdef DBX_DEBUGGING_INFO
if
(
write_symbols
==
DBX_DEBUG
&&
block_depth
>=
0
)
if
(
write_symbols
==
DBX_DEBUG
)
ASM_OUTPUT_INTERNAL_LABEL
(
file
,
"LBE"
,
pending_blocks
[
block_depth
]);
#endif
#ifdef SDB_DEBUGGING_INFO
if
(
write_symbols
==
SDB_DEBUG
&&
block_depth
>=
0
)
if
(
write_symbols
==
SDB_DEBUG
)
sdbout_end_block
(
file
,
high_block_linenum
,
pending_blocks
[
block_depth
]);
#endif
#ifdef DWARF_DEBUGGING_INFO
if
(
write_symbols
==
DWARF_DEBUG
&&
block_depth
>=
0
)
if
(
write_symbols
==
DWARF_DEBUG
)
dwarfout_end_block
(
pending_blocks
[
block_depth
]);
#endif
#ifdef DWARF2_DEBUGGING_INFO
if
(
write_symbols
==
DWARF2_DEBUG
&&
block_depth
>=
0
)
if
(
write_symbols
==
DWARF2_DEBUG
)
dwarf2out_end_block
(
pending_blocks
[
block_depth
]);
#endif
}
...
...
This diff is collapsed.
Click to expand it.
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