Re: Missed warning (-Wuse-after-free)

2023-02-17 Thread Yann Droneaud
| ^~ alx@debian:~/tmp$ ./a.out equal before p = 0x55bff80802a0; q = 0x55bff80802a0 realloc() PID = 25222 p = 0x55bff80806d0; q = 0x55bff80802a0 Did I miss anything? -Wuse-after-free=3 Regards. -- Yann Droneaud OPTEYA

Re: stdc_bit_ceil(3) and wrapping

2022-12-30 Thread Yann Droneaud
n't > imagine of an implementation that invokes UB. Moreover, as you can see, it is > useful to make it wrap around in a defined way. > > Would you consider either or both of being more generous in the GNU > implementation and guarantee wrap around, and/or suggest that the standard > guarantees the wrap around? > > And BTW, if any of this code helps you implement that for GNU, please feel > free > to take it. :) > -- Yann Droneaud OPTEYA

alignof(type, field); sizeof(type, field); typeof(type, field): getting type information on nested field

2019-07-02 Thread Yann Droneaud
operator as _Sizeof() ? And have a header #define'ing sizeof(...) as _Sizeof() for code wanting the new behavior ? Is this possible ? Is such feature was already considered ? Regards. -- Yann Droneaud OPTEYA

Re: A GNU/Linux issue which is apparently affected by GCC.

2019-05-25 Thread Yann Droneaud
t's not related to GNU Compiler Collection. Regards. -- Yann Droneaud OPTEYA