[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] bunzip: work around gcc13 warning


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 13 Mar 2023 14:13:18 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3RgdrLpcHF7fOOmzueusI4sWVNVmW+IU6nGJoZBqnrM=; b=nHt0TgKZVgmlL60Upr+W+1ic6FTSLDQ+WOSNfd7Jc+iWauayO+lJc4dNvQQGlMmtk9NfZ6qcGnjkZbpuzLELHwMSBVfLoUQy6ea7IY/rOqu5ht+9fDQiGjysdN4REj0tK5mRIP3T2UzL2Gj56I04golBQGIaiWl3Vh/tPfbZlpfrp0SY0MsJuZScLHGU+4uWTb/YoT/6Nr+WotwXZHn2pFi+48Obmf9myzbQIBF0MIKjtsblz4pcmK0GVPg4Wt16mTUjiCQqMdgtdXqXJ2FHVdkvwpjHH/yN+zBDeTFLzhJlaTcZxps7kGO2LJZHg0jm5ijuqSIdKb3l45NHgXw34A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MPhJ5+pWvn/6wJR0Q2aepL0tu8nRVNeVBGLRMgZ4brRaRWrzpe4WWHk1EwrN13Va05Y/TKh8HjrB+5b8xJZsqjcTJwDXPu5Lmj9O8OR5da0LgMGB5RkYVJ3H1TlhC2ymcbejJhcvsd0nsljV9c7mq54FxCScwzj7hJyVnfxsTPANlK8+78o6L3WwLiDWJMijDn1v54RcVpTjoXhQoZHT6gVjz7L5yUlW4XLgfJOvMSCxpIWg8b7g/nWtp+kq1AtZ1x6e+fp6Fgv843318UAYz9b9c9E2PYai5ZmWm9sx3LlynjrG9xL2hTdWTytStY9zcSR73GxHCQtDlO6DU5vHxw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 13 Mar 2023 14:13:37 +0000
  • Ironport-data: A9a23:bwDg1qp67zpTzBDTvAj0u+aft39eBmLNZBIvgKrLsJaIsI4StFCzt garIBnSaPiMM2rwKYtya9ix908Gv8OGmtBmGldkqCs3EHkb85uZCYyVIHmrMnLJJKUvbq7FA +Y2MYCccZ9uHhcwgj/3b9ANeFEljfngqoLUUbKCYWYpA1c/Ek/NsDo788YhmIlknNOlNA2Ev NL2sqX3NUSsnjV5KQr40YrawP9UlKm06WNwUmAWP6gR5weFziJNV/rzGInqR5fGatgMdgKFb 76rIIGRpgvx4xorA9W5pbf3GmVirmn6ZFXmZtJ+AsBOszAazsAA+v9T2Mk0MC+7vw6hjdFpo OihgLTrIesf0g8gr8xGO/VQO3kW0aSrY9YrK1Dn2SCY5xWun3cBX5yCpaz5VGEV0r8fPI1Ay RAXAG4kZ0+bwMic+YLhW7lgu/V6LOPFPrpK7xmMzRmBZRonabbqZvyQoPN9gnI3jM0IGuvCb c0EbzYpdA7HfxBEJlYQDtQ5gfusgX78NTZfrTp5p4JuuzSVkFM3jemraYWIEjCJbZw9ckKwj 2TK5WnmRDodM8SS02Gt+XOwnO7f2yj8Xer+EZXhrqY32gfJljF75Bs+ckuYuf21kBKHXJF4A WILxBAShLY5zRn+JjX6d1jiyJKehTYeUddNF+wx6CmW17HZpQ2eAwAsXjNHLdArqsIybTgrz UOS2cPkAyR1t7+YQm7b8a2bxRuwJCwUIGkqdSICCwwf7LHLu5ovhxjCStJiFq+djdDvHzz0h TeQo0AWmLE7ncMNkaKh8jj6bymEo5HISks541vRV2f8tAdhPtf6Osqv9ETR6utGIMCBVF6ds XMYms+YqucTEZWKky/LS+IIdF2028u43PTnqQYHN/EcG/6FoBZPoag4DOlCGXpU
  • Ironport-hdrordr: A9a23:r4ZmtqEeIUZj96F0pLqFe5HXdLJyesId70hD6qkvc3Fom52j/f xGws5x6fatskdoZJhSo6H6BEDgewKUyXcR2+Us1NiZLW/bUQeTTb2KzLGSpwEIeBeOvtK1t5 0QCpSWYeeYZTcVsS+Q2njaLz9U+qjjzEnev5a9854Cd2FXQpAlyz08JheQE0VwSgUDL4E+Do Cg6s1OoCflUWgLb+ygb0N1FdTrlpnurtbLcBQGDxko5E2lljWz8oP3FBCew1M3Ty5P+7E/6m LI+jaJq5lL8svLhiM05VWjoai+q+GRi+erw/b8yvT9Hw+cxTpAor4RGIFq8gpF4t1Ho2xa6u Uk6y1QQvibrUmhNV1d2iGdvDUImQxel0PK2BuWh2Durtf+Qy9/A81dhZhBeh+c8EY4uspguZ g7q15xmqAnfy8oph6NkuTgRlVvjA65sHAimekcgzhWVpYfcqZYqcga8FlOGJkNESrm4MR/ed Meev309bJTaxeXfnrZtm5gzJilWWkyBA6PRgwHttaO2zZbkXhlxw8TxdAZnH0H6JUhIqM0kN jsI+BtjvVDX8UWZaVyCKMIRta2EHXERVbWPGebMT3cZdI60rL22u7KCZkOlZCXkcYzveQPcb z6IS1liVI=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 13/03/2023 2:10 pm, Jan Beulich wrote:
> While provable that length[0] is always initialized (because symCount
> cannot be zero), upcoming gcc13 fails to recognize this and warns about
> the unconditional use of the value immediately following the loop.
>
> See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106511.
>
> Reported-by: Martin Liška <martin.liska@xxxxxxxx>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.