public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Patrick O'Neill <patrick@rivosinc.com>
Cc: gcc-patches@gcc.gnu.org,  palmer@dabbelt.com,
	 jeffreyalaw@gmail.com, kito.cheng@gmail.com,  pan2.li@intel.com,
	 gnu-toolchain@rivosinc.com
Subject: Re: [RFC v2] RISC-V: Promote Zaamo/Zalrsc to a when using an old binutils
Date: Sat, 15 Jun 2024 09:58:24 +0200	[thread overview]
Message-ID: <87a5jmiqn3.fsf@linux-m68k.org> (raw)
In-Reply-To: <20240613233059.1451117-1-patrick@rivosinc.com> (Patrick O'Neill's message of "Thu, 13 Jun 2024 16:30:59 -0700")

../../gcc/common/config/riscv/riscv-common.cc: In member function 'std::string riscv_subset_list::to_string(bool, bool) const':
../../gcc/common/config/riscv/riscv-common.cc:997:37: error: 'a_subset' may be used uninitialized [-Werror=maybe-uninitialized]
  997 |           if (subset_cmp (a_subset->name, subset->name) > 0)
      |                           ~~~~~~~~~~^~~~
../../gcc/common/config/riscv/riscv-common.cc:923:19: note: 'a_subset' was declared here
  923 |   riscv_subset_t *a_subset;
      |                   ^~~~~~~~
cc1plus: all warnings being treated as errors

-- 
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:[~2024-06-15  7:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 23:30 Patrick O'Neill
2024-06-15  7:58 ` Andreas Schwab [this message]

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=87a5jmiqn3.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gnu-toolchain@rivosinc.com \
    --cc=jeffreyalaw@gmail.com \
    --cc=kito.cheng@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=pan2.li@intel.com \
    --cc=patrick@rivosinc.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).