Package: hurd Severity: normal Hello!
I found a weird problem with exception handling. The following code generates a SIGEFP exception (overflow), but instead of exiting with 01 as it should, it will crash: long foo(long i, long j); int main() { return foo(LONG_MIN, -1l) && 1; } long foo(long i, long j) { return i / j; } note that this equaly functional lines exit properly (with error): int main() { return (-2147483647L -1) / -1l && 1; } cheers, -- Robert Millan "5 years from now everyone will be running free GNU on their 200 MIPS, 64M SPARCstation-5" Andrew S. Tanenbaum, 30 Jan 1992 _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd