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
ad800eb1
Commit
ad800eb1
authored
31 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_decl_rtl): Call globalize_reg, not init_reg_sets_1.
From-SVN: r6372
parent
614f68e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/varasm.c
+4
-4
No files found.
gcc/varasm.c
View file @
ad800eb1
/* Output variables, constants and external declarations, for GNU compiler.
Copyright (C) 1987,
1988, 1989, 1992, 1993
Free Software Foundation, Inc.
Copyright (C) 1987,
88, 89, 92, 93, 1994
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -455,11 +455,11 @@ make_decl_rtl (decl, asmspec, top_level)
if
(
top_level
)
{
/* Make this register fixed, so not usable for anything else. */
/* Make this register global, so not usable for anything
else. */
nregs
=
HARD_REGNO_NREGS
(
reg_number
,
DECL_MODE
(
decl
));
while
(
nregs
>
0
)
global_regs
[
reg_number
+
--
nregs
]
=
1
;
init_reg_sets_1
();
globalize_reg
(
reg_number
+
--
nregs
);
}
}
...
...
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