[Bug tree-optimization/18067] [4.0 Regression] ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 19 23:49:00 GMT 2004


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



More information about the Gcc-bugs mailing list