Re: [PATCH] Restore build with GCC 4.8 to GCC 5 (was Re: [PATCH] Workaround array_slice constructor portability issues (with older g++).)

2023-12-05 Thread Jakub Jelinek
On Mon, Dec 04, 2023 at 01:19:21PM +, Richard Sandiford wrote: > >> (that takes a size) explicitly, rather than rely on template resolution. > >> In the example above this looks like: > >> > >> array_slice t (table, 3); > >> > >> or equivalently > >> > >> array_slice t = array_slice(table, 3);

[PATCH] Restore build with GCC 4.8 to GCC 5 (was Re: [PATCH] Workaround array_slice constructor portability issues (with older g++).)

2023-12-04 Thread Richard Sandiford
Richard Sandiford writes: > "Roger Sayle" writes: >> The recent change to represent language and target attribute tables using >> vec.h's array_slice template class triggers an issue/bug in older g++ >> compilers, specifically the g++ 4.8.5 system compiler of older RedHat >> distributions. This

Re: [PATCH] Workaround array_slice constructor portability issues (with older g++).

2023-12-04 Thread Richard Sandiford
"Roger Sayle" writes: > The recent change to represent language and target attribute tables using > vec.h's array_slice template class triggers an issue/bug in older g++ > compilers, specifically the g++ 4.8.5 system compiler of older RedHat > distributions. This exhibits as the following compila

[PATCH] Workaround array_slice constructor portability issues (with older g++).

2023-12-03 Thread Roger Sayle
The recent change to represent language and target attribute tables using vec.h's array_slice template class triggers an issue/bug in older g++ compilers, specifically the g++ 4.8.5 system compiler of older RedHat distributions. This exhibits as the following compilation errors during bootstrap: