[Bug libgomp/71941] [6/7 Regression] ICE with OpenMP tasks and queue

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 20 09:53:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71941

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
struct A { A (); A (A &); ~A (); };

template <int N>
struct B
{
  struct C { A a; C () : a () {} };
  C c;
  void foo ();
};

void
bar ()
{
  B<0> b;
#pragma omp task
  for (int i = 0; i < 2; i++)
    b.foo ();
}

Caused by r234436.


More information about the Gcc-bugs mailing list