https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101516
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[10/11/12 Regression] ICE |[9/10/11/12 Regression] ICE
|in |in
|finish_omp_reduction_clause |finish_omp_reduction_clause
|, at cp/semantics.c:6075 |, at cp/semantics.c:6075
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
void
foo (int (&v) [])
{
#pragma omp parallel reduction (+:v)
;
}
Started with r6-3899-gd9a6bd32adc40a7e1e5c72692a330f14453ad7f0
The allocate clause there isn't really needed, but with it it will be rejected
when it wasn't supported.