This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18067] [4.0 Regression] ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2004 23:49:20 -0000
- Subject: [Bug tree-optimization/18067] [4.0 Regression] ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA)
- References: <20041019230355.18067.phython@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-19 23:49 -------
Oh, I forgot to say the problem is that we are not taking the variables in the size out of SSA form for
some reason.
Here is the tree level at .vars which shows the problem:
saved_stack.3 = __builtin_stack_save ();
D.1135 = __builtin_alloca ((unsigned int) (level * stride1) * 3);
memcpy ((unsigned char *) (unsigned char[(unsigned int) (block_w_3 * stride_5 - 1)] *) (unsigned
char[2][(unsigned int) (block_w_3 * stride_5 - 1)] *) D.1135, t, 1);
__builtin_stack_restore (saved_stack.3);
Note the block_w_3 and stride_5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18067