[Bug c++/84341] [6/7/8 Regression] ICE with #pragma omp atomic
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 12 22:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84341
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 12 22:25:41 2018
New Revision: 257607
URL: https://gcc.gnu.org/viewcvs?rev=257607&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/c-c++-common/gomp/pr84341.c
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list