------- Comment #10 from sergstesh at yahoo dot com 2008-01-18 03:05 ------- Ismail, the problem, as I see it, is not the failure itself, but rather dependency on optimization level.
My point is that if the code is buggy WRT signedness, it should be the same way buggy for any level of optimization. What I and others see is that code behavior changes depending on optimization. I myself very much dislike "comparison between signed and unsigned" warnings and do not allow myself to produce such a code, but in this case the warnings might be a blessing in disguise because the possibly buggy 'libsndfile' code shows what looks to me a 'gcc' bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34841