This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: permit unary plus to be used with vector types
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "Jan Beulich" <JBeulich at novell dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 18 May 2004 09:23:45 -0700
- Subject: Re: permit unary plus to be used with vector types
- References: <s0aa4287.086@emea1-mh.id2.novell.com>
"Jan Beulich" <JBeulich@novell.com> writes:
> Having put together these I'd like to understand three things:
>
> a) Since there doesn't seem to be a mechanism to generate source files
> from templates in the test suite, and since completely testing all
> possible combinations would require adding 460 files, what is the proper
> way to go? Add this large a set of files, or invent a mechanism to
> create source files on the fly from a template (or is there one and I
> failed to identify it)?
Uh. Why do you need 460 files? At least all the unary plus tests can
be put in one file, and most of the repetition can be handled with
macros -
#define T(type) type type##v; +type##v
T(vector_type_A);
T(vector_type_B);
...
or something like that.
zw