]> git.ipfire.org Git - thirdparty/gcc.git/commit
doc: RISC-V: Document that -mcpu doesn't override -march or -mtune
authorPalmer Dabbelt <palmer@rivosinc.com>
Tue, 20 Feb 2024 15:45:38 +0000 (07:45 -0800)
committerKito Cheng <kito.cheng@sifive.com>
Fri, 23 Feb 2024 04:26:47 +0000 (12:26 +0800)
commit1c5da882bf77400748aeb0b01bf9a7faba1a4f32
tree0a372bfbeb77c0589aea9267e2a152a4697317e6
parent33abf74108f37fb7792572e538617fd15c8ade29
doc: RISC-V: Document that -mcpu doesn't override -march or -mtune

This came up recently as Edwin was looking through the test suite.  A
few of us were talking about this during the patchwork meeting and were
surprised.  Looks like this is the desired behavior, so let's at least
document it.

gcc/ChangeLog:

* doc/invoke.texi: Document -mcpu.

Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
gcc/doc/invoke.texi