From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35105 invoked by alias); 18 Nov 2016 16:06:23 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 33375 invoked by uid 89); 18 Nov 2016 16:06:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=U*mjw X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Nov 2016 16:06:12 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings. From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <4d17eaece8b31e642acaf4d77fe961ad8e3aaf50@gdb-build> Date: Fri, 18 Nov 2016 16:14:00 -0000 X-SW-Source: 2016-q4/txt/msg03232.txt.bz2 *** TEST RESULTS FOR COMMIT 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50 *** Author: Mark Wielaard Branch: master Commit: 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50 libiberty: Fix -Wimplicit-fallthrough warnings. Adjust some comments, add some explicit fall through comments or explicit returns where necessary to not get implicit-fallthrough warnings. All fall throughs were deliberate. In one case I added an explicit return false for clarity instead of falling through a default case (that also would return false). libiberty/ChangeLog: * cplus-dem.c (demangle_signature): Move fall through comment. (demangle_fund_type): Add fall through comment between 'G' and 'I'. * hashtab.c (iterative_hash): Add fall through comments. * regex.c (regex_compile): Add Fall through comment after '+'/'?'. (byte_re_match_2_internal): Add Fall through comment after jump_n. Change "Note fall through" to "Fall through". (common_op_match_null_string_p): Return false after set_number_at instead of fall through.