Subject: Division by zero doesn't raise SIGFPE
To: None <current-users@netbsd.org>
From: Min Sik Kim <minskim@bawi.org>
List: current-users
Date: 12/15/2003 16:44:14
Hi,
I expect the following code (used by many GNU configure scripts) raise
SIGFPE, but it only hangs consuming 100% CPU time. This wasn't
happening on 1.6.1, but seen after I moved to -current.
Any ideas?
Min
================================
int main() {
int a;
int b;
int c;
a = 1;
b = 0;
c = a / b;
return 0;
}
================================