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
a942e89c
Commit
a942e89c
authored
Jul 16, 1998
by
Jason Merrill
Committed by
Jason Merrill
Jul 16, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* typeck.c (convert_for_assignment): Use comptypes.
From-SVN: r21216
parent
6673b2ea
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/typeck.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
a942e89c
1998-07-16 Jason Merrill <jason@yorick.cygnus.com>
* typeck.c (convert_for_assignment): Use comptypes.
1998-07-16 Mark Mitchell <mark@markmitchell.com>
* semantics.c (finish_object_call_expr): Move test for the
...
...
gcc/cp/typeck.c
View file @
a942e89c
...
...
@@ -6622,7 +6622,7 @@ convert_for_assignment (type, rhs, errtype, fndecl, parmnum)
else
if
(
TREE_READONLY_DECL_P
(
rhs
))
rhs
=
decl_constant_value
(
rhs
);
if
(
type
==
rhstype
)
if
(
comptypes
(
type
,
rhstype
,
1
)
)
{
overflow_warning
(
rhs
);
return
rhs
;
...
...
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