[Bug c++/109623] constexpr restrictions are not relaxed enough

2023-05-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109623

--- Comment #3 from Marek Polacek  ---
// PR c++/109623

struct U {
  U() { }
};

struct S {
  constexpr S() = default;
  U u;
};

[Bug c++/109623] constexpr restrictions are not relaxed enough

2023-04-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109623

Marek Polacek  changed:

   What|Removed |Added

   Last reconfirmed||2023-04-27
 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |mpolacek at gcc dot 
gnu.org

--- Comment #2 from Marek Polacek  ---
Most likely, mine thus.

[Bug c++/109623] constexpr restrictions are not relaxed enough

2023-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109623

Jonathan Wakely  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=106649

--- Comment #1 from Jonathan Wakely  ---
I think this shoulda been done for Bug 106649, IIUC