[lkml]   [1996]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: signal(SIGFPE,SIG_IGN) causes endless loop (Alan Cox)  wrote on 23.04.96 in <>:

> Then the SCO system is not a C compiler. Thats a compiler bug. X/0 is legal
> C. Remind me to use an FPU trap to run something gratuitously so SCO users
> cant build it.

That's an interesting definition of "legal".

ANSI C says that the behaviour is undefined. "Permissible undefined
behaviour ranges ... to terminating a translation or execution (with the
issuance of a diagnostic message)."

I'd say you're wrong.

MfG Kai

 \ /
  Last update: 2005-03-22 13:37    [W:0.050 / U:3.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site