This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26197] [4.2 regression] ICE in is_old_name with vectorizer
- 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: 2 Mar 2006 04:44:05 -0000
- Subject: [Bug tree-optimization/26197] [4.2 regression] ICE in is_old_name with vectorizer
- References: <bug-26197-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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