[Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 18 16:14:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 16:14 -------
Confirmed, here is a reduced testcase (which shows maybe the problem):
struct A
{
int x[4];
};
struct A foo()
{
struct A a;
int* p=a.x;
for (int i=0; i<4; ++i, ++p)
*p = 0;
return a;
}
Note it works no when compiled with the C front-end but not with the C++ front-end.
It is more related to PR 18546 than it is to PR18536.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |i686-pc-linux-gnu, powerpc-
| |darwin
Last reconfirmed|0000-00-00 00:00:00 |2004-11-18 16:14:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18544
More information about the Gcc-bugs
mailing list