Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: James Chacon <jmc@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-userlevel
Date: 06/17/2005 18:36:48
On Jun 17, 2005, at 3:36 PM, 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?
It doesn't matter how much it surprises you, because in this specific
case, the behavior is undefined.
-- thorpej