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
4a90862e
Commit
4a90862e
authored
Dec 13, 2001
by
Jason Merrill
Committed by
Jason Merrill
Dec 13, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* optimize.c (maybe_clone_body): Fix parameter updating.
From-SVN: r47976
parent
414e05cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/optimize.c
+3
-3
No files found.
gcc/cp/ChangeLog
View file @
4a90862e
2001-12-13 Jason Merrill <jason@redhat.com>
* optimize.c (maybe_clone_body): Fix parameter updating.
2001-12-12 Jason Merrill <jason@redhat.com>
* decl.c (store_parm_decls): Remove parms_have_cleanups cruft.
...
...
gcc/cp/optimize.c
View file @
4a90862e
...
...
@@ -181,10 +181,10 @@ maybe_clone_body (fn)
/* Adjust the parameter names and locations. */
parm
=
DECL_ARGUMENTS
(
fn
);
clone_parm
=
DECL_ARGUMENTS
(
clone
);
/* Update the `this' parameter, which is always first.
Sometimes, we end update the `this' parameter twice because
we process it again in the loop below. That is harmless. */
/* Update the `this' parameter, which is always first. */
update_cloned_parm
(
parm
,
clone_parm
);
parm
=
TREE_CHAIN
(
parm
);
clone_parm
=
TREE_CHAIN
(
clone_parm
);
if
(
DECL_HAS_IN_CHARGE_PARM_P
(
fn
))
parm
=
TREE_CHAIN
(
parm
);
if
(
DECL_HAS_VTT_PARM_P
(
fn
))
...
...
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