public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: juzhe.zhong@rivai.ai
Cc: gcc-patches@gcc.gnu.org,  kito.cheng@gmail.com,  palmer@dabbelt.com
Subject: Re: [PATCH] RISC-V: Support VSETVL PASS for RVV support
Date: Fri, 23 Dec 2022 11:53:01 +0100	[thread overview]
Message-ID: <877cyibdde.fsf@igel.home> (raw)
In-Reply-To: <20221214073111.124081-1-juzhe.zhong@rivai.ai> (juzhe zhong's message of "Wed, 14 Dec 2022 15:31:11 +0800")

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."

  parent reply	other threads:[~2022-12-23 10:53 UTC|newest]

Thread overview: 11+ 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 [this message]
2022-12-23 12:19   ` 钟居哲
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:31 juzhe.zhong
2022-12-14  7:13 juzhe.zhong
2022-12-19 15:44 ` Jeff Law
2022-12-19 22:59   ` 钟居哲
2022-12-27 18:31     ` Jeff Law

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=877cyibdde.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=juzhe.zhong@rivai.ai \
    --cc=kito.cheng@gmail.com \
    --cc=palmer@dabbelt.com \
    /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).