Commit 0e242c82 by Mark Mitchell Committed by Mark Mitchell

re PR c++/16337 (bug defining multiple altivec vectors in same C++ statement)

	PR c++/16337
	* g++.dg/parse/attr2.C: New test.

From-SVN: r84872
parent 7bd5ed5c
2004-07-17 Mark Mitchell <mark@codesourcery.com>
PR c++/16337
* g++.dg/parse/attr2.C: New test.
2004-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.dg: Removed.
......
// PR c++/16337
// On i686-pc-linux-gnu, without options, we get:
// warning: SSE vector return without SSE enabled changes the ABI
// { dg-options "-w" }
#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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment