This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ldiv / BSDI 3.0 dumps core


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]