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
bd80fbde
Commit
bd80fbde
authored
Jul 21, 1998
by
Richard Henderson
Committed by
Richard Henderson
Jul 21, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (regno_uninitialized): Fixed regs are never uninitialized.
From-SVN: r21321
parent
50ea20cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
gcc/ChangeLog
+4
-0
gcc/flow.c
+7
-5
No files found.
gcc/ChangeLog
View file @
bd80fbde
Tue Jul 21 08:55:09 1998 Richard Henderson <rth@cygnus.com>
* flow.c (regno_uninitialized): Fixed regs are never uninitialized.
Tue Jul 21 00:31:01 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c (do_spec): Call "error" not "warning".
...
...
gcc/flow.c
View file @
bd80fbde
...
...
@@ -2030,10 +2030,10 @@ libcall_dead_p (x, needed, note, insn)
return
1
;
}
/* Return 1 if register REGNO was used before it was set
.
In other words, if it is live at function entry.
Don't count global register variables or variables in registers
that can be used for function arg passing, though
. */
/* Return 1 if register REGNO was used before it was set
, i.e. if it is
live at function entry. Don't count global register variables, variables
in registers that can be used for function arg passing, or variables in
fixed hard registers
. */
int
regno_uninitialized
(
regno
)
...
...
@@ -2041,7 +2041,9 @@ regno_uninitialized (regno)
{
if
(
n_basic_blocks
==
0
||
(
regno
<
FIRST_PSEUDO_REGISTER
&&
(
global_regs
[
regno
]
||
FUNCTION_ARG_REGNO_P
(
regno
))))
&&
(
global_regs
[
regno
]
||
fixed_regs
[
regno
]
||
FUNCTION_ARG_REGNO_P
(
regno
))))
return
0
;
return
REGNO_REG_SET_P
(
basic_block_live_at_start
[
0
],
regno
);
...
...
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