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
b302001e
Commit
b302001e
authored
Nov 03, 2016
by
Jason Merrill
Committed by
Jason Merrill
Nov 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-cppbuiltin.c (c_cpp_builtins): Correct __cpp_inheriting_constructors.
From-SVN: r241830
parent
d3d3f1af
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
gcc/c-family/ChangeLog
+5
-0
gcc/c-family/c-cppbuiltin.c
+1
-1
gcc/testsuite/g++.dg/cpp1y/feat-cxx11.C
+2
-2
gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
+2
-2
gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
+2
-2
No files found.
gcc/c-family/ChangeLog
View file @
b302001e
2016
-
11
-
03
Jason
Merrill
<
jason
@
redhat
.
com
>
*
c
-
cppbuiltin
.
c
(
c_cpp_builtins
):
Correct
__cpp_inheriting_constructors
.
2016
-
11
-
01
Jason
Merrill
<
jason
@
redhat
.
com
>
*
c
-
cppbuiltin
.
c
(
c_cpp_builtins
):
Update
...
...
gcc/c-family/c-cppbuiltin.c
View file @
b302001e
...
...
@@ -907,7 +907,7 @@ c_cpp_builtins (cpp_reader *pfile)
if
(
!
flag_new_inheriting_ctors
)
cpp_define
(
pfile
,
"__cpp_inheriting_constructors=200802"
);
else
cpp_define
(
pfile
,
"__cpp_inheriting_constructors=201
606
"
);
cpp_define
(
pfile
,
"__cpp_inheriting_constructors=201
511
"
);
cpp_define
(
pfile
,
"__cpp_ref_qualifiers=200710"
);
cpp_define
(
pfile
,
"__cpp_alias_templates=200704"
);
}
...
...
gcc/testsuite/g++.dg/cpp1y/feat-cxx11.C
View file @
b302001e
...
...
@@ -109,8 +109,8 @@
#ifndef __cpp_inheriting_constructors
# error "__cpp_inheriting_constructors"
#elif __cpp_inheriting_constructors!= 201
606
# error "__cpp_inheriting_constructors != 201
606
"
#elif __cpp_inheriting_constructors!= 201
511
# error "__cpp_inheriting_constructors != 201
511
"
#endif
#ifndef __cpp_ref_qualifiers
...
...
gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
View file @
b302001e
...
...
@@ -102,8 +102,8 @@
#ifndef __cpp_inheriting_constructors
# error "__cpp_inheriting_constructors"
#elif __cpp_inheriting_constructors!= 201
606
# error "__cpp_inheriting_constructors != 201
606
"
#elif __cpp_inheriting_constructors!= 201
511
# error "__cpp_inheriting_constructors != 201
511
"
#endif
#ifndef __cpp_ref_qualifiers
...
...
gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
View file @
b302001e
...
...
@@ -90,8 +90,8 @@
#ifndef __cpp_inheriting_constructors
# error "__cpp_inheriting_constructors"
#elif __cpp_inheriting_constructors!= 201
606
# error "__cpp_inheriting_constructors != 201
606
"
#elif __cpp_inheriting_constructors!= 201
511
# error "__cpp_inheriting_constructors != 201
511
"
#endif
#ifndef __cpp_ref_qualifiers
...
...
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