This is the mail archive of the 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: [RFA:] fix lack of #ifdef HAVE_C99_RUNTIME in builtins-20.c and elsewhere

On 05/07/2007, at 6:01 PM, Hans-Peter Nilsson wrote:

From: Geoff Keating <>
Date: Thu, 5 Jul 2007 17:39:08 -0700

On 05/07/2007, at 5:19 PM, Hans-Peter Nilsson wrote:
+proc check_effective_target_c99_math { } {

I agree with Kaveh here; in each of these cases what you want to do is
to #include builtins-config.h and add options lines as

No, I *don't* want to do that *only* and I already mentioned why: the tests *besides* builtins-20; to wit builtins-59.c, builtins-61.c and builtins-62.c, are performed by grepping dump files, and that can't be helped by an include and stuff #ifdef'd out. That only helps builtins-20.c. Those tests need a dejagnu-test way to be skipped, and that way is check_effective_target_c99_math.

Well, that makes sense; but then can you arrange for check_effective_target_c99_math to distinguish between the case of "I included builtins-config.h and it said there were no C99 functions" and "builtins-config.h says I have a testsuite error"?

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