From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92426 invoked by alias); 6 Jun 2018 12:41:53 -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 92074 invoked by uid 89); 6 Jun 2018 12:41:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:758 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (158.69.185.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Jun 2018 12:41:52 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Fix xtensa "clobbered by longjmp" warnings From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: Date: Wed, 06 Jun 2018 12:58:00 -0000 X-SW-Source: 2018-q2/txt/msg05541.txt.bz2 *** TEST RESULTS FOR COMMIT ce72cd46ec611fe6440053f282b1b6cb7e977ff6 *** Author: Alan Modra Branch: master Commit: ce72cd46ec611fe6440053f282b1b6cb7e977ff6 Fix xtensa "clobbered by longjmp" warnings .../opcodes/xtensa-dis.c: In function print_insn_xtensa: .../opcodes/xtensa-dis.c:257:17: error: variable fmt might be clobbered by longjmp or vfork [-Werror=clobbered] xtensa_format fmt; ^~~ .../opcodes/xtensa-dis.c:262:26: error: variable valid_insn might be clobbered by longjmp or vfork [-Werror=clobbered] int first, first_slot, valid_insn = 0; ^~~~~~~~~~ * xtensa-dis.c (print_insn_xtensa): Init fmt and valid_insn after setjmp. Move init for some other vars later too.