This is the mail archive of the gcc-bugs@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]

[Bug c++/35049] [4.3 Regression] g++.dg/conversion/simd3.C:12: error: invalid operands to binary + (have 'float __vector__' and 'int __vector__')



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-01 10:28 -------
Regressions should have a target milestone.

But -- this error is expected?  For reference:

/* { dg-do compile } */

typedef int myint;

float __attribute__((vector_size(16))) b;
int __attribute__((vector_size(16))) d;
myint __attribute__((vector_size(16))) d2;
unsigned int __attribute__((vector_size(16))) e;

void foo()
{
        b + d; /* { dg-error "invalid operands to binary" } */
        d += e; /* { dg-error "use -flax-vector-conversions to permit
conversions between vectors with differing element types or numbers of
subparts.*cannot convert 'unsigned int __vector__' to 'int __vector__' in
assignment" } */
        d2 += d;
}

so, can you paste the full log of this FAIL?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35049


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