Subject: Re: gcc4 lossage on mips kernels with semi-packed struct
To: None <jonathan@dsg.stanford.edu>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-toolchain
Date: 05/19/2006 16:25:31
jonathan@dsg.stanford.edu wrote:
> Is builtin memcpy really the culprit? Oh, taste the irony.
> Please let me know (off-list if you deem appropriate.)
Using -fno-builtin generates:
move $2,$4
lw $25,%call16(memcpy)($28)
addiu $4,$5,2
li $6,4 # 0x4
jr $25
move $5,$2
so it really does appear to be the builtin memcpy.
Cheers,
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/