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
0395a464
Commit
0395a464
authored
Jun 29, 2017
by
Jason Merrill
Committed by
Jason Merrill
Jun 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* constexpr.c, error.c, tree.c: Remove WITH_CLEANUP_EXPR handling.
From-SVN: r249818
parent
47304c6a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
9 deletions
+2
-9
gcc/cp/ChangeLog
+2
-0
gcc/cp/constexpr.c
+0
-2
gcc/cp/error.c
+0
-1
gcc/cp/tree.c
+0
-6
No files found.
gcc/cp/ChangeLog
View file @
0395a464
2017-06-29 Jason Merrill <jason@redhat.com>
* constexpr.c, error.c, tree.c: Remove WITH_CLEANUP_EXPR handling.
PR c++/81180 - ICE with C++17 deduction of member class template.
* pt.c (build_deduction_guide): Correct member template handling.
...
...
gcc/cp/constexpr.c
View file @
0395a464
...
...
@@ -4519,7 +4519,6 @@ cxx_eval_constant_expression (const constexpr_ctx *ctx, tree t,
/* GCC internal stuff. */
case
VA_ARG_EXPR
:
case
OBJ_TYPE_REF
:
case
WITH_CLEANUP_EXPR
:
case
NON_DEPENDENT_EXPR
:
case
BASELINK
:
case
OFFSET_REF
:
...
...
@@ -5533,7 +5532,6 @@ potential_constant_expression_1 (tree t, bool want_rval, bool strict,
case
BIND_EXPR
:
return
RECUR
(
BIND_EXPR_BODY
(
t
),
want_rval
);
case
WITH_CLEANUP_EXPR
:
case
CLEANUP_POINT_EXPR
:
case
MUST_NOT_THROW_EXPR
:
case
TRY_CATCH_EXPR
:
...
...
gcc/cp/error.c
View file @
0395a464
...
...
@@ -2664,7 +2664,6 @@ dump_expr (cxx_pretty_printer *pp, tree t, int flags)
break
;
case
TRY_CATCH_EXPR
:
case
WITH_CLEANUP_EXPR
:
case
CLEANUP_POINT_EXPR
:
dump_expr
(
pp
,
TREE_OPERAND
(
t
,
0
),
flags
);
break
;
...
...
gcc/cp/tree.c
View file @
0395a464
...
...
@@ -90,7 +90,6 @@ lvalue_kind (const_tree ref)
case
PREINCREMENT_EXPR
:
case
PREDECREMENT_EXPR
:
case
TRY_CATCH_EXPR
:
case
WITH_CLEANUP_EXPR
:
case
REALPART_EXPR
:
case
IMAGPART_EXPR
:
return
lvalue_kind
(
TREE_OPERAND
(
ref
,
0
));
...
...
@@ -3584,11 +3583,6 @@ cp_tree_equal (tree t1, tree t2)
return
cp_tree_equal
(
TREE_OPERAND
(
t1
,
1
),
TREE_OPERAND
(
t2
,
1
));
}
case
WITH_CLEANUP_EXPR
:
if
(
!
cp_tree_equal
(
TREE_OPERAND
(
t1
,
0
),
TREE_OPERAND
(
t2
,
0
)))
return
false
;
return
cp_tree_equal
(
TREE_OPERAND
(
t1
,
1
),
TREE_OPERAND
(
t1
,
1
));
case
PARM_DECL
:
/* For comparing uses of parameters in late-specified return types
with an out-of-class definition of the function, but can also come
...
...
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