diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2008-08-31 02:40:13 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2008-08-30 19:40:13 -0700 |
commit | 6aebac53f319408518584e434538b66bb8f03176 (patch) | |
tree | c26fb67132b81ba83d6eaed246bea9658b7cfd2a /gcc/cse.c | |
parent | 617c394a0358b066551d89ad11fc02e1dfb32143 (diff) | |
download | gcc-6aebac53f319408518584e434538b66bb8f03176.zip gcc-6aebac53f319408518584e434538b66bb8f03176.tar.gz gcc-6aebac53f319408518584e434538b66bb8f03176.tar.bz2 |
#define vector __attribute__((vector_size(16) )) struct struct1 { union { float a[3]...
#define vector __attribute__((vector_size(16) ))
struct struct1 {
union { float a[3]; } vmx;
struct struct2 {
struct2(const struct2& r) {}
} w;
} __attribute__((aligned(16)));
struct struct3 {
vector float vmx;
operator const struct1& () const{
return *reinterpret_cast<const struct1*>(this);
}
};
struct3 func3( struct3 V1);
struct3 func2( void );
void func1( ) {
struct1 vVec = func2() ;
func3 ( (struct3&)vVec );
}
From-SVN: r139820
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions