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
e6b02185
Commit
e6b02185
authored
Nov 17, 2014
by
Jason Merrill
Committed by
Jason Merrill
Nov 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* constexpr.c (use_new_call): Always use new call handling.
From-SVN: r217664
parent
60813a46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/cp/ChangeLog
+2
-0
gcc/cp/constexpr.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
e6b02185
2014-11-17 Jason Merrill <jason@redhat.com>
2014-11-17 Jason Merrill <jason@redhat.com>
* constexpr.c (use_new_call): Always use new call handling.
C++14 constexpr support (minus loops and multiple returns)
C++14 constexpr support (minus loops and multiple returns)
* constexpr.c (use_new_call): New macro.
* constexpr.c (use_new_call): New macro.
(build_data_member_initialization): Ignore non-mem-inits.
(build_data_member_initialization): Ignore non-mem-inits.
...
...
gcc/cp/constexpr.c
View file @
e6b02185
...
@@ -1021,8 +1021,8 @@ adjust_temp_type (tree type, tree temp)
...
@@ -1021,8 +1021,8 @@ adjust_temp_type (tree type, tree temp)
}
}
/* True if we want to use the new handling of constexpr calls based on
/* True if we want to use the new handling of constexpr calls based on
DECL_SAVED_TREE.
Currently only active for C++14 mode.
*/
DECL_SAVED_TREE. */
#define use_new_call
(cxx_dialect >= cxx14)
#define use_new_call
true
/* Subroutine of cxx_eval_call_expression.
/* Subroutine of cxx_eval_call_expression.
We are processing a call expression (either CALL_EXPR or
We are processing a call expression (either CALL_EXPR or
...
...
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