[Bug c++/59297] [4.7/4.8/4.9 Regression] ICE: openmp atomic with indirect LHS
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 28 22:56:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59297
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 28 22:56:35 2013
New Revision: 205501
URL: http://gcc.gnu.org/viewcvs?rev=205501&root=gcc&view=rev
Log:
PR c++/59297
* semantics.c (finish_omp_atomic): Call finish_expr_stmt
rather than add_stmt.
* g++.dg/gomp/pr59297.C: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/gomp/pr59297.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/semantics.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list