From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 629CD3858D20 for ; Fri, 23 Jun 2023 10:25:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 629CD3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4QnYKD1cnFz1r5Sl; Fri, 23 Jun 2023 12:25:20 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4QnYKC6Lcbz1qqlS; Fri, 23 Jun 2023 12:25:19 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id dkqP85KY3RUH; Fri, 23 Jun 2023 12:25:18 +0200 (CEST) X-Auth-Info: YujLEPmwKocMMzVD2hPSXVY7a5NI+B4dZEsre9K4IrKuMcGZkKR59PnFaESEBbvi Received: from igel.home (aftr-62-216-205-34.dynamic.mnet-online.de [62.216.205.34]) (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 mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 23 Jun 2023 12:25:18 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 554D82C1D3C; Fri, 23 Jun 2023 12:25:18 +0200 (CEST) From: Andreas Schwab To: shiyulong@iscas.ac.cn Cc: gcc-patches@gcc.gnu.org, palmer@dabbelt.com, kito.cheng@sifive.com, jim.wilson.gcc@gmail.com, juzhe.zhong@rivai.ai, pan2.li@intel.com, wuwei2016@iscas.ac.cn, jiawei@iscas.ac.cn, shihua@iscas.ac.cn, dje.gcc@gmail.com, mirimmad@outlook.com Subject: Re: [PATCH V1] RISC-V:Add float16 tuple type support In-Reply-To: <20230615054052.23633-1-shiyulong@iscas.ac.cn> (shiyulong@iscas.ac.cn's message of "Thu, 15 Jun 2023 13:40:52 +0800") References: <20230615054052.23633-1-shiyulong@iscas.ac.cn> X-Yow: I always wanted a NOSE JOB!! Date: Fri, 23 Jun 2023 12:25:18 +0200 Message-ID: <87o7l6lbld.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: ../../gcc/lto-streamer-out.cc: In function 'void lto_output_init_mode_table()': ../../gcc/lto-streamer-out.cc:3177:10: error: 'void* memset(void*, int, size_t)' forming offset [256, 283] is out of the bounds [0, 256] of object 'streamer_mode_table' with type 'unsigned char [256]' [-Werror=array-bounds=] 3177 | memset (streamer_mode_table, '\0', MAX_MACHINE_MODE); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../gcc/gimple-streamer.h:25, from ../../gcc/lto-streamer-out.cc:33: ../../gcc/tree-streamer.h:78:22: note: 'streamer_mode_table' declared here 78 | extern unsigned char streamer_mode_table[1 << 8]; | ^~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:1180: lto-streamer-out.o] Error 1 -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."