bug#11927: shred.c i686-specific warning from gcc-4.7 on fedora 17

2012-07-15 Thread Jim Meyering
Paul Eggert wrote: > On 07/12/2012 02:27 PM, Jim Meyering wrote: >> I didn't really understand the cause > > That one is one of my least favorite warnings > because sometimes it warns about real bugs but > often, as in your case, the warning is either > bogus or so hard to figure out that it might

bug#11927: shred.c i686-specific warning from gcc-4.7 on fedora 17

2012-07-12 Thread Paul Eggert
On 07/12/2012 02:27 PM, Jim Meyering wrote: > I didn't really understand the cause That one is one of my least favorite warnings because sometimes it warns about real bugs but often, as in your case, the warning is either bogus or so hard to figure out that it might as well be bogus. I see that y

bug#11927: shred.c i686-specific warning from gcc-4.7 on fedora 17

2012-07-12 Thread Jim Meyering
[mostly for the record, and so I don't forget. I'm not ready to push this just yet. ] Building shred with fedora 17 and its stock gcc 4.7 on i686, I see this warning/error: CC shred.o shred.c: In function 'dopass': shred.c:501:14: error: assuming signed overflow does not occur when