Re: C local auto-initialized?
Re: C local auto-initialized?
- Subject: Re: C local auto-initialized?
- From: Fritz Anderson <email@hidden>
- Date: Thu, 20 Sep 2007 17:31:14 -0500
On Sep 20, 2007, at 5:14 PM, Greg Guerin wrote:
Jack Repenning wrote:
.... the Release disassembly might even show your uninitialized
variables
have been optimized entirely into registers, with no in-memory
presence at
all.
And possibly another bug to look for: garbage *register* values.
Remember my purpose — to teach by demonstrating a non-pristine value.
I don't object to a non-pristine value. I _want_ it.
And it's there; hurray! It loads into register $f0; hurray!
But the value disappears at the instant something is added to the
register containing it. Why?
(And I'm at -O0.)
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden