[Bug target/112481] [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c
ams at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 13 18:09:52 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481
Andrew Stubbs <ams at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2023-11-13
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |ams at gcc dot gnu.org
--- Comment #4 from Andrew Stubbs <ams at gcc dot gnu.org> ---
It fails because optab_handler fails to find an instruction for "and_optab" in
SImode. I didn't consider handling that case; seems so unlikely.
I guess architectures that can't "and" masks don't get to have safe masks? ...
I'll work on a fix.
More information about the Gcc-bugs
mailing list