Bug 109582 - riscv/generic.md:28:1: unknown value `smin' for attribute `type'
Summary: riscv/generic.md:28:1: unknown value `smin' for attribute `type'
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 14.0
: P3 normal
Target Milestone: 14.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-21 08:03 UTC by Martin Liška
Modified: 2023-04-21 10:15 UTC (History)
4 users (show)

See Also:
Host: x86_64-linux-gnu
Target: riscv64-unknown-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed: 2023-04-21 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2023-04-21 08:03:19 UTC
I can't build --target=riscv64-suse-linux compiler since r14-116-g07e2576d6f344a due to: 

make
build/genattrtab /home/marxin/Programming/gcc/gcc/common.md /home/marxin/Programming/gcc/gcc/config/riscv/riscv.md insn-conditions.md \
	-Atmp-attrtab.cc -Dtmp-dfatab.cc -Ltmp-latencytab.cc
/home/marxin/Programming/gcc/gcc/config/riscv/generic.md:28:1: unknown value `smin' for attribute `type'
make: *** [Makefile:2522: s-attrtab] Error 1
Comment 1 GCC Commits 2023-04-21 09:03:44 UTC
The master branch has been updated by Robin Dapp <rdapp@gcc.gnu.org>:

https://gcc.gnu.org/g:98d66b204932e343bbf940990914b949e8fccbd5

commit r14-134-g98d66b204932e343bbf940990914b949e8fccbd5
Author: Robin Dapp <rdapp@ventanamicro.com>
Date:   Fri Apr 21 09:38:06 2023 +0200

    riscv: Fix <bitmanip_insn> fallout.
    
    PR109582: Since r14-116 generic.md uses standard names instead of the
    types defined in the <bitmanip_insn> iterator (that match instruction
    names).  Change this.
    
    gcc/ChangeLog:
    
            PR target/109582
            * config/riscv/generic.md: Change standard names to insn names.
Comment 2 Richard Biener 2023-04-21 10:15:07 UTC
Fixed hopefully