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

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).