https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456
--- Comment #12 from gccriscvuser at proton dot me ---
Updating the documentation is good, but there should also be an error
diagnostic, right?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456
--- Comment #8 from gccriscvuser at proton dot me ---
Thoughts?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456
--- Comment #7 from gccriscvuser at proton dot me ---
To be clear, when I said "generator is emitting correct code", I mean with
respect to the ABI specification.
However, this is an actual bug, not a request for enhancement, because the
emitted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456
--- Comment #6 from gccriscvuser at proton dot me ---
I'm willing to agree that the generator is emitting correct code, but in that
case, there should be an error- or fatal-level diagnostic indicating that
`-ffixed` is not supported for `a4` (sol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456
--- Comment #1 from gccriscvuser at proton dot me ---
Corrected URLs from original description:
Register `a4` is normally used for passing parameters in a call.
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc
As s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456
Bug ID: 109456
Summary: `-ffixed` is ignored for `a` registers on RISC-V.
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED
Keywords: inline-asm, wrong-code
Severity: nor