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
6a45254e
Commit
6a45254e
authored
Jan 29, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(regno_uninitialized): Return 0 if reg is used for args.
From-SVN: r13562
parent
538fe8cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/flow.c
+5
-3
No files found.
gcc/flow.c
View file @
6a45254e
/* Data flow analysis for GNU compiler.
/* Data flow analysis for GNU compiler.
Copyright (C) 1987, 88, 92
, 93, 94, 95, 1996
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 92
-96, 1997
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -1897,14 +1897,16 @@ libcall_dead_p (x, needed, note, insn)
...
@@ -1897,14 +1897,16 @@ libcall_dead_p (x, needed, note, insn)
/* Return 1 if register REGNO was used before it was set.
/* Return 1 if register REGNO was used before it was set.
In other words, if it is live at function entry.
In other words, if it is live at function entry.
Don't count global register variables, though. */
Don't count global register variables or variables in registers
that can be used for function arg passing, though. */
int
int
regno_uninitialized
(
regno
)
regno_uninitialized
(
regno
)
int
regno
;
int
regno
;
{
{
if
(
n_basic_blocks
==
0
if
(
n_basic_blocks
==
0
||
(
regno
<
FIRST_PSEUDO_REGISTER
&&
global_regs
[
regno
]))
||
(
regno
<
FIRST_PSEUDO_REGISTER
&&
(
global_regs
[
regno
]
||
FUNCTION_ARG_REGNO_P
(
regno
))))
return
0
;
return
0
;
return
(
basic_block_live_at_start
[
0
][
regno
/
REGSET_ELT_BITS
]
return
(
basic_block_live_at_start
[
0
][
regno
/
REGSET_ELT_BITS
]
...
...
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