Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* OSF/1 1.3 cc -O Bug!
@ 1994-02-21 22:02 Frederick (Rick) A Niles
  1994-02-22 16:31 ` Wesp Gerhard
  0 siblings, 1 reply; 5+ messages in thread
From: Frederick (Rick) A Niles @ 1994-02-21 22:02 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-02-25 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-21 22:02 OSF/1 1.3 cc -O Bug! Frederick (Rick) A Niles
1994-02-22 16:31 ` Wesp Gerhard
1994-02-22 19:19   ` Rick Murphy
1994-02-23 11:47     ` Wesp Gerhard
1994-02-25 20:55       ` Rick Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox