re PR c++/41961 (Internal error with -O3 and -ftree-parallelize-loops)

2009-11-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR tree-optimization/41961
	* g++.dg/tree-ssa/pr41961.C: New.

From-SVN: r154748
This commit is contained in:
H.J. Lu 2009-11-30 01:11:50 +00:00 committed by H.J. Lu
parent 1f67f80309
commit f1c4ff7056
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-11-29 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/41961
* g++.dg/tree-ssa/pr41961.C: New.
2009-11-29 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/42193

View File

@ -0,0 +1,15 @@
// { dg-do compile }
// { dg-require-effective-target pthread }
// { dg-options "-O3 -ftree-parallelize-loops=2" }
struct A
{
char c[17];
void foo();
};
void A::foo()
{
for (int i = 0; i < 17; ++i)
c[i] = 0;
}