From: Andreas Schwab <schwab@linux-m68k.org>
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
Date: Fri, 23 Jun 2023 12:25:18 +0200 [thread overview]
Message-ID: <87o7l6lbld.fsf@igel.home> (raw)
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")
../../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."
next prev parent reply other threads:[~2023-06-23 10:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 5:40 shiyulong
2023-06-15 6:09 ` juzhe.zhong
2023-06-17 22:07 ` Jeff Law
2023-06-18 2:12 ` Li, Pan2
2023-06-23 10:25 ` Andreas Schwab [this message]
2023-06-25 2:16 ` juzhe.zhong
2023-06-25 7:21 ` Andreas Schwab
2023-06-25 7:31 ` Li, Pan2
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7l6lbld.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dje.gcc@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jiawei@iscas.ac.cn \
--cc=jim.wilson.gcc@gmail.com \
--cc=juzhe.zhong@rivai.ai \
--cc=kito.cheng@sifive.com \
--cc=mirimmad@outlook.com \
--cc=palmer@dabbelt.com \
--cc=pan2.li@intel.com \
--cc=shihua@iscas.ac.cn \
--cc=shiyulong@iscas.ac.cn \
--cc=wuwei2016@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).