Re: [PATCH] vec.h: Guard most of static assertions for GCC >= 5

2023-09-30 Thread Patrick O'Neill
Hi Jakub, A follow-up commit of yours (9d249b7e31e) is causing bootstrap failures for riscv*-*-* targets. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111649 Patrick On 9/29/23 03:42, Jakub Jelinek wrote: Hi! As reported by Jonathan on IRC, my vec.h patch broke build with GCC 4.8.x or

Re: [PATCH] vec.h: Guard most of static assertions for GCC >= 5

2023-09-29 Thread Richard Biener
On Fri, 29 Sep 2023, Jakub Jelinek wrote: > Hi! > > As reported by Jonathan on IRC, my vec.h patch broke build with GCC 4.8.x > or 4.9.x as system compiler, e.g. on CFarm. > The problem is that while all of > std::is_trivially_{destructible,copyable,default_constructible} traits > are in C++,

[PATCH] vec.h: Guard most of static assertions for GCC >= 5

2023-09-29 Thread Jakub Jelinek
Hi! As reported by Jonathan on IRC, my vec.h patch broke build with GCC 4.8.x or 4.9.x as system compiler, e.g. on CFarm. The problem is that while all of std::is_trivially_{destructible,copyable,default_constructible} traits are in C++, only std::is_trivially_destructible has been implemented in