This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix tree-data-ref.c ICE on VIEW_CONVERT_EXPR<type>(0) (PR tree-optimization/33856)


On Sat, Oct 27, 2007 at 07:53:33PM +0200, Richard Guenther wrote:
> > Yes, that VIEW_CONVERT_EXPR is created during early SRA (and it a struct
> > of two ints, so on LP64 it is the same size as long)
> 
> Interesting.  Why does SRA bother to initialize uninitialized fields?

Before esra we have:

picture_size_new (ps)
{
  struct z_key key;

<bb 2>:
  ps_1(D)->key ={v} key;
  return;

}

and whole key var is uninitialized, but assigned.

	Jakub


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