Bug#362414: abs() returns a negative number
>
> Package: gcc-snapshot
> Version: 20060325-1
>
> I get the following build failure of libsndfile with gcc 4.2
> 20060325-1 and 20060408-1. Basically what happens is that abs()
> returns a negative number.
>
> > Automatic build of libsndfile_1.0.15-2 on em64t by sbuild/amd64 1.112
> ...
> > ./lossy_comp_test wav_ima
> > lcomp_test_short : ima.wav ................. ok
> > lcomp_test_int : ima.wav .................
> >
> > Line 757: Signal is all zeros (-27260928, 0xFE600800).
> > make[2]: *** [wav-tests] Error 1
isn't -27260928 the smallest negative number for int?
if so then abs on that number is undefined.
-- Pinski
Reply to: