This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/84341] [6 Regression] ICE with #pragma omp atomic


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]