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
49432171
Commit
49432171
authored
Mar 03, 1998
by
Jason Merrill
Committed by
Jason Merrill
Mar 02, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (unify): Don't allow reduced cv-quals when strict.
From-SVN: r18383
parent
5f9e09cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/cp/ChangeLog
+2
-0
gcc/cp/pt.c
+7
-0
No files found.
gcc/cp/ChangeLog
View file @
49432171
Tue Mar 3 01:38:17 1998 Jason Merrill <jason@yorick.cygnus.com>
Tue Mar 3 01:38:17 1998 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (unify): Don't allow reduced cv-quals when strict.
* call.c, class.c, pt.c, cp-tree.h: Remove nsubsts parm from
* call.c, class.c, pt.c, cp-tree.h: Remove nsubsts parm from
*type_unification* and unify.
*type_unification* and unify.
...
...
gcc/cp/pt.c
View file @
49432171
...
@@ -5290,6 +5290,13 @@ unify (tparms, targs, ntparms, parm, arg, strict)
...
@@ -5290,6 +5290,13 @@ unify (tparms, targs, ntparms, parm, arg, strict)
if
(
arg
==
parm
)
if
(
arg
==
parm
)
return
0
;
return
0
;
/* We can't remove cv-quals when strict. */
if
(
strict
&&
TREE_CODE
(
arg
)
==
TREE_CODE
(
parm
)
&&
TREE_CODE_CLASS
(
TREE_CODE
(
arg
))
==
't'
&&
(
TYPE_READONLY
(
arg
)
<
TYPE_READONLY
(
parm
)
||
TYPE_VOLATILE
(
arg
)
<
TYPE_VOLATILE
(
parm
)))
return
1
;
switch
(
TREE_CODE
(
parm
))
switch
(
TREE_CODE
(
parm
))
{
{
case
TYPENAME_TYPE
:
case
TYPENAME_TYPE
:
...
...
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