Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jun 2005 10:24:45 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Stefan Farfeleder <stefanf@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, Marcel Moolenaar <marcel@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-raid.c
Message-ID:  <8664wlpagi.fsf@xps.des.no>
In-Reply-To: <20050611072537.GB39090@wombat.fafoe.narf.at> (Stefan Farfeleder's message of "Sat, 11 Jun 2005 09:25:38 %2B0200")
References:  <200506110321.j5B3LKi2025443@repoman.freebsd.org> <20050611072537.GB39090@wombat.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Farfeleder <stefanf@FreeBSD.org> writes:
> On Sat, Jun 11, 2005 at 03:21:20AM +0000, Marcel Moolenaar wrote:
> > Avoid GCC optimizations from injecting a call to memset(?) in order
> > to initialize the buffer array in ata_raid_attach() by removing the
> > initializer.
> Maybe GCC should be taught to generate a bzero call instead?

no, it should be taught to always inline the initialization.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8664wlpagi.fsf>