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
120ecb8a
Commit
120ecb8a
authored
Nov 03, 1998
by
Mark Mitchell
Committed by
Mark Mitchell
Nov 03, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (tsubst): Use build_index_type, not build_index_2_type.
From-SVN: r23516
parent
ab2e3386
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
120ecb8a
1998-11-03 Mark Mitchell <mark@markmitchell.com>
* pt.c (tsubst): Use build_index_type, not build_index_2_type.
1998-11-02 Jason Merrill <jason@yorick.cygnus.com>
* class.c (instantiate_type): Be more helpful.
...
...
gcc/cp/pt.c
View file @
120ecb8a
...
...
@@ -5542,7 +5542,7 @@ tsubst (t, args, in_decl)
}
max
=
fold
(
build_binary_op
(
MINUS_EXPR
,
max
,
integer_one_node
,
1
));
return
build_index_
2_type
(
size_zero_node
,
max
);
return
build_index_
type
(
max
);
}
case
TEMPLATE_TYPE_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