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
647639ef
Commit
647639ef
authored
Mar 01, 2000
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert last patch
From-SVN: r32286
parent
36de3a5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
gcc/cp/ChangeLog
+0
-4
gcc/cp/typeck.c
+0
-9
No files found.
gcc/cp/ChangeLog
View file @
647639ef
2000-03-01 Cor Veenman <C.J.Veenman@its.tudelft.nl>
* typeck.c (convert_for_assignment): Warn about conversion to bool.
2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
* typeck.c (maybe_warn_about_returning_address_of_local): Reorganize
...
...
gcc/cp/typeck.c
View file @
647639ef
...
...
@@ -6487,15 +6487,6 @@ convert_for_assignment (type, rhs, errtype, fndecl, parmnum)
else
cp_warning
(
"%s to `%T' from `%T'"
,
errtype
,
type
,
rhstype
);
}
/* And warn about assigning non-BOOLEAN_TYPE to BOOLEAN_TYPE. */
else
if
(
coder
!=
BOOLEAN_TYPE
&&
codel
==
BOOLEAN_TYPE
)
{
if
(
fndecl
)
cp_warning
(
"`%T' used for argument %P of `%D'"
,
rhstype
,
parmnum
,
fndecl
);
else
cp_warning
(
"%s to `%T' from `%T'"
,
errtype
,
type
,
rhstype
);
}
/* And warn about assigning a negative value to an unsigned
variable. */
else
if
(
TREE_UNSIGNED
(
type
)
&&
codel
!=
BOOLEAN_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