permit unary plus to be used with vector types
Zack Weinberg
zack@codesourcery.com
Tue May 18 16:23:00 GMT 2004
"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
More information about the Gcc
mailing list