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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is an even more reduced testcase:
struct _Deque_base {
  long _M_map_size;
  int *_M_start;
  int *_M_finish;
};
void morphologicalFilter1D() {
#pragma omp parallel
  {
  struct _Deque_base vals[4];
  }
}

---- CUT ---
The above testcase can be used with either the C or C++ front-ends now too.
I would say the bug is in value-query.cc really for not checking the defining
statement is non-null when it is looping through all of the ssa names.

Reply via email to