bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Jaroslav Skarvada
Reproduced on Fedora Rawhide, gcc-6.2.1: $ make check ... In file included from test-limits-h.c:23:0: test-limits-h.c:28:17: warning: right shift count >= width of type [-Wshift-count-overflow] verify ((max) >> ((width) - 1 - ((min) < 0)) == 1) ^ ../lib/verify.h:251:31: note:

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Assaf Gordon
Hello, > On Oct 3, 2016, at 17:48, Jaroslav Skarvada wrote: > > Reproduced on Fedora Rawhide, gcc-6.2.1: > > [...] > Full build log: > https://kojipkgs.fedoraproject.org/work/tasks/8044/15928044/build.log > x86_64 seems to work OK As a side note, these are gnulib tests which fail to compile, g

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Paul Eggert
Thanks for reporting a problem. Please run the attached program width.c on your platform with your C compiler and the compiler flags you're using to build 'grep'. Although width.c should output "sizeof(long)=4 LONG_WIDTH=32 LONG_MIN=-2147483648 LONG_MAX=2147483647", it appears from your build l

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Jim Meyering
On Mon, Oct 3, 2016 at 2:48 PM, Jaroslav Skarvada wrote: > Reproduced on Fedora Rawhide, gcc-6.2.1: > > $ make check > ... > In file included from test-limits-h.c:23:0: > test-limits-h.c:28:17: warning: right shift count >= width of type > [-Wshift-count-overflow] >verify ((max) >> ((width) -