This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch RFC] Split builtin-math-7.c into two tests


From: "Kaz Kojima" <kkojima@rr.iij4u.or.jp>

Hi,

A part of gcc.dg/torture/builtin-math-7.c uses Inf which
isn't supported with the target like SPU and requires -mieee
for alpha and sh.
How about moving that part to a new test with guards for
those targets?
The patch below is regtested on i686-pc-linux-gnu with no
new failures.

I'm not sure I see the point in splitting the file. My understanding is that SPU is only missing Inf for the float format. The test only looks at Inf for doubles. Did you actually run the testcase on spu and see if it fails?


For the alpha/sh, is there some reason not to just add the -mieee flag to the existing test?

--Kaveh


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