------- Comment #7 from ghazi at gcc dot gnu dot org 2009-12-08 20:24 ------- (In reply to comment #6) > Considering that builtin-math-7.c doesn't exist in gcc 4.4 branch, it is > unclear what that test should do there.
Jack - Focusing on builtin-math-7.c (which tests multiple things) misses the point. The bug on darwin10 is exposed by a trivial runtime complex division. See the code from the original description above. That code should work on 4.4 branch, etc and that is what Dominique is compiling with other gcc versions. Note I'm not commenting on your suggested patch revert, I don't know enough about Darwin to predict whether that will be fruitful. I just want to make sure we all understand that the reduced testcase I provided should work on all GCC versions that support complex numbers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333