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
a14de1af
Commit
a14de1af
authored
May 06, 2006
by
Volker Reichelt
Committed by
Volker Reichelt
May 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (process_template_parm): Remove superfluous temporary.
From-SVN: r113573
parent
620188c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
gcc/cp/ChangeLog
+2
-0
gcc/cp/pt.c
+2
-4
No files found.
gcc/cp/ChangeLog
View file @
a14de1af
2006-05-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2006-05-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* pt.c (process_template_parm): Remove superfluous temporary.
PR c++/27430
PR c++/27430
* pt.c (process_template_parm): Handle erroneous non-type parameters.
* pt.c (process_template_parm): Handle erroneous non-type parameters.
...
...
gcc/cp/pt.c
View file @
a14de1af
...
@@ -2312,19 +2312,17 @@ reduce_template_parm_level (tree index, tree type, int levels)
...
@@ -2312,19 +2312,17 @@ reduce_template_parm_level (tree index, tree type, int levels)
return
TEMPLATE_PARM_DESCENDANTS
(
index
);
return
TEMPLATE_PARM_DESCENDANTS
(
index
);
}
}
/* Process information from new template parameter
NEXT
and append it to the
/* Process information from new template parameter
PARM
and append it to the
LIST being built. This new parameter is a non-type parameter iff
LIST being built. This new parameter is a non-type parameter iff
IS_NON_TYPE is true. */
IS_NON_TYPE is true. */
tree
tree
process_template_parm
(
tree
list
,
tree
next
,
bool
is_non_type
)
process_template_parm
(
tree
list
,
tree
parm
,
bool
is_non_type
)
{
{
tree
parm
;
tree
decl
=
0
;
tree
decl
=
0
;
tree
defval
;
tree
defval
;
int
idx
;
int
idx
;
parm
=
next
;
gcc_assert
(
TREE_CODE
(
parm
)
==
TREE_LIST
);
gcc_assert
(
TREE_CODE
(
parm
)
==
TREE_LIST
);
defval
=
TREE_PURPOSE
(
parm
);
defval
=
TREE_PURPOSE
(
parm
);
...
...
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