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
b8105705
Commit
b8105705
authored
Oct 17, 2016
by
Eric Botcazou
Committed by
Eric Botcazou
Oct 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* explow.c (validize_mem): Do not modify the argument in-place.
From-SVN: r241247
parent
80b841ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/ChangeLog
+5
-1
gcc/explow.c
+4
-4
No files found.
gcc/ChangeLog
View file @
b8105705
2016-10-17 Eric Botcazou <ebotcazou@adacore.com>
* explow.c (validize_mem): Do not modify the argument in-place.
2016-10-17 Thomas Schwinge <thomas@codesourcery.com>
2016-10-17 Thomas Schwinge <thomas@codesourcery.com>
* tree-streamer.c (record_common_node): Explicitly list expected
* tree-streamer.c (record_common_node): Explicitly list expected
...
@@ -95,7 +99,7 @@
...
@@ -95,7 +99,7 @@
(lookup_descr_for_decl): New function.
(lookup_descr_for_decl): New function.
(convert_tramp_reference_op): Deal with descriptors.
(convert_tramp_reference_op): Deal with descriptors.
(build_init_call_stmt): New function extracted from...
(build_init_call_stmt): New function extracted from...
(finalize_nesting_tree_1): ...here. Adjust and deal withdescriptors.
(finalize_nesting_tree_1): ...here. Adjust and deal with
descriptors.
* defaults.h (FUNCTION_ALIGNMENT): Define.
* defaults.h (FUNCTION_ALIGNMENT): Define.
(TRAMPOLINE_ALIGNMENT): Set to above instead of FUNCTION_BOUNDARY.
(TRAMPOLINE_ALIGNMENT): Set to above instead of FUNCTION_BOUNDARY.
* config/i386/i386.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
* config/i386/i386.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
...
...
gcc/explow.c
View file @
b8105705
...
@@ -496,9 +496,8 @@ memory_address_addr_space (machine_mode mode, rtx x, addr_space_t as)
...
@@ -496,9 +496,8 @@ memory_address_addr_space (machine_mode mode, rtx x, addr_space_t as)
return
x
;
return
x
;
}
}
/* If REF is a MEM with an invalid address, change it into a valid address.
/* Convert a mem ref into one with a valid memory address.
Pass through anything else unchanged. REF must be an unshared rtx and
Pass through anything else unchanged. */
the function may modify it in-place. */
rtx
rtx
validize_mem
(
rtx
ref
)
validize_mem
(
rtx
ref
)
...
@@ -510,7 +509,8 @@ validize_mem (rtx ref)
...
@@ -510,7 +509,8 @@ validize_mem (rtx ref)
MEM_ADDR_SPACE
(
ref
)))
MEM_ADDR_SPACE
(
ref
)))
return
ref
;
return
ref
;
return
replace_equiv_address
(
ref
,
XEXP
(
ref
,
0
),
true
);
/* Don't alter REF itself, since that is probably a stack slot. */
return
replace_equiv_address
(
ref
,
XEXP
(
ref
,
0
));
}
}
/* If X is a memory reference to a member of an object block, try rewriting
/* If X is a memory reference to a member of an object block, try rewriting
...
...
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