diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2025-05-13 10:34:34 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2025-05-14 23:28:23 +0800 |
commit | 991adf8b18c3fa03eff6cfbf396d9a15ef17f93c (patch) | |
tree | 1cf9ed18b4633fabb159cdf0109c798924b9e4a4 /gcc/fortran/dump-parse-tree.cc | |
parent | 0cbace3b142c087335e245245e97f6605a6cd1f7 (diff) | |
download | gcc-991adf8b18c3fa03eff6cfbf396d9a15ef17f93c.zip gcc-991adf8b18c3fa03eff6cfbf396d9a15ef17f93c.tar.gz gcc-991adf8b18c3fa03eff6cfbf396d9a15ef17f93c.tar.bz2 |
RISC-V: Fix uninit riscv_subset_list::m_allow_adding_dup issue
We forgot to initialize m_allow_adding_dup in the constructor of
riscv_subset_list, then that will be a random value...that will lead
to a random behavior of the -march may accpet duplicate extension.
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc
(riscv_subset_list::riscv_subset_list): Init m_allow_adding_dup.
Reviewed-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/fortran/dump-parse-tree.cc')
0 files changed, 0 insertions, 0 deletions