------- Comment #28 from ghazi at gcc dot gnu dot org 2009-12-09 18:55 ------- (In reply to comment #26) > I am still a bit confused about this bug. When we leave -lm out of the linkage > of builtin-math-7.exe, where does the ___divdc3 call get resolved from?
The ___divdc3 function is defined in FSF GCC's libgcc2.so, which is what you want here. That version correctly handles overflow scenarios in complex division. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333