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
2e925bfc
Commit
2e925bfc
authored
Apr 23, 1998
by
Mark Mitchell
Committed by
Mark Mitchell
Apr 23, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (unify): Fix typo in previous change.
From-SVN: r19387
parent
a2538ff7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
2e925bfc
Thu Apr 23 18:27:53 1998 Mark P. Mitchell <mmitchell@usa.net>
* pt.c (unify): Fix typo in previous change.
Thu Apr 23 09:32:58 1998 Jason Merrill <jason@yorick.cygnus.com>
* error.c (dump_type_real): Declare canonical_name.
...
...
gcc/cp/pt.c
View file @
2e925bfc
...
...
@@ -5652,7 +5652,7 @@ unify (tparms, targs, ntparms, parm, arg, strict, explicit_mask)
/* The PARM is not one we're trying to unify. Just check
to see if it matches ARG. */
return
(
TREE_CODE
(
arg
)
==
TREE_CODE
(
parm
)
&&
comptypes
(
parm
,
arg
,
1
)
==
0
)
?
0
:
1
;
&&
comptypes
(
parm
,
arg
,
1
))
?
0
:
1
;
idx
=
TEMPLATE_TYPE_IDX
(
parm
);
targ
=
TREE_VEC_ELT
(
targs
,
idx
);
tparm
=
TREE_VALUE
(
TREE_VEC_ELT
(
tparms
,
idx
));
...
...
@@ -5761,7 +5761,7 @@ unify (tparms, targs, ntparms, parm, arg, strict, explicit_mask)
/* The PARM is not one we're trying to unify. Just check
to see if it matches ARG. */
return
(
TREE_CODE
(
arg
)
==
TREE_CODE
(
parm
)
&&
cp_tree_equal
(
parm
,
arg
)
==
0
)
?
0
:
1
;
&&
cp_tree_equal
(
parm
,
arg
))
?
0
:
1
;
idx
=
TEMPLATE_PARM_IDX
(
parm
);
targ
=
TREE_VEC_ELT
(
targs
,
idx
);
...
...
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