| To: | "'pro64-support@xxxxxxxxxxx'" <pro64-support@xxxxxxxxxxx> |
|---|---|
| Subject: | Bug in sgicc version 0.01.0-13 |
| From: | "Robboy, David G" <david.g.robboy@xxxxxxxxx> |
| Date: | Fri, 13 Apr 2001 22:51:56 -0700 |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
Compiling the attachted program with -O3 using sgicc version 0.01.0-13, the
function "bar" is optimized down to no code at all. The code should access
the volatile field in memory on each iteration of the loop.
Is there a later release of sgicc in which this bug is fixed?
David Robboy
/***** start of program *****/
struct taskQ {
long zilch;
volatile long foo;
} *tasks;
void
bar(void)
{
while (!tasks[34].foo)
;
}
main()
{
bar();
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: whirl2f90, Michael Murphy |
|---|---|
| Next by Date: | Re: Bug in sgicc version 0.01.0-13, Michael Murphy |
| Previous by Thread: | whirl2f90, Fengmei Zhao |
| Next by Thread: | Re: Bug in sgicc version 0.01.0-13, Michael Murphy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |