[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2024-05-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852
Bug 106852 depends on bug 114867, which changed state.

Bug 114867 Summary: [modules] name lookup issues when a function overload set 
is exported from GMF
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114867

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2024-05-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852

--- Comment #5 from Jonathan Wakely  ---
Bug 114600 comment 10 has a std module implementation attached.

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2024-05-13 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852

--- Comment #4 from Boris Kolpackov  ---
FWIW, this project contains a subset of module interface files that
(reportedly) can be used to build a (probably incomplete) `std` module with
`libstdc++` using Clang (the README says it requires `libc++` but I've
confirmed with the author it is tested with both `libstdc++` and `libc++`):

https://github.com/alibaba/async_simple/tree/CXX20Modules/third_party_module/stdmodules

I am putting it out there in case someone is looking for a potential starting
point: maybe we could get going using Clang while GCC's modules support is
being worked into shape (and I am glad to see there was some progress on this
front for 14).

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2024-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852

Andrew Pinski  changed:

   What|Removed |Added

   Severity|normal  |enhancement

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2024-02-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852
Bug 106852 depends on bug 106849, which changed state.

Bug 106849 Summary: internal compiler error: tree check: expected none of 
template_decl, have template_decl in do_nonmember_using_decl, at 
cp/name-lookup.cc:4841
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2023-08-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852

Jonathan Wakely  changed:

   What|Removed |Added

   See Also||https://github.com/microsof
   ||t/STL/issues/3945

--- Comment #3 from Jonathan Wakely  ---
As per https://github.com/microsoft/STL/issues/3945 we should support the std
module in C++20 mode too.

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2022-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852

Andrew Pinski  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=103524
   Last reconfirmed||2022-12-09

--- Comment #2 from Andrew Pinski  ---
.

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2022-10-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852
Bug 106852 depends on bug 106848, which changed state.

Bug 106848 Summary: ICE when compiling module interface file with -g: error: 
type variant differs by TYPE_MAX_VALUE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106848

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2022-09-24 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852

Jiang An  changed:

   What|Removed |Added

 CC||de34 at live dot cn

--- Comment #1 from Jiang An  ---
Should std.compat provide 3-argument hypot overloads in the global namespace?

MSVC STL's std.compat intentionally doesn't provide them in the global
namespace (https://github.com/microsoft/STL/pull/3108). I think this possibly
makes sense, and we may submit an LWG issue to exclude them from the global
namespace. However, for libstdc++, such exclusion would slightly complicate the
implementation.