gnuradio-core: trial "fix" for QA failure with debian gcc 4.4.4
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Tue, 6 Jul 2010 04:41:41 +0000 (21:41 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Tue, 6 Jul 2010 04:41:41 +0000 (21:41 -0700)
commit27ada0c49b62a8b1151089cae976228b41575c3c
treea46bf47fd704ecfb3eae199030688eb351146e4d
parent272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29
gnuradio-core: trial "fix" for QA failure with debian gcc 4.4.4

Add zeroed 'bumper' space before and after stack allocated input
buffer in QA code.

Eric Blossom:

"Bottom line, the only thing I can think of that might be going on is
that we're fetching a NaN off of the end of the input buffer,
multiplying it by zero (which works for everything except a NaN), then
propagating that through the rest of the calculation.  (In particular
alignment cases the code does deliberately fetch either before or
after the end of the buffer, and it always multiplies those values by
zero.  If they happen to be NaN's we hosed :-))  In the production
code we never see the problem since the circular buffer is zero
initialized."

Note: qa_gri_mmse_fir_interpolator::t1 now fails with the bumper code
in place.
gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc
gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc
gnuradio-core/src/lib/filter/qa_gr_fir_scc.cc
gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator.cc