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
2fcdec57
Commit
2fcdec57
authored
Apr 17, 1998
by
Jason Merrill
Committed by
Jason Merrill
Apr 16, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (build_expr_from_tree): Just return a PMF.
From-SVN: r19256
parent
2b6815ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+8
-2
No files found.
gcc/cp/ChangeLog
View file @
2fcdec57
Fri Apr 17 01:57:12 1998 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (build_expr_from_tree): Just return a PMF.
Fri Apr 17 00:45:12 1998 Mark Mitchell <mmitchell@usa.net>
* typeck2.c (process_init_constructor): Don't strip cv-qualifiers
...
...
gcc/cp/decl2.c
View file @
2fcdec57
...
...
@@ -3540,8 +3540,14 @@ build_expr_from_tree (t)
case
CONSTRUCTOR
:
{
tree
r
=
build_nt
(
CONSTRUCTOR
,
NULL_TREE
,
build_expr_from_tree
(
CONSTRUCTOR_ELTS
(
t
)));
tree
r
;
/* digest_init will do the wrong thing if we let it. */
if
(
TREE_TYPE
(
t
)
&&
TYPE_PTRMEMFUNC_P
(
TREE_TYPE
(
t
)))
return
t
;
r
=
build_nt
(
CONSTRUCTOR
,
NULL_TREE
,
build_expr_from_tree
(
CONSTRUCTOR_ELTS
(
t
)));
if
(
TREE_TYPE
(
t
))
return
digest_init
(
TREE_TYPE
(
t
),
r
,
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