This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()
- From: "martin at mpa-garching dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2006 19:17:14 -0000
- Subject: [Bug c++/25874] [gomp branch] ICE in calc_dfs_tree()
- References: <bug-25874-2736@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from martin at mpa-garching dot mpg dot de 2006-01-20 19:17 -------
Reduced testcase:
int foo();
struct wigner_d
{
void recurse () {
int dd;
for (int j=0; j<=1; ++j) {
#pragma omp parallel
dd=5;
}
}
};
template<typename T> void rotate_alm(T arg)
{
wigner_d rec;
rec.recurse();
#pragma omp parallel
foo();
}
template void rotate_alm(float arg);
template void rotate_alm(double arg);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25874