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
883dfe2a
Commit
883dfe2a
authored
Feb 15, 2018
by
Jason Merrill
Committed by
Jason Merrill
Feb 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-cppbuiltin.c (c_cpp_builtins): Update __cpp_deduction_guides.
From-SVN: r257700
parent
4912defb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/c-family/ChangeLog
+4
-0
gcc/c-family/c-cppbuiltin.c
+1
-1
gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
+2
-2
No files found.
gcc/c-family/ChangeLog
View file @
883dfe2a
2018
-
02
-
15
Jason
Merrill
<
jason
@
redhat
.
com
>
*
c
-
cppbuiltin
.
c
(
c_cpp_builtins
):
Update
__cpp_deduction_guides
.
2018
-
02
-
09
Nathan
Sidwell
<
nathan
@
acm
.
org
>
PR
c
/
84293
...
...
gcc/c-family/c-cppbuiltin.c
View file @
883dfe2a
...
...
@@ -970,7 +970,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define
(
pfile
,
"__cpp_capture_star_this=201603"
);
cpp_define
(
pfile
,
"__cpp_inline_variables=201606"
);
cpp_define
(
pfile
,
"__cpp_aggregate_bases=201603"
);
cpp_define
(
pfile
,
"__cpp_deduction_guides=2016
06
"
);
cpp_define
(
pfile
,
"__cpp_deduction_guides=2016
11
"
);
cpp_define
(
pfile
,
"__cpp_noexcept_function_type=201510"
);
cpp_define
(
pfile
,
"__cpp_template_auto=201606"
);
cpp_define
(
pfile
,
"__cpp_structured_bindings=201606"
);
...
...
gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
View file @
883dfe2a
...
...
@@ -358,8 +358,8 @@
#ifndef __cpp_deduction_guides
# error "__cpp_deduction_guides"
#elif __cpp_deduction_guides != 2016
06
# error "__cpp_deduction_guides != 2016
06
"
#elif __cpp_deduction_guides != 2016
11
# error "__cpp_deduction_guides != 2016
11
"
#endif
#ifndef __cpp_if_constexpr
...
...
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