This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize
- 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: 18 Nov 2004 16:14:19 -0000
- Subject: [Bug tree-optimization/18544] [4.0 regression] ICE with -ftree-vectorize
- References: <20041118154809.18544.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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