This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43424] -O2 -floop-parallelize-all causes verify_stmts failure
- 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 Mar 2010 20:22:06 -0000
- Subject: [Bug tree-optimization/43424] -O2 -floop-parallelize-all causes verify_stmts failure
- References: <bug-43424-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-03-18 20:22 -------
Reduced testcase:
struct vector
{
long &operator[](int __n) { return *(_M_start + __n); }
~vector();
long *_M_start;
};
long v_gcd();
void v_make_prime(vector& v,long& g, long j){
int i;
vector w;
g=v_gcd();
for (i = 0; i < j; i++)
w[i]=v[i]/g;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-03-18 20:22:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43424