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
99407cf2
Commit
99407cf2
authored
Dec 23, 2001
by
Richard Henderson
Committed by
Richard Henderson
Dec 23, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/alpha/alpha.c (call_operand) [OSF]: Disallow virtual regs.
From-SVN: r48297
parent
8aad1777
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+2
-0
gcc/config/alpha/alpha.c
+6
-1
No files found.
gcc/ChangeLog
View file @
99407cf2
2001
-
12
-
23
Richard
Henderson
<
rth
@redhat
.
com
>
*
config
/
alpha
/
alpha
.
c
(
call_operand
)
[
OSF
]
:
Disallow
virtual
regs
.
*
config
/
alpha
/
alpha
.
md
(
UNSPEC_SIBCALL
)
:
New
.
(
sibcall
,
sibcall_value
,
sibcall_osf_1_er
,
sibcall_osf_1
)
:
Use
it
.
(
sibcall_value_osf_1_er
,
sibcall_value_osf_1
)
:
Likewise
.
...
...
gcc/config/alpha/alpha.c
View file @
99407cf2
...
...
@@ -1008,7 +1008,12 @@ call_operand (op, mode)
if
(
GET_CODE
(
op
)
==
REG
)
{
if
(
TARGET_ABI_OSF
)
return
(
REGNO
(
op
)
==
27
||
REGNO
(
op
)
>=
FIRST_PSEUDO_REGISTER
);
{
/* Disallow virtual registers to cope with pathalogical test cases
such as compile/930117-1.c in which the virtual reg decomposes
to the frame pointer. Which is a hard reg that is not $27. */
return
(
REGNO
(
op
)
==
27
||
REGNO
(
op
)
>
LAST_VIRTUAL_REGISTER
);
}
else
return
1
;
}
...
...
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