From: Marek Polacek Date: Tue, 4 Jul 2017 06:53:08 +0000 (+0000) Subject: * c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c86bd888ab9a0723b16862961b74bd3e5386356;p=gcc.git * c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling. From-SVN: r249943 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 74009cf8dfc..5f32102128c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2017-07-04 Marek Polacek + + * c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling. + 2017-06-28 Martin Liska PR ipa/81128 diff --git a/gcc/c-family/c-warn.c b/gcc/c-family/c-warn.c index 5d67395c502..b9378c2dbe2 100644 --- a/gcc/c-family/c-warn.c +++ b/gcc/c-family/c-warn.c @@ -465,7 +465,6 @@ warn_if_unused_value (const_tree exp, location_t locus) case TARGET_EXPR: case CALL_EXPR: case TRY_CATCH_EXPR: - case WITH_CLEANUP_EXPR: case EXIT_EXPR: case VA_ARG_EXPR: return false;