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
1e88210d
Commit
1e88210d
authored
Aug 02, 2011
by
Jason Merrill
Committed by
Jason Merrill
Aug 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* call.c (build_call_a): Also check at_function_scope_p.
From-SVN: r177185
parent
3c3a5160
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/call.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
1e88210d
2011-08-02 Jason Merrill <jason@redhat.com>
* call.c (build_call_a): Also check at_function_scope_p.
2011-08-01 Jason Merrill <jason@redhat.com>
2011-08-01 Jason Merrill <jason@redhat.com>
PR c++/49932
PR c++/49932
...
...
gcc/cp/call.c
View file @
1e88210d
...
@@ -352,7 +352,7 @@ build_call_a (tree function, int n, tree *argarray)
...
@@ -352,7 +352,7 @@ build_call_a (tree function, int n, tree *argarray)
nothrow
=
((
decl
&&
TREE_NOTHROW
(
decl
))
nothrow
=
((
decl
&&
TREE_NOTHROW
(
decl
))
||
TYPE_NOTHROW_P
(
TREE_TYPE
(
TREE_TYPE
(
function
))));
||
TYPE_NOTHROW_P
(
TREE_TYPE
(
TREE_TYPE
(
function
))));
if
(
!
nothrow
&&
cfun
&&
cp_function_chain
)
if
(
!
nothrow
&&
at_function_scope_p
()
&&
cfun
&&
cp_function_chain
)
cp_function_chain
->
can_throw
=
1
;
cp_function_chain
->
can_throw
=
1
;
if
(
decl
&&
TREE_THIS_VOLATILE
(
decl
)
&&
cfun
&&
cp_function_chain
)
if
(
decl
&&
TREE_THIS_VOLATILE
(
decl
)
&&
cfun
&&
cp_function_chain
)
...
...
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