[PATCH] Split gcc.dg/builtins-20.c

Roger Sayle roger@eyesopen.com
Sat Jun 14 04:23:00 GMT 2003


Hi Andrew,
> I would split it up even further moving out *l of the *f tests.
> Then I would xfails on non linux, not just execute it only on linux.

I'm not sure whether "dg-do link" tests in the gcc.dg framework
support x-fail?  There are currently no examples of "dg-do" being
qualified with anything other than target.

>From the middle-end's perspective, there's no point in splitting the
*f from *l.  There's currently only a single backend macro controlling
whether these functions are present, TARGET_C99_FUNCTIONS.  However,
it would be simple to change this to two: TARGET_C99F_FUNCTIONS and
TARGET_C99L_FUNCTIONS, if you know of a platform that supports one set
and not the other?  Darwin?

Roger
--



More information about the Gcc-patches mailing list