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
305f22b5
Commit
305f22b5
authored
Dec 27, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(memory_address, allocate_dynamic_stack_space): Pass additional arg to
mark_reg_pointer. From-SVN: r10885
parent
a74abd2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/explow.c
+3
-3
No files found.
gcc/explow.c
View file @
305f22b5
...
@@ -493,11 +493,11 @@ memory_address (mode, x)
...
@@ -493,11 +493,11 @@ memory_address (mode, x)
if
(
oldx
==
x
)
if
(
oldx
==
x
)
return
x
;
return
x
;
else
if
(
GET_CODE
(
x
)
==
REG
)
else
if
(
GET_CODE
(
x
)
==
REG
)
mark_reg_pointer
(
x
);
mark_reg_pointer
(
x
,
1
);
else
if
(
GET_CODE
(
x
)
==
PLUS
else
if
(
GET_CODE
(
x
)
==
PLUS
&&
GET_CODE
(
XEXP
(
x
,
0
))
==
REG
&&
GET_CODE
(
XEXP
(
x
,
0
))
==
REG
&&
GET_CODE
(
XEXP
(
x
,
1
))
==
CONST_INT
)
&&
GET_CODE
(
XEXP
(
x
,
1
))
==
CONST_INT
)
mark_reg_pointer
(
XEXP
(
x
,
0
));
mark_reg_pointer
(
XEXP
(
x
,
0
)
,
1
);
/* OLDX may have been the address on a temporary. Update the address
/* OLDX may have been the address on a temporary. Update the address
to indicate that X is now used. */
to indicate that X is now used. */
...
@@ -1070,7 +1070,7 @@ allocate_dynamic_stack_space (size, target, known_align)
...
@@ -1070,7 +1070,7 @@ allocate_dynamic_stack_space (size, target, known_align)
||
REGNO
(
target
)
<
FIRST_PSEUDO_REGISTER
)
||
REGNO
(
target
)
<
FIRST_PSEUDO_REGISTER
)
target
=
gen_reg_rtx
(
Pmode
);
target
=
gen_reg_rtx
(
Pmode
);
mark_reg_pointer
(
target
);
mark_reg_pointer
(
target
,
known_align
/
BITS_PER_UNIT
);
#ifndef STACK_GROWS_DOWNWARD
#ifndef STACK_GROWS_DOWNWARD
emit_move_insn
(
target
,
virtual_stack_dynamic_rtx
);
emit_move_insn
(
target
,
virtual_stack_dynamic_rtx
);
...
...
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