[Bug c++/98936] [DR1734] Incorrect computation of trivially copyable for class with user-declared move assignment operator, defined as deleted

2021-11-01 Thread roland at rschulz dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98936

Roland Schulz  changed:

   What|Removed |Added

 CC||roland at rschulz dot eu

--- Comment #2 from Roland Schulz  ---
This might be a duplicate of #96288 .

[Bug c++/98936] [DR1734] Incorrect computation of trivially copyable for class with user-declared move assignment operator, defined as deleted

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98936

Andrew Pinski  changed:

   What|Removed |Added

Summary|Incorrect computation of|[DR1734] Incorrect
   |trivially copyable for  |computation of trivially
   |class with user-declared|copyable for class with
   |move assignment operator,   |user-declared move
   |defined as deleted  |assignment operator,
   ||defined as deleted
   Keywords||accepts-invalid,
   ||rejects-valid, wrong-code

--- Comment #1 from Andrew Pinski  ---
Interesting only MSVC is able to pass the static_assert here.