]> gcc.gnu.org Git - gcc.git/commit
Fix ICE when cache-3-1.c testcase is run
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 17 Mar 2022 16:00:52 +0000 (16:00 +0000)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 28 Jun 2022 20:55:30 +0000 (13:55 -0700)
commit00e6d2d70c212728f9bd3c1517bbef93376eee4a
tree9d613c94c62189557cd96512e8daed0153675719
parente99ae0c02546e395f7dff7cdeb97cebea8296a0c
Fix ICE when cache-3-1.c testcase is run

A change that was present in the OG11 version of
'openmp: in_reduction clause support on target construct' but
not in the mainline version resulted in non-contiguous
arrays being accepted in cache clauses, only to ICE later.

2022-03-17  Kwok Cheung Yeung  <kcy@codesourcery.com>

gcc/c/
* c-typeck.cc (handle_omp_array_sections_1): Add check to ensure
that clause is a map.

gcc/cp/
* semantics.cc (handle_omp_array_sections_1):  Add check to ensure
that clause is a map.
gcc/c/ChangeLog.omp
gcc/c/c-typeck.cc
gcc/cp/ChangeLog.omp
gcc/cp/semantics.cc
This page took 0.073538 seconds and 6 git commands to generate.