From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22374 invoked by alias); 9 Dec 2009 09:32:03 -0000 Received: (qmail 22323 invoked by uid 48); 9 Dec 2009 09:31:42 -0000 Date: Wed, 09 Dec 2009 09:32:00 -0000 Message-ID: <20091209093142.22322.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/42333] complex division failure on darwin10 with -lm In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00923.txt.bz2 ------- 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