From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5facdf6ef386794b171b8b763a525a37.axp-list@archive.invalid> X-Archive-Original-Message-ID: <252d0284.973d9-dworz@amazing.ch> Date: Mon, 06 Oct 1997 14:35:20 -0400 From: Uncle George Subject: Re: axp/gcc the double cast gets trashed on return Richard Henderson wrote: > On Mon, Oct 06, 1997 at 10:49:36AM -0400, Uncle George wrote: > > > If you compile this with optimization, the compiler will elide the > store to d.dd since (1) it is a local variable, thus there are no > side effects once the function is complete and (2) the value is not > used. > > Make d global or static and you'll see it gets the right value. done that, no avail. This excerpt was taken from another pgm ( the java jvm ) when the double test failed. looked at the assembler, but dont see the prob. maybe u like to try it - maybe u can tellme how to look at float regs in gdb. gat -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com