diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-01-22 09:50:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-01-22 09:50:53 +0100 |
commit | a38979d9d7a4ab08336436052704028c56187618 (patch) | |
tree | 874a306b03c7a122a71ead76e83a91a9a708f494 /gcc/fortran/trans-openmp.c | |
parent | 5a8ea165926cb0737ab03bc48c18dc5198ab5305 (diff) | |
download | gcc-a38979d9d7a4ab08336436052704028c56187618.zip gcc-a38979d9d7a4ab08336436052704028c56187618.tar.gz gcc-a38979d9d7a4ab08336436052704028c56187618.tar.bz2 |
openmp: Teach omp_code_to_statement about rest of OpenMP statements
The omp_code_to_statement function added with the initial OpenACC support
only handled small subset of the OpenMP statements, leading to ICE if
any other OpenMP directive appeared inside of OpenACC directive.
2020-01-22 Jakub Jelinek <jakub@redhat.com>
PR fortran/93329
* openmp.c (omp_code_to_statement): Handle remaining EXEC_OMP_*
cases.
* gfortran.dg/goacc/pr93329.f90: New test.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions