[LLVMbugs] [Bug 3508] New: /SingleSource/UnitTests/Vector/divides cbe failure

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 7 12:37:21 PST 2009


           Summary: /SingleSource/UnitTests/Vector/divides cbe failure
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu

With llvm 2.5 prerelease on x86-64 linux:

gcc Output/divides.cbe.c -o Output/divides.cbe    -O3 -fno-strict-aliasing
Output/divides.cbe.c:137: warning: conflicting types for built-in function
Output/divides.cbe.c: In function ‘main’:
Output/divides.cbe.c:222: note: use -flax-vector-conversions to permit
conversions between vectors with differing element types or numbers of subparts
Output/divides.cbe.c:222: error: incompatible types in assignment
Output/divides.cbe.c:168: warning: return type of ‘main’ is not ‘int’
make: [Output/divides.cbe] Error 1 (ignored)

struct l_struct_2E_SV llvm_cbe_S3;    /* Address-exposed local */

Compile error is here:
  *((&llvm_cbe_S3.field0)) = (((signed int  __attribute__((vector_size(16 )))
)(((signed int  __attribute__((vector_size(16 ))) )ltmp_6_2) / ((signed int 
__attribute__((vector_size(16 ))) )ltmp_7_2))));

This compiles with gcc-4.2 and runs ok, but not with gcc-4.3.3

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list