This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]