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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-checking
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |tschwinge at gcc dot gnu.org
           Priority|P3                          |P1
            Summary|[11 Regression] ICE in      |[9/10/11 Regression] ICE in
                   |cp_parser_omp_var_list_no_o |cp_parser_omp_var_list_no_o
                   |pen, at cp/parser.c:34843   |pen, at cp/parser.c:34843

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICEs even when the testcase is turned into valid one:

typedef struct __attribute__((__aligned__ (sizeof (void *)))) omp_depend_t {
  char __omp_depend_t__[2 * sizeof (void *)];
} omp_depend_t;

void
foo (int *x, omp_depend_t *y, int z)
{
#pragma omp depobj (*y) depend (in: x[z])
}

Started with 
r11-5430-gc0c7270cc4efd896fe99f8ad5409dbef089a407f but that change has been
backported to 10 and 9 branches too.

Reply via email to