[LLVMbugs] [Bug 4349] Internal compiler error: Assertion `Ty && "GEP indices invalid!" ' failed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jun 11 13:51:43 PDT 2009


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


Dale Johannesen <dalej at apple.com> changed:

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




--- Comment #7 from Dale Johannesen <dalej at apple.com>  2009-06-11 15:51:43 ---
(In reply to comment #2)
> Created an attachment (id=3073)
 --> (http://llvm.org/bugs/attachment.cgi?id=3073) [details]
> reduced .c testcase 
> 
> With current LLVM, this causes a very different error:
> 
> $ llvm-gcc x.c
> cc1: ../../src/gcc/llvm-convert.cpp:7318: static llvm::Constant*
> TreeConstantToLLVM::EmitLV(tree_node*): Assertion `((((enum tree_code)
> (((exp)->common.type))->common.code) == VOID_TYPE) || LV->getType() ==
> ConvertType(((exp)->common.type))->getPointerTo()) && "LValue of constant has
> wrong type!"' failed.

This is fixed:
http://llvm.org/viewvc/llvm-project?view=rev&revision=73205
http://llvm.org/viewvc/llvm-project?view=rev&revision=73206

I realize Rockbox doesn't compile yet, but I'd like to close this one and track
the other problem under its existing report, PR 3518.


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