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++/59297] [4.7 Regression] ICE: openmp atomic with indirect LHS


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59297

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed May  7 16:09:41 2014
New Revision: 210178

URL: http://gcc.gnu.org/viewcvs?rev=210178&root=gcc&view=rev
Log:
    Backported from mainline
    2013-11-28  Jakub Jelinek  <jakub@redhat.com>

    PR c++/59297
    * semantics.c (finish_omp_atomic): Call finish_expr_stmt
    rather than add_stmt.

    * g++.dg/gomp/pr59297.C: New test.

    2013-05-31  Jason Merrill  <jason@redhat.com>

    PR c++/56930
    * semantics.c (potential_constant_expression_1): Handle OMP_ATOMIC*.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/gomp/pr59297.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/semantics.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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