From: Uncle George <gatgul@voicenet.com>
Subject: Re: axp/gcc the double cast gets trashed on return
Date: Mon, 06 Oct 1997 14:35:20 -0400 [thread overview]
Message-ID: <5facdf6ef386794b171b8b763a525a37.axp-list@archive.invalid> (raw)
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
next reply other threads:[~1997-10-06 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-06 18:35 Uncle George [this message]
[not found] <3438FA7E.E8FD1D28@voicenet.com>
1997-10-06 17:03 ` axp/gcc the double cast gets trashed on return Richard Henderson
1997-10-07 0:08 ` Volker Barthelmann
-- strict thread matches above, loose matches on Subject: below --
1997-10-06 14:49 Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox