This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,testsuite] PR36285 Fixes for compat tests
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andy H <hutchinsonandy at aim dot com>
- Cc: gcc-patches at gcc dot gnu dot org, "Weddington, Eric" <eweddington at cso dot atmel dot com>
- Date: Mon, 09 Jun 2008 15:14:10 -0700
- Subject: Re: [PATCH,testsuite] PR36285 Fixes for compat tests
- References: <484AF7CC.1040106@aim.com> <1213033799.7654.1.camel@janis-laptop> <484DA594.4050204@aim.com>
- Reply-to: janis187 at us dot ibm dot com
On Mon, 2008-06-09 at 17:50 -0400, Andy H wrote:
> > dg-require-effective-target works when used in *_main.c of these
> > tests. I looked at enabling dg-skip-if for those tests but it
> > won't be trivial.
> >
>
> Yes, but there is not relevant effective type for these tests. But I
> suppose I could add one?
Sorry for not being more clear, that's what I meant.
In gcc/lib/target-supports.dg, add check_effective_target_xxx
where xxx is your new effective-target keyword. The existing
check_effective_target_* procs should be good examples and if
not, let me know.
> I'm am hoping that our code size will reduce and problem goes away. We
> are about 20% over.
We could also split the tests that are too big into multiple
pieces so each one will work.
Janis