[Bug libstdc++/94565] C++20: Comparing comparison category types against 0/nullptr is not noexcept

2020-04-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94565

Jonathan Wakely  changed:

   What|Removed |Added

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

--- Comment #2 from Jonathan Wakely  ---
Fixed.

[Bug libstdc++/94565] C++20: Comparing comparison category types against 0/nullptr is not noexcept

2020-04-14 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94565

--- Comment #1 from CVS Commits  ---
The master branch has been updated by Jonathan Wakely :

https://gcc.gnu.org/g:597601aa7a0f822816041d521fae7da6e883fa7d

commit r10-7710-g597601aa7a0f822816041d521fae7da6e883fa7d
Author: Jonathan Wakely 
Date:   Tue Apr 14 11:23:34 2020 +0100

libstdc++: Make comparison category comparisons noexcept (PR 94565)

PR libstdc++/94565
* libsupc++/compare (__unspec): Add noexcept-specifier to
constructor.
* testsuite/18_support/comparisons/categories/94565.cc: New test.

[Bug libstdc++/94565] C++20: Comparing comparison category types against 0/nullptr is not noexcept

2020-04-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94565

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2020-04-13
 Ever confirmed|0   |1
   Target Milestone|--- |10.0
   Assignee|unassigned at gcc dot gnu.org  |redi at gcc dot gnu.org