http://llvm.org/bugs/show_bug.cgi?id=6895
Summary: Vector literal/casting confusion. Product: new-bugs Version: trunk Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P Component: new bugs AssignedTo: unassignedb...@nondot.org ReportedBy: john.thompson.jtsoftw...@gmail.com CC: llvmbugs@cs.uiuc.edu I've run into a problem with vector literal/casting confusion: vector float v = (vector float)((vector unsigned int)(0x49800000)); vecinit1.cpp:1:33: error: cannot initialize a vector element of type 'float' with an lvalue of type '__vector unsigned int' vector float v = (vector float)((vector unsigned int)(0x49800000)); It appears to be treating the outer paren expression as a vector literal instead of a cast. -- 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. _______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs