[LLVMbugs] [Bug 6153] Bitcasts between arrays are incorrectly accepted, causing llc to crash

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 26 13:51:56 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6153


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Chris Lattner <clattner at apple.com>  2010-01-26 15:51:56 ---
Fixed in r94595:
llvm-as: t.ll:1:25: error: invalid cast opcode for cast from '[4 x i8]' to '[1
x i32]'
@x = constant [1 x i32] bitcast ([4 x i8] c"abcd" to [1 x i32])
                        ^


-- 
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