https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Probably the same underlying bug as PR113835.  The same workaround of using a
non-constant size argument works here too by disabling constexpr folding of the
initializer:

  #include <vector>
  int size = 1e5;
  std::vector r(1, std::vector<int>(size));

Reply via email to