[current tinderbox] failure on ia64/ia64

Ruslan Ermilov ru at freebsd.org
Wed Mar 17 03:51:14 PST 2004


On Wed, Mar 17, 2004 at 11:22:28AM +0100, Dag-Erling Sm?rgrav wrote:
> FreeBSD Tinderbox <tinderbox at freebsd.org> writes:
> > /other/tinderbox/CURRENT/ia64/ia64/src/sys/dev/sound/pci/vibes.c: In function `sv_mix_setrecsrc':
> > /other/tinderbox/CURRENT/ia64/ia64/src/sys/dev/sound/pci/vibes.c:541: warning: `i' might be used uninitialized in this function
> > *** Error code 1
> 
> Now that is wierd...  and I can't reproduce it.  There is no way i can
> be used uninitialized, it is not referenced anywhere outside this
> loop:
> 
>         for(i = 0; i < SOUND_MIXER_NRDEVICES; i++) {
>                 if ((1 << i) & mask) {
>                         v |= mt[i].iselect;
>                 }
>         }
> 
> If the problem persists, we'll have to conclude that gcc is broken
> somehow.
> 
I cannot reproduce it either, but perhaps this is the same reason why
we still have -Wno-uninitialized in <bsd.sys.mk> for normal WARNS
levels.


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-tinderbox/attachments/20040317/1bc1fd5f/attachment.bin


More information about the freebsd-tinderbox mailing list