On Sun, Aug 29, 2004 at 05:56:03PM +0300, Ruslan Ermilov wrote: +> On Sun, Aug 29, 2004 at 04:35:43PM +0200, Pawel Jakub Dawidek wrote: +> > On Sun, Aug 29, 2004 at 05:15:47AM -0400, FreeBSD Tinderbox wrote: +> > +> cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/ia64/ia64/src/sys -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/altq -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/pf -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/ngatm -I/tinderbox/CURRENT/ia64/ia64/src/sys/contrib/ia64/libuwx/src -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /tinderbox/CURRENT/ia64/ia64/src/sys/geom/mirror/g_mirror.c +> > +> /tinderbox/CURRENT/ia64/ia64/src/sys/geom/mirror/g_mirror.c: In function `g_mirror_taste': +> > +> /tinderbox/CURRENT/ia64/ia64/src/sys/geom/mirror/g_mirror.c:2485: warning: 'sc' might be used uninitialized in this function +> > +> *** Error code 1 +> > +> > Fixed, sorry. +> > +> > PS. Can someone show me which compiler flag expose those "bugs"? +> > +> I believe it's -O2 (which is not in default CFLAGS). Nope, it was tested with -O2. I made such breakage before, I think, and it was only exposed on non-i386 archs, AFAIR. Why? Where is the difference? -- Pawel Jakub Dawidek http://www.FreeBSD.org pjd_at_FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am!
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC