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
5c563482
Commit
5c563482
authored
Aug 17, 2015
by
Jason Merrill
Committed by
Jason Merrill
Aug 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* except.c (check_noexcept_r): Assert that fn is POINTER_TYPE_P.
From-SVN: r226947
parent
4e1492b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/except.c
+3
-1
No files found.
gcc/cp/ChangeLog
View file @
5c563482
2015-08-17 Jason Merrill <jason@redhat.com>
* except.c (check_noexcept_r): Assert that fn is POINTER_TYPE_P.
2015-08-14 Jason Merrill <jason@redhat.com>
PR c++/65974
...
...
gcc/cp/except.c
View file @
5c563482
...
...
@@ -1155,7 +1155,9 @@ check_noexcept_r (tree *tp, int * /*walk_subtrees*/, void * /*data*/)
We could use TREE_NOTHROW (t) for !TREE_PUBLIC fns, though... */
tree
fn
=
(
code
==
AGGR_INIT_EXPR
?
AGGR_INIT_EXPR_FN
(
t
)
:
CALL_EXPR_FN
(
t
));
tree
type
=
TREE_TYPE
(
TREE_TYPE
(
fn
));
tree
type
=
TREE_TYPE
(
fn
);
gcc_assert
(
POINTER_TYPE_P
(
type
));
type
=
TREE_TYPE
(
type
);
STRIP_NOPS
(
fn
);
if
(
TREE_CODE
(
fn
)
==
ADDR_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