This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33860] [4.3 Regression] ICE in vectorizable_load, at tree-vect-transform.c:5503
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2007 14:11:14 -0000
- Subject: [Bug tree-optimization/33860] [4.3 Regression] ICE in vectorizable_load, at tree-vect-transform.c:5503
- References: <bug-33860-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tbm at cyrius dot com 2007-10-22 14:11 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
class Matrix
{
public:
double data[4][4];
Matrix operator* (const Matrix matrix) const;
void makeRotationAboutVector (void);
};
void Matrix::makeRotationAboutVector (void)
{
Matrix irx;
*this = irx * (*this);
}
Matrix Matrix::operator* (const Matrix matrix) const
{
Matrix ret;
for (int i = 0; i < 4; i++)
for (int j = 0; j < 4; j++)
ret.data[j][i] = matrix.data[j][2] + matrix.data[j][3];
return ret;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33860