This is the mail archive of the gcc-patches@gcc.gnu.org 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: C++ PATCH: Fix PRs 16518, 16337


Andrew Pinski wrote:

This patch fixes PRs 16518 and 16337, which are both regressions from
my recent decl-specifier changes.

I don't know how to do a fully portable test case for 16337. Any
suggestions?



Didn't I give a portable testcase in the bug:
#define vector __attribute__((vector_size(16)))
vector signed int foo (void)
{
vector signed int v1 = { 1, 2, 3, 4 };
vector signed int v2, v3;
vector signed int v4;
v2 = v1;
v3 = v1;
v4 = v1;
}


Is that really portable? I didn't think vectors were supported on all architectures. Do we now support them, even on machines that don't have vector hardware?

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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