[Bug tree-optimization/26197] [4.2 regression] ICE in is_old_name with vectorizer

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 2 04:44:00 GMT 2006



------- Comment #14 from pinskia at gcc dot gnu dot org  2006-03-02 04:44 -------
here is an ever more reduced testcase:
void g(const void*);
struct B
{
  int* x[2];
  int *p;
  B()
  {
     for (int** p=x; p<x+2; ++p)
      *p = 0;
  }
  ~B()
   {
      g(p);
   }
};
void bar()
{
  const B &b = B();
  g(&b);
}
--------
Compile with "-O2 -ftree-vectorize --param max-aliased-vops=0 "
--param max-aliased-vops=0 is needed so that aliaing grouping is done always.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26197



More information about the Gcc-bugs mailing list