From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 611FC576498; Wed, 9 Aug 2023 18:46:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 611FC576498 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1691596019; bh=639VK1CdwbCYzHjKAainI1NumnTJiO7364JnkPRkQGE=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=FKW+hxxL2pl5Ig2xSUkfj/Pomtbi+yoT3XZ5Ckem/QlxOq4ZpZo0TpYVUCyCS3gX8 Ixrb1IVNs0QjPA2p6tFvsh7Xa7tTmKIvvJDjcSATOnNoLM8vla9VoOsWRelvWpSX0O x4o4E1S92IDFtqoAry9ztVg1JEjPy5Ng25L9Xgho= Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [95.163.41.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 408D1576498 for ; Wed, 9 Aug 2023 18:41:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 408D1576498 Received: by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1qTlJ9-003Nbf-2L; Wed, 09 Aug 2023 18:41:12 +0300 To: Igor Munkin , Sergey Bronnikov Date: Wed, 9 Aug 2023 18:36:01 +0300 Message-ID: <08708e70d731d2f0ac7d30399888f5620d06df16.1691592488.git.skaplun@tarantool.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD94DC436DAD9FF86068A8B70255D5151F61D5B4853E07EEE2F182A05F5380850404C228DA9ACA6FE27A6C00DF139A4F4156A27CB2E765B1616E644F53442F438E9127DB81F1F71A8F5 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CE4525FFB91B9BBCEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637911538129B0A8D078638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8C93DF1D379AA383CAB4E25FE202D9A95117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC6BA66BB79834B351A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD1828451B159A507268D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE4B6963042765DA4BB1CA5D0BF4193578D8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE3B5C78E0E843E24DA6E0066C2D8992A16C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F7900637BBEA499411984DA1EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A5F9A673316905CBA82F6BEBBAB7CE8134BA6F1F98AB9CFFB8F87CCE6106E1FC07E67D4AC08A07B9B02A336C65186350919C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A09B861051D4BA689FCCB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF8B6A647E82E19593DAB5FA649F17DED54E07E45DB0AF6638332D6EB8E384976B384CCA0DA9D2472C1529AA6C8ABD04CAFC0488AFBA59BBA1344C734394DF0A96A74DFFEFA5DC0E7F02C26D483E81D6BE5EF9655DD6DEA7D65774BB76CC95456EEC5B5AD62611EEC62B5AFB4261A09AF0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojUzxoxvtYX2rID/KO46uUCQ== X-Mailru-Sender: 11C2EC085EDE56FAC07928AF2646A7693E5AF5C51668D8046A27CB2E765B1616825871508D9F3970DEDBA653FF35249392D99EB8CC7091A70E183A470755BFD208F19895AA18418972D6B4FCE48DF648AE208404248635DF X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 12/19] DynASM: Fix warning. X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Mike Pall (cherry-picked from commit 9b41062156779160b88fe5e1eb1ece1ee1fe6a74) This patch adds the `/* fallthrough */` comments elsewhere, where it was missing for the ARM64 build, so the `-Wimplicit-fallthrough` [1] warning is trigerred. [1]: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough Sergey Kaplun: * added the description for the commit Part of tarantool/tarantool#8825 --- dynasm/dasm_arm64.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dynasm/dasm_arm64.h b/dynasm/dasm_arm64.h index 47e1e074..ff21236d 100644 --- a/dynasm/dasm_arm64.h +++ b/dynasm/dasm_arm64.h @@ -427,6 +427,7 @@ int dasm_encode(Dst_DECL, void *buffer) break; case DASM_REL_LG: CK(n >= 0, UNDEF_LG); + /* fallthrough */ case DASM_REL_PC: CK(n >= 0, UNDEF_PC); n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base) + 4; -- 2.41.0