[Bug c++/84341] [6/7 Regression] ICE with #pragma omp atomic
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 3 13:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84341
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar 3 13:30:57 2018
New Revision: 258190
URL: https://gcc.gnu.org/viewcvs?rev=258190&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-7-branch/gcc/testsuite/c-c++-common/gomp/pr84341.c
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/parser.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list