public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: 钟居哲 <juzhe.zhong@rivai.ai>
To: "Andreas Schwab" <schwab@linux-m68k.org>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>,
	 kito.cheng <kito.cheng@gmail.com>,  palmer <palmer@dabbelt.com>
Subject: Re: Re: [PATCH] RISC-V: Support VSETVL PASS for RVV support
Date: Fri, 23 Dec 2022 20:19:49 +0800	[thread overview]
Message-ID: <98EDD54B13C29780+20221223201949413142191@rivai.ai> (raw)
In-Reply-To: <877cyibdde.fsf@igel.home>

[-- Attachment #1: Type: text/plain, Size: 3032 bytes --]

Would you mind telling me how you reproduce these errors ?
I failed to reproduce this. Thanks



juzhe.zhong@rivai.ai
 
From: Andreas Schwab
Date: 2022-12-23 18:53
To: juzhe.zhong
CC: gcc-patches; kito.cheng; palmer
Subject: Re: [PATCH] RISC-V: Support VSETVL PASS for RVV support
How has this been tested?
 
In file included from ../../gcc/config/riscv/riscv-vsetvl.cc:89:
../../gcc/config/riscv/riscv-vsetvl.h: In member function 'riscv_vector::avl_info riscv_vector::vl_vtype_info::get_avl_info() const':
../../gcc/config/riscv/riscv-vsetvl.h:175:43: error: implicitly-declared 'constexpr riscv_vector::avl_info::avl_info(const riscv_vector::avl_info&)' is deprecated [-Werror=deprecated-copy]
  175 |   avl_info get_avl_info () const { return m_avl; }
      |                                           ^~~~~
../../gcc/config/riscv/riscv-vsetvl.h:131:13: note: because 'riscv_vector::avl_info' has user-provided 'riscv_vector::avl_info& riscv_vector::avl_info::operator=(const riscv_vector::avl_info&)'
  131 |   avl_info &operator= (const avl_info &);
      |             ^~~~~~~~
../../gcc/config/riscv/riscv-vsetvl.cc: In function 'bool change_insn(rtl_ssa::function_info*, rtl_ssa::insn_change, rtl_ssa::insn_info*, rtx)':
../../gcc/config/riscv/riscv-vsetvl.cc:823:27: error: unquoted whitespace character '\x0a' in format [-Werror=format-diag]
  823 |           pp_printf (&pp, "\n");
      |                           ^~~~
../../gcc/config/riscv/riscv-vsetvl.cc:847:27: error: unquoted whitespace character '\x0a' in format [-Werror=format-diag]
  847 |           pp_printf (&pp, "\n");
      |                           ^~~~
../../gcc/config/riscv/riscv-vsetvl.cc: In constructor 'riscv_vector::vl_vtype_info::vl_vtype_info(riscv_vector::avl_info, uint8_t, riscv_vector::vlmul_type, uint8_t, bool, bool)':
../../gcc/config/riscv/riscv-vsetvl.cc:905:5: error: implicitly-declared 'constexpr riscv_vector::avl_info::avl_info(const riscv_vector::avl_info&)' is deprecated [-Werror=deprecated-copy]
  905 |   : m_avl (avl_in), m_sew (sew_in), m_vlmul (vlmul_in), m_ratio (ratio_in),
      |     ^~~~~~~~~~~~~~
../../gcc/config/riscv/riscv-vsetvl.cc:859:1: note: because 'riscv_vector::avl_info' has user-provided 'riscv_vector::avl_info& riscv_vector::avl_info::operator=(const riscv_vector::avl_info&)'
  859 | avl_info::operator= (const avl_info &other)
      | ^~~~~~~~
../../gcc/config/riscv/riscv-vsetvl.cc: In member function 'void riscv_vector::vector_insn_info::dump(FILE*) const':
../../gcc/config/riscv/riscv-vsetvl.cc:1366:27: error: unquoted whitespace character '\x0a' in format [-Werror=format-diag]
1366 |           pp_printf (&pp, "\n");
      |                           ^~~~
cc1plus: all warnings being treated as errors
make[3]: *** [../../gcc/config/riscv/t-riscv:59: riscv-vsetvl.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."
 

  reply	other threads:[~2022-12-23 12:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14  7:31 juzhe.zhong
2022-12-19 15:12 ` Kito Cheng
2022-12-23 10:53 ` Andreas Schwab
2022-12-23 12:19   ` 钟居哲 [this message]
2022-12-23 14:54     ` Andreas Schwab
2022-12-23 15:00       ` 钟居哲
2022-12-23 12:45   ` 钟居哲
  -- strict thread matches above, loose matches on Subject: below --
2022-12-14  7:13 juzhe.zhong
2022-12-19 15:44 ` Jeff Law
2022-12-19 22:59   ` 钟居哲

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=98EDD54B13C29780+20221223201949413142191@rivai.ai \
    --to=juzhe.zhong@rivai.ai \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kito.cheng@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=schwab@linux-m68k.org \
    /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).