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
b2ea030b
Commit
b2ea030b
authored
Sep 07, 2007
by
Jan Hubicka
Committed by
Jan Hubicka
Sep 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* semantics.c (expand_body): Do not mark arguments of clones used.
From-SVN: r128209
parent
bdeb2c96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
20 deletions
+4
-20
gcc/cp/ChangeLog
+4
-0
gcc/cp/semantics.c
+0
-20
No files found.
gcc/cp/ChangeLog
View file @
b2ea030b
2007-09-06 Jan Hubicka <jh@suse.cz>
* semantics.c (expand_body): Do not mark arguments of clones used.
2007-09-06 Paolo Carlini <pcarlini@suse.de>
2007-09-06 Paolo Carlini <pcarlini@suse.de>
PR c++/32674
PR c++/32674
...
...
gcc/cp/semantics.c
View file @
b2ea030b
...
@@ -3140,26 +3140,6 @@ expand_body (tree fn)
...
@@ -3140,26 +3140,6 @@ expand_body (tree fn)
gcc_assert
(
function_depth
==
0
);
gcc_assert
(
function_depth
==
0
);
c_expand_body
(
fn
);
c_expand_body
(
fn
);
if
(
DECL_CLONED_FUNCTION_P
(
fn
))
{
/* If this is a clone, go through the other clones now and mark
their parameters used. We have to do that here, as we don't
know whether any particular clone will be expanded, and
therefore cannot pick one arbitrarily. */
tree
probe
;
for
(
probe
=
TREE_CHAIN
(
DECL_CLONED_FUNCTION
(
fn
));
probe
&&
DECL_CLONED_FUNCTION_P
(
probe
);
probe
=
TREE_CHAIN
(
probe
))
{
tree
parms
;
for
(
parms
=
DECL_ARGUMENTS
(
probe
);
parms
;
parms
=
TREE_CHAIN
(
parms
))
TREE_USED
(
parms
)
=
1
;
}
}
}
}
/* Generate RTL for FN. */
/* Generate RTL for 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