From: niles@axp745.gsfc.nasa.gov (Frederick (Rick) A Niles)
Subject: OSF/1 1.3 cc -O Bug!
Date: 21 Feb 1994 22:02:33 GMT [thread overview]
Message-ID: <2kbb1p$630@paperboy.gsfc.nasa.gov> (raw)
How's this for a bug:
The following crashes for 'cc -O' and not for 'cc'
under OSF/1 1.3 and NOT under OSF/1 1.2:
int DATA_is_illegal(f)
float f;
{
unsigned int *num;
num = (unsigned int *) &f;
if (*num == 0x7FFFFFFF) {
return(1);
}
return(0);
}
Just a wondering what ya think.....
Give it a try....
Rick Niles
niles@axp745.gsfc.nasa.gov
next reply other threads:[~1994-02-21 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-21 22:02 Frederick (Rick) A Niles [this message]
1994-02-22 16:31 ` OSF/1 1.3 cc -O Bug! Wesp Gerhard
1994-02-22 19:19 ` Rick Murphy
1994-02-23 11:47 ` Wesp Gerhard
1994-02-25 20:55 ` Rick Murphy
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