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
7d8ac293
Commit
7d8ac293
authored
Jan 07, 2002
by
Jason Merrill
Committed by
Jason Merrill
Jan 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* unwind-dw2.c (execute_cfa_program): Use < again.
From-SVN: r48617
parent
1b64d747
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/ChangeLog
+4
-0
gcc/unwind-dw2.c
+8
-1
No files found.
gcc/ChangeLog
View file @
7d8ac293
2002-01-07 Jason Merrill <jason@redhat.com>
* unwind-dw2.c (execute_cfa_program): Use < again.
2002-01-07 Jakub Jelinek <jakub@redhat.com>
* predict.c (combine_predictions_for_insn): Avoid division by zero.
...
...
gcc/unwind-dw2.c
View file @
7d8ac293
...
...
@@ -705,7 +705,14 @@ execute_cfa_program (const unsigned char *insn_ptr,
/* Don't allow remember/restore between CIE and FDE programs. */
fs
->
regs
.
prev
=
NULL
;
while
(
insn_ptr
<
insn_end
&&
fs
->
pc
<=
context
->
ra
)
/* The comparison with the return address uses < rather than <= because
we are only interested in the effects of code before the call; for a
noreturn function, the return address may point to unrelated code with
a different stack configuration that we are not interested in. We
assume that the call itself is unwind info-neutral; if not, or if
there are delay instructions that adjust the stack, these must be
reflected at the point immediately before the call insn. */
while
(
insn_ptr
<
insn_end
&&
fs
->
pc
<
context
->
ra
)
{
unsigned
char
insn
=
*
insn_ptr
++
;
_Unwind_Word
reg
,
utmp
;
...
...
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