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
490a091f
Commit
490a091f
authored
Dec 17, 2019
by
Jason Merrill
Committed by
Jason Merrill
Dec 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* name-lookup.c (get_std_name_hint): Add std::byte.
From-SVN: r279471
parent
775670d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/name-lookup.c
+2
-0
gcc/testsuite/g++.dg/lookup/missing-std-include-9.C
+3
-0
No files found.
gcc/cp/ChangeLog
View file @
490a091f
2019-12-17 Jason Merrill <jason@redhat.com>
* name-lookup.c (get_std_name_hint): Add std::byte.
2019-12-17 Jakub Jelinek <jakub@redhat.com>
PR c++/59655
...
...
gcc/cp/name-lookup.c
View file @
490a091f
...
...
@@ -5641,6 +5641,8 @@ get_std_name_hint (const char *name)
/* <condition_variable>. */
{
"condition_variable"
,
"<condition_variable>"
,
cxx11
},
{
"condition_variable_any"
,
"<condition_variable>"
,
cxx11
},
/* <cstddef>. */
{
"byte"
,
"<cstddef>"
,
cxx17
},
/* <deque>. */
{
"deque"
,
"<deque>"
,
cxx98
},
/* <forward_list>. */
...
...
gcc/testsuite/g++.dg/lookup/missing-std-include-9.C
0 → 100644
View file @
490a091f
std
::
byte
b
;
// { dg-error "byte" }
// { dg-message "cstddef" "" { target c++17 } .-1 }
// { dg-message "C..17" "" { target c++14_down } .-2 }
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