This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ldiv / BSDI 3.0 dumps core
- To: egcs-bugs at cygnus dot com
- Subject: ldiv / BSDI 3.0 dumps core
- From: Marc Recht <marc at Informatik dot Uni-Bremen dot DE>
- Date: Fri, 5 Jun 1998 14:15:06 +0200 (MET DST)
Hi!
This program dumps the core under BSDI 3.0. If I change the 0 to an other
value, e.g. 8,16,256, no core is dumped but the result is always 0/0 .
#include <stdlib.h>
int main() {
ldiv_t myldiv = ldiv(0,8);
return 0;
}
Marc