This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84341] [6 Regression] ICE with #pragma omp atomic
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jun 2018 17:21:36 +0000
- Subject: [Bug c++/84341] [6 Regression] ICE with #pragma omp atomic
- Auto-submitted: auto-generated
- References: <bug-84341-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84341
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:21:04 2018
New Revision: 262062
URL: https://gcc.gnu.org/viewcvs?rev=262062&root=gcc&view=rev
Log:
Backported from mainline
2018-02-12 Jakub Jelinek <jakub@redhat.com>
PR c++/84341
* parser.c (cp_parser_binary_expression): Use build_min instead of
build2_loc to build the no_toplevel_fold_p toplevel binary expression.
* c-c++-common/gomp/pr84341.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/c-c++-common/gomp/pr84341.c
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/parser.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog