[Bug c++/98327] C++ Module ICE on Linux
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 17 11:07:41 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98327
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-12-17
CC| |marxin at gcc dot gnu.org
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Can't reproduce with the current master:
$ g++ pr98327.cc -c -fmodules-ts -std=c++20
pr98327.cc:3:8: error: module-declaration not permitted here
3 | export module hello;
| ^~~~~~
pr98327.cc:4:1: error: ‘export’ may only occur after a module interface
declaration
4 | export inline void greeter (std::string_view name) noexcept
| ^~~~~~
More information about the Gcc-bugs
mailing list