cvs commit: src/sys/dev/ata ata-raid.c

Dag-Erling Smørgrav des at des.no
Sat Jun 11 08:24:54 GMT 2005


Stefan Farfeleder <stefanf at 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
-- 
Dag-Erling Smørgrav - des at des.no



More information about the cvs-src mailing list