------- Comment #19 from dominiq at lps dot ens dot fr 2009-12-09 09:31 ------- > As far as generation of a test case is concerned - why not just use the asm > generated by 4.5?
I did that and the assembly generated on darwin10 works fine on darwin9. I can fill a bug report to Apple to know if its a bug (regression) or a feature. > On what to do about builtin-math-7.c testcase, my inclination is we should > just > XFAIL it for darwin10 since fixing darwin's ___divdc3 won't help with > distributions out in the field. For the moment I'll prefer to keep the failure until the use of -lm in the testsuite is clarified: My understanding of the testsuite is that it is supposed to check that the gcc compilers are working as expected on a given target. Does it make any sense to pass the tests with -lm when it is not used in normal use of the compilers? If yes, why? If no, what must be changed in gcc to run the testsuite (at least on Darwin) without adding -lm to the tests? (see also related questions in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473#c87). I am planning to ask these question in the gcc list, but I won't have much time to do it before this evening, so if someone want to beat me for it, he is welcome! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333