Using __builtin_unwind_init in glibc

2023-08-14 Thread Florian Weimer via Gcc
I would like to use __builtin_unwind_init in glibc in a few places, to preserve additional evidence for a debugger. It's currently not a documented built-in function. Would that still be okay. (Most architectures will have probably benefit from a custom register-preserving assembler trampoline,

Re: Should GCC warn about sizeof(flexible_struct)?

2023-08-14 Thread Alejandro Colomar via Gcc
Hi Richard, On 2023-08-14 08:41, Richard Biener wrote: > On Fri, Aug 11, 2023 at 8:30 PM Alejandro Colomar via Gcc > wrote: [...] >> How about some -Wfam-sizeof-arithmetic that would not warn about taking >> sizeof(s) but would warn if that sizeof is used in any arithmetic? > > There are proba

Re: Should GCC warn about sizeof(flexible_struct)?

2023-08-14 Thread Martin Uecker
Am Montag, dem 14.08.2023 um 11:51 +0200 schrieb Alejandro Colomar via Gcc: > Hi Richard, > > On 2023-08-14 08:41, Richard Biener wrote: > > On Fri, Aug 11, 2023 at 8:30 PM Alejandro Colomar via Gcc > > wrote: > > [...] > > > > How about some -Wfam-sizeof-arithmetic that would not warn about ta

Re: Should GCC warn about sizeof(flexible_struct)?

2023-08-14 Thread Qing Zhao via Gcc
> On Aug 14, 2023, at 2:41 AM, Richard Biener via Gcc wrote: > > On Fri, Aug 11, 2023 at 8:30 PM Alejandro Colomar via Gcc > wrote: >> >> Hi! >> >> Structures with flexible array members have restrictions about being >> used in arrays or within other structures, as the size of the enclosing

Re: Should GCC warn about sizeof(flexible_struct)?

2023-08-14 Thread Alejandro Colomar via Gcc
Hi Martin, On 2023-08-14 18:49, Martin Uecker wrote: > Am Montag, dem 14.08.2023 um 12:21 +0200 schrieb Alejandro Colomar: [...] >> Would you mind chiming in to this question?: >> > > Unclear. It is probably UB by omission. Agree. > But this is pos

Re: Should GCC warn about sizeof(flexible_struct)?

2023-08-14 Thread Alejandro Colomar via Gcc
On 2023-08-14 19:11, Alejandro Colomar wrote: > Hi Martin, > > On 2023-08-14 18:49, Martin Uecker wrote: >> Am Montag, dem 14.08.2023 um 12:21 +0200 schrieb Alejandro Colomar: > [...] > >>> Would you mind chiming in to this question?: >>> >> >> Unclear

Оставьте, пожалуйста, отзыв

2023-08-14 Thread COINSTART via Gcc
Здравствуйте, уважаемый клиент! Спасибо, что доверяете нам! А Вы знали что у нас проходит розыгрыш денежного приза!? 💵 Условия очень простые: - Оставьте, пожалуйста, положительный отзыв на BestChange по данной ссылке: https://bestchange.ru/coinstart-exchanger.html - Подтвердите отзыв по ссылке в