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
5168dcfc
Commit
5168dcfc
authored
Sep 15, 1997
by
Jason Merrill
Committed by
Jason Merrill
Sep 15, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* call.c (null_ptr_cst_p): Integer type, not integral type.
From-SVN: r15463
parent
4bb43724
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/cp/ChangeLog
+2
-0
gcc/cp/call.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
5168dcfc
Mon Sep 15 11:52:13 1997 Jason Merrill <jason@yorick.cygnus.com>
Mon Sep 15 11:52:13 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (null_ptr_cst_p): Integer type, not integral type.
* call.c (joust): Disable warnings until they can be moved to the
* call.c (joust): Disable warnings until they can be moved to the
right place.
right place.
...
...
gcc/cp/call.c
View file @
5168dcfc
...
@@ -2999,7 +2999,7 @@ null_ptr_cst_p (t)
...
@@ -2999,7 +2999,7 @@ null_ptr_cst_p (t)
tree
t
;
tree
t
;
{
{
if
(
t
==
null_node
if
(
t
==
null_node
||
integer_zerop
(
t
)
&&
INTEGRAL_TYPE_P
(
TREE_TYPE
(
t
))
)
||
integer_zerop
(
t
)
&&
TREE_CODE
(
TREE_TYPE
(
t
))
==
INTEGER_TYPE
)
return
1
;
return
1
;
return
0
;
return
0
;
}
}
...
...
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