Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: Martin Husemann <martin@duskware.de>
From: James Chacon <jmc@NetBSD.org>
List: tech-userlevel
Date: 06/17/2005 17:50:59
On Sat, Jun 18, 2005 at 12:43:20AM +0200, Martin Husemann wrote:
> On Fri, Jun 17, 2005 at 05:36:16PM -0500, James Chacon wrote:
> > Does it violate the principle of least surprise that the compiler is deciding
> > to call entirely different functions for me because it decided that was 
> > "optimal" when all I did was specify -O2 or -O3?
> 
> Not more than memcpy() being inlined and getting alignment restrictions
> that the "real" memcpy does not have.

At least it's still calling memcpy....

James