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
28577b86
Commit
28577b86
authored
Feb 24, 2016
by
Jason Merrill
Committed by
Jason Merrill
Feb 24, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cp-gimplify.c (cp_fold): Don't fold constexpr calls if -fno-inline.
From-SVN: r233671
parent
4501d9ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/cp-gimplify.c
+2
-1
No files found.
gcc/cp/ChangeLog
View file @
28577b86
2016-02-24 Jason Merrill <jason@redhat.com>
* cp-gimplify.c (cp_fold): Don't fold constexpr calls if -fno-inline.
2016-02-19 Jason Merrill <jason@redhat.com>
2016-02-19 Jason Merrill <jason@redhat.com>
PR c++/69743
PR c++/69743
...
...
gcc/cp/cp-gimplify.c
View file @
28577b86
...
@@ -2154,7 +2154,8 @@ cp_fold (tree x)
...
@@ -2154,7 +2154,8 @@ cp_fold (tree x)
TODO:
TODO:
Do constexpr expansion of expressions where the call itself is not
Do constexpr expansion of expressions where the call itself is not
constant, but the call followed by an INDIRECT_REF is. */
constant, but the call followed by an INDIRECT_REF is. */
if
(
callee
&&
DECL_DECLARED_CONSTEXPR_P
(
callee
))
if
(
callee
&&
DECL_DECLARED_CONSTEXPR_P
(
callee
)
&&
!
flag_no_inline
)
r
=
maybe_constant_value
(
x
);
r
=
maybe_constant_value
(
x
);
optimize
=
sv
;
optimize
=
sv
;
...
...
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