mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:44:05 +08:00
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:
parent
1f67f80309
commit
f1c4ff7056
@ -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
|
||||
|
15
gcc/testsuite/g++.dg/tree-ssa/pr41961.C
Normal file
15
gcc/testsuite/g++.dg/tree-ssa/pr41961.C
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user