public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/99472] New: [modules] std=c++2b flag appears incompatible with C++20 module code @ 2021-03-08 18:09 wjwray at gmail dot com 2021-03-08 19:43 ` [Bug c++/99472] " mpolacek at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: wjwray at gmail dot com @ 2021-03-08 18:09 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472 Bug ID: 99472 Summary: [modules] std=c++2b flag appears incompatible with C++20 module code Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wjwray at gmail dot com Target Milestone: --- Same as bug 99436, submitting with [modules] subject and CE link https://godbolt.org/z/8ME9d8 export module foo; This works: -std=c++20 -fmodules-ts This fails: -std=c++2b -fmodules-ts -> ICE This fails: -std=c++2b -> warning: keyword 'export' is enabled with '-fmodules-ts' ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/99472] [modules] std=c++2b flag appears incompatible with C++20 module code 2021-03-08 18:09 [Bug c++/99472] New: [modules] std=c++2b flag appears incompatible with C++20 module code wjwray at gmail dot com @ 2021-03-08 19:43 ` mpolacek at gcc dot gnu.org 2021-03-08 19:44 ` nathan at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: mpolacek at gcc dot gnu.org @ 2021-03-08 19:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 CC| |mpolacek at gcc dot gnu.org Last reconfirmed| |2021-03-08 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- get_cxx_dialect_name doesn't handle C++23 yet. Looks like Nathan is on it. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/99472] [modules] std=c++2b flag appears incompatible with C++20 module code 2021-03-08 18:09 [Bug c++/99472] New: [modules] std=c++2b flag appears incompatible with C++20 module code wjwray at gmail dot com 2021-03-08 19:43 ` [Bug c++/99472] " mpolacek at gcc dot gnu.org @ 2021-03-08 19:44 ` nathan at gcc dot gnu.org 2021-03-09 13:11 ` cvs-commit at gcc dot gnu.org 2021-03-09 13:12 ` nathan at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: nathan at gcc dot gnu.org @ 2021-03-08 19:44 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472 --- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> --- indeed, also enabling modules test in 2b mode ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/99472] [modules] std=c++2b flag appears incompatible with C++20 module code 2021-03-08 18:09 [Bug c++/99472] New: [modules] std=c++2b flag appears incompatible with C++20 module code wjwray at gmail dot com 2021-03-08 19:43 ` [Bug c++/99472] " mpolacek at gcc dot gnu.org 2021-03-08 19:44 ` nathan at gcc dot gnu.org @ 2021-03-09 13:11 ` cvs-commit at gcc dot gnu.org 2021-03-09 13:12 ` nathan at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-03-09 13:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>: https://gcc.gnu.org/g:4b3d86a7768a7562798f17f074f540fbc288ec3b commit r11-7575-g4b3d86a7768a7562798f17f074f540fbc288ec3b Author: Nathan Sidwell <nathan@acm.org> Date: Tue Mar 9 05:08:09 2021 -0800 c++: Clarify note about -fmodules-ts [PR 99472] This clarifies that c++2[03] intentionally does not enable c++20 modules. PR c++/99472 gcc/cp/ * parser.c (cp_parser_diagnose_invalid_type_name): Clarify that C++20 does not yet imply modules. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/99472] [modules] std=c++2b flag appears incompatible with C++20 module code 2021-03-08 18:09 [Bug c++/99472] New: [modules] std=c++2b flag appears incompatible with C++20 module code wjwray at gmail dot com ` (2 preceding siblings ...) 2021-03-09 13:11 ` cvs-commit at gcc dot gnu.org @ 2021-03-09 13:12 ` nathan at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: nathan at gcc dot gnu.org @ 2021-03-09 13:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99472 Nathan Sidwell <nathan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> --- 4b3d86a7768 2021-03-09 | c++: Clarify note about -fmodules-ts [PR 99472] it is intentional ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-03-09 13:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-03-08 18:09 [Bug c++/99472] New: [modules] std=c++2b flag appears incompatible with C++20 module code wjwray at gmail dot com 2021-03-08 19:43 ` [Bug c++/99472] " mpolacek at gcc dot gnu.org 2021-03-08 19:44 ` nathan at gcc dot gnu.org 2021-03-09 13:11 ` cvs-commit at gcc dot gnu.org 2021-03-09 13:12 ` nathan at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).