Re: [PATCH] Mitigate -Wmaybe-uninitialized in expmed.cc.

2022-05-19 Thread Martin Liška
On 5/16/22 10:56, Richard Sandiford wrote: > Martin Liška writes: >> It's the warning I see every time I build GCC: >> >> In file included from /home/marxin/Programming/gcc/gcc/coretypes.h:478, >> from /home/marxin/Programming/gcc/gcc/expmed.cc:26: >> In function ‘poly_uint16 mode

Re: [PATCH] Mitigate -Wmaybe-uninitialized in expmed.cc.

2022-05-17 Thread Martin Liška
On 5/16/22 12:32, Richard Biener wrote: > It only seems to happen with your host compiler though? The set of Yes, happens with just released 12.1 as host compiler: g++ -fcf-protection -fno-PIE -c -g -O2 -DIN_GCC -fPIC-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno

Re: [PATCH] Mitigate -Wmaybe-uninitialized in expmed.cc.

2022-05-16 Thread Richard Biener via Gcc-patches
On Mon, May 16, 2022 at 11:18 AM Richard Sandiford via Gcc-patches wrote: > > Martin Liška writes: > > It's the warning I see every time I build GCC: > > > > In file included from /home/marxin/Programming/gcc/gcc/coretypes.h:478, > > from /home/marxin/Programming/gcc/gcc/expmed.c

Re: [PATCH] Mitigate -Wmaybe-uninitialized in expmed.cc.

2022-05-16 Thread Richard Sandiford via Gcc-patches
Martin Liška writes: > It's the warning I see every time I build GCC: > > In file included from /home/marxin/Programming/gcc/gcc/coretypes.h:478, > from /home/marxin/Programming/gcc/gcc/expmed.cc:26: > In function ‘poly_uint16 mode_to_bytes(machine_mode)’, > inlined from ‘type

[PATCH] Mitigate -Wmaybe-uninitialized in expmed.cc.

2022-05-16 Thread Martin Liška
It's the warning I see every time I build GCC: In file included from /home/marxin/Programming/gcc/gcc/coretypes.h:478, from /home/marxin/Programming/gcc/gcc/expmed.cc:26: In function ‘poly_uint16 mode_to_bytes(machine_mode)’, inlined from ‘typename if_nonpoly::type GET_MODE_S