From: Marek Polacek Date: Wed, 5 Feb 2014 21:06:56 +0000 (+0000) Subject: re PR c/53123 (Double return statement in c-omp.c source file) X-Git-Tag: releases/gcc-4.9.0~1071 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ec4847ad4718e70f20099a43ab79ffc6dc2a758;p=thirdparty%2Fgcc.git re PR c/53123 (Double return statement in c-omp.c source file) PR c/53123 c-family/ * c-omp.c (c_finish_omp_atomic): Remove unreachable return statement. From-SVN: r207524 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 82807f385798..38fc2d23e342 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2014-02-05 Marek Polacek + + PR c/53123 + * c-omp.c (c_finish_omp_atomic): Remove unreachable return + statement. + 2014-02-04 Marek Polacek PR c/60036 diff --git a/gcc/c-family/c-omp.c b/gcc/c-family/c-omp.c index 4ce51e4a9d2f..dd0a45d968a9 100644 --- a/gcc/c-family/c-omp.c +++ b/gcc/c-family/c-omp.c @@ -183,7 +183,6 @@ c_finish_omp_atomic (location_t loc, enum tree_code code, OMP_ATOMIC_SEQ_CST (x) = seq_cst; return build_modify_expr (loc, v, NULL_TREE, NOP_EXPR, loc, x, NULL_TREE); - return x; } /* There are lots of warnings, errors, and conversions that need to happen