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
081cc1f7
Commit
081cc1f7
authored
Jan 24, 1999
by
Jason Merrill
Committed by
Jason Merrill
Jan 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cvt.c (cp_convert_to_pointer): Fix conversion of 0 to pmf.
From-SVN: r24850
parent
347d73d7
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/cvt.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
081cc1f7
1999-01-24 Jason Merrill <jason@yorick.cygnus.com>
* cvt.c (cp_convert_to_pointer): Fix conversion of 0 to pmf.
1999-01-25 Martin von Loewis <loewis@informatik.hu-berlin.de>
* decl.c (decls_match): Return 1 if old and new are identical.
...
...
gcc/cp/cvt.c
View file @
081cc1f7
...
...
@@ -226,7 +226,7 @@ cp_convert_to_pointer (type, expr)
if
(
integer_zerop
(
expr
))
{
if
(
TYPE_PTRMEMFUNC_P
(
type
))
return
build_ptrmemfunc
(
type
,
expr
,
0
);
return
build_ptrmemfunc
(
TYPE_PTRMEMFUNC_FN_TYPE
(
type
)
,
expr
,
0
);
expr
=
build_int_2
(
0
,
0
);
TREE_TYPE
(
expr
)
=
type
;
return
expr
;
...
...
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