bug#72842: Compile error due to lto warning on Arch Linux -Werror=maybe-uninitialized

2024-08-28 Thread Pádraig Brady
On 27/08/2024 22:34, Paul Eggert wrote: I'm not seeing that false alarm when building coreutils v9.5 on Ubuntu 24.04 LTS with "./configure --enable-gcc-warnings CC=gcc-14". What GCC version are you using? If it's not GCC 14, try upgrading. I'm using gcc-14 (Ubuntu 14-20240412-0ubuntu1) 14.0.1 20

bug#72842: Compile error due to lto warning on Arch Linux -Werror=maybe-uninitialized

2024-08-27 Thread Tobias Powalowski via GNU coreutils Bug Reports
Am 27.08.24 um 23:34 schrieb Paul Eggert: I'm not seeing that false alarm when building coreutils v9.5 on Ubuntu 24.04 LTS with "./configure --enable-gcc-warnings CC=gcc-14". What GCC version are you using? If it's not GCC 14, try upgrading. I'm using gcc-14 (Ubuntu 14-20240412-0ubuntu1) 14.0.

bug#72842: Compile error due to lto warning on Arch Linux -Werror=maybe-uninitialized

2024-08-27 Thread Paul Eggert
I'm not seeing that false alarm when building coreutils v9.5 on Ubuntu 24.04 LTS with "./configure --enable-gcc-warnings CC=gcc-14". What GCC version are you using? If it's not GCC 14, try upgrading. I'm using gcc-14 (Ubuntu 14-20240412-0ubuntu1) 14.0.1 20240412 (experimental) [master r14-9935

bug#72842: Compile error due to lto warning on Arch Linux -Werror=maybe-uninitialized

2024-08-27 Thread Tobias Powalowski via GNU coreutils Bug Reports
Hi, In function 'canonicalize_filename_mode_stk',     inlined from 'canonicalize_filename_mode' at lib/canonicalize.c:464:18,     inlined from 'get_dev' at src/df.c::26: lib/canonicalize.c:383:33: error: 'end_idx' may be used uninitialized [-Werror=maybe-uninitialized]   383 |