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
9aa36ae5
Commit
9aa36ae5
authored
Apr 22, 2016
by
Jason Merrill
Committed by
Jason Merrill
Apr 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-cppbuiltin.c (c_cpp_builtins): Fix __cpp_range_based_for.
From-SVN: r235371
parent
76f9244e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/c-family/ChangeLog
+4
-0
gcc/c-family/c-cppbuiltin.c
+3
-1
No files found.
gcc/c-family/ChangeLog
View file @
9aa36ae5
2016
-
04
-
22
Jason
Merrill
<
jason
@
redhat
.
com
>
*
c
-
cppbuiltin
.
c
(
c_cpp_builtins
):
Fix
__cpp_range_based_for
.
2016
-
04
-
20
Ilya
Verbin
<
ilya
.
verbin
@
intel
.
com
>
2016
-
04
-
20
Ilya
Verbin
<
ilya
.
verbin
@
intel
.
com
>
PR
c
++/
69363
PR
c
++/
69363
...
...
gcc/c-family/c-cppbuiltin.c
View file @
9aa36ae5
...
@@ -841,7 +841,8 @@ c_cpp_builtins (cpp_reader *pfile)
...
@@ -841,7 +841,8 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define
(
pfile
,
"__cpp_lambdas=200907"
);
cpp_define
(
pfile
,
"__cpp_lambdas=200907"
);
if
(
cxx_dialect
==
cxx11
)
if
(
cxx_dialect
==
cxx11
)
cpp_define
(
pfile
,
"__cpp_constexpr=200704"
);
cpp_define
(
pfile
,
"__cpp_constexpr=200704"
);
cpp_define
(
pfile
,
"__cpp_range_based_for=201603"
);
if
(
cxx_dialect
<=
cxx14
)
cpp_define
(
pfile
,
"__cpp_range_based_for=200907"
);
if
(
cxx_dialect
<=
cxx14
)
if
(
cxx_dialect
<=
cxx14
)
cpp_define
(
pfile
,
"__cpp_static_assert=200410"
);
cpp_define
(
pfile
,
"__cpp_static_assert=200410"
);
cpp_define
(
pfile
,
"__cpp_decltype=200707"
);
cpp_define
(
pfile
,
"__cpp_decltype=200707"
);
...
@@ -877,6 +878,7 @@ c_cpp_builtins (cpp_reader *pfile)
...
@@ -877,6 +878,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define
(
pfile
,
"__cpp_nested_namespace_definitions=201411"
);
cpp_define
(
pfile
,
"__cpp_nested_namespace_definitions=201411"
);
cpp_define
(
pfile
,
"__cpp_fold_expressions=201603"
);
cpp_define
(
pfile
,
"__cpp_fold_expressions=201603"
);
cpp_define
(
pfile
,
"__cpp_nontype_template_args=201411"
);
cpp_define
(
pfile
,
"__cpp_nontype_template_args=201411"
);
cpp_define
(
pfile
,
"__cpp_range_based_for=201603"
);
}
}
if
(
flag_concepts
)
if
(
flag_concepts
)
/* Use a value smaller than the 201507 specified in
/* Use a value smaller than the 201507 specified in
...
...
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