[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-06-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456 --- Comment #10 from Andreas Schwab --- Or "other ABI-mandated fixed roles". This also includes return value registers.

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-06-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456 --- Comment #9 from Xi Ruoyao --- The easiest way is considering it a documentation issue and do: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0870f7aff93..c39880349d5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-06-09 Thread gccriscvuser at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456 --- Comment #8 from gccriscvuser at proton dot me --- Thoughts?

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-05-01 Thread gccriscvuser at proton dot me via Gcc-bugs
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

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-05-01 Thread gccriscvuser at proton dot me via Gcc-bugs
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`

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-04-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5

[Bug target/109456] `-ffixed` is ignored for `a` registers on RISC-V.

2023-04-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456 Andrew Pinski changed: What|Removed |Added Component|middle-end |target Keywords|inline-asm