vec.h: Uncomment static_assert
commit9d249b7e31eb4e1379a45f90949776c11d29063c
authorJakub Jelinek <jakub@redhat.com>
Sat, 30 Sep 2023 09:26:14 +0000 (30 11:26 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sat, 30 Sep 2023 09:26:14 +0000 (30 11:26 +0200)
tree0bba403909f5ba49b136dd1302bb2edfbbbb1dde
parentd6fe757b39297c1c0cf243acee860d045726c184
vec.h: Uncomment static_assert

Now that poly_int_pod has been removed and other changes mostly to use
{quick,safe}_grow_cleared instead of {quick,safe}_grow for types with
non-trivial default construction, we can enable even the last static
assertion.  From now on, {quick,safe}_grow can only be used with
trivially default constructible types.

2023-09-30  Jakub Jelinek  <jakub@redhat.com>

* vec.h (quick_grow): Uncomment static_assert.
gcc/vec.h