r275142 - in /branches/gcc-7-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Aug 30 12:32:00 GMT 2019
Author: jakub
Date: Fri Aug 30 12:32:15 2019
New Revision: 275142
URL: https://gcc.gnu.org/viewcvs?rev=275142&root=gcc&view=rev
Log:
Backported from mainline
2019-03-26 Jakub Jelinek <jakub@redhat.com>
PR c++/89796
* semantics.c (finish_omp_atomic): Add warning_sentinel for
-Wunused-value around finish_expr_stmt call.
* g++.dg/gomp/pr89796.C: New test.
* gcc.dg/gomp/pr89796.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/gomp/pr89796.C
branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr89796.c
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/semantics.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list