Commit ca631fc2 by Paolo Carlini Committed by Paolo Carlini

re PR c++/60967 (ICE with range for in template function with C++11 and cilkplus)

2014-07-13  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60967
	* g++.dg/cilk-plus/pr60967.C: New.

From-SVN: r212493
parent 863a2c7e
2014-07-13 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60967
* g++.dg/cilk-plus/pr60967.C: New.
2014-07-13 Tobias Burnus <burnus@net-b.de> 2014-07-13 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/coarray_atomic_4.f90: Avoid using a kind=16 * gfortran.dg/coarray_atomic_4.f90: Avoid using a kind=16
......
// PR c++/60967
// { dg-require-effective-target c++11 }
// { dg-options "-fcilkplus" }
int container[] = {};
template <class foo>
void bar() {
for (int &v : container) { }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment