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
cf5986df
Commit
cf5986df
authored
Oct 07, 2014
by
Jason Merrill
Committed by
Jason Merrill
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (cp_tree_equal) [TRAIT_EXPR]: Use cp_tree_equal for type2.
From-SVN: r215991
parent
3f4f1511
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/tree.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
cf5986df
2014-10-07 Jason Merrill <jason@redhat.com>
* tree.c (cp_tree_equal) [TRAIT_EXPR]: Use cp_tree_equal for type2.
2014-10-06 Edward Smith-Rowland <3dw4rd@verizon.net>
* cp/parser.c: Allow [[deprecated]] for C++11. Issue a pedwarn.
...
...
gcc/cp/tree.c
View file @
cf5986df
...
...
@@ -2891,7 +2891,7 @@ cp_tree_equal (tree t1, tree t2)
if
(
TRAIT_EXPR_KIND
(
t1
)
!=
TRAIT_EXPR_KIND
(
t2
))
return
false
;
return
same_type_p
(
TRAIT_EXPR_TYPE1
(
t1
),
TRAIT_EXPR_TYPE1
(
t2
))
&&
same_type_p
(
TRAIT_EXPR_TYPE2
(
t1
),
TRAIT_EXPR_TYPE2
(
t2
));
&&
cp_tree_equal
(
TRAIT_EXPR_TYPE2
(
t1
),
TRAIT_EXPR_TYPE2
(
t2
));
case
CAST_EXPR
:
case
STATIC_CAST_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