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
179bb78c
Commit
179bb78c
authored
Sep 14, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(immed_double_const, immed_real_const_1): Don't touch
const_double_chain if not inside a function. From-SVN: r5322
parent
5522c047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/varasm.c
+6
-6
No files found.
gcc/varasm.c
View file @
179bb78c
...
...
@@ -1507,9 +1507,9 @@ immed_double_const (i0, i1, mode)
r
=
gen_rtx
(
CONST_DOUBLE
,
mode
,
0
,
i0
,
i1
);
pop_obstacks
();
/* Don't touch const_double_chain in nested function;
see force_const_mem
. */
if
(
outer_function_chain
==
0
)
/* Don't touch const_double_chain in nested function;
see force_const_mem.
Also, don't touch it if not inside any function
. */
if
(
outer_function_chain
==
0
&&
current_function_decl
!=
0
)
{
CONST_DOUBLE_CHAIN
(
r
)
=
const_double_chain
;
const_double_chain
=
r
;
...
...
@@ -1582,9 +1582,9 @@ immed_real_const_1 (d, mode)
bcopy
(
&
u
,
&
CONST_DOUBLE_LOW
(
r
),
sizeof
u
);
pop_obstacks
();
/* Don't touch const_double_chain in nested function;
see force_const_mem
. */
if
(
outer_function_chain
==
0
)
/* Don't touch const_double_chain in nested function;
see force_const_mem.
Also, don't touch it if not inside any function
. */
if
(
outer_function_chain
==
0
&&
current_function_decl
!=
0
)
{
CONST_DOUBLE_CHAIN
(
r
)
=
const_double_chain
;
const_double_chain
=
r
;
...
...
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