Description of problem: I just tried to compile package festival-1.95-3 from Redhat Fedora Core development tree with the gcc 4.0.0 compiler and the compiler flag -Wall. The compiler said rateconv.cc:387: warning: operation on 'outidx' may be undefined The source code is fir_stereo(inp + inoffset + inbaseidx, coep + cycctr * firlen, firlen, outp + outidx++, outp + outidx++); I agree with the compiler - this is undefined code. Suggest avoid incrementing variable "outidx" twice between sequence points. Better code might be fir_stereo(inp + inoffset + inbaseidx, coep + cycctr * firlen, firlen, outp + outidx, outp + outidx + 1); outidx += 2; Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Can you create a patch, attach it here and send it upstream? Thanks.
>Can you create a patch I could, but I have no way to test the patch in the festival package. Suggest forward bug report to upstream.
I'm working on an updated package which includes this fix. Still should be sent upstream.
See bug #232105 for in-progress updated packages which address this issue.
Created attachment 150027 [details] the patch, for reference here's the patch, for reference.
This issue should be resolved by the release of festival-1.96-0.11, now in the development tree. (See bug #232105 for details.) Please reopen if there's still a problem. Thanks.