diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2024-12-13 14:27:08 +0100 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2024-12-13 14:27:08 +0100 |
commit | 46dd8acffe8264c5586cf5dc489157ea254dc152 (patch) | |
tree | 55944444abefdf2f632847b007ab17144bfcbf82 /libgo | |
parent | 6dcfe8743134936db17ffdfd0a5102a87338f494 (diff) | |
download | gcc-46dd8acffe8264c5586cf5dc489157ea254dc152.zip gcc-46dd8acffe8264c5586cf5dc489157ea254dc152.tar.gz gcc-46dd8acffe8264c5586cf5dc489157ea254dc152.tar.bz2 |
C++: reject OpenMP directives in constexpr functions
gcc/cp/ChangeLog:
* parser.cc (cp_parser_omp_construct, cp_parser_pragma): Reject
OpenMP expressions in constexpr functions.
gcc/testsuite/ChangeLog:
* g++.dg/gomp/pr108607.C: Update dg-error.
* g++.dg/gomp/pr79664.C: Update dg-error.
* g++.dg/gomp/omp-constexpr.C: New test.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions