aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation
diff options
authorPalmer Dabbelt <palmer@rivosinc.com>2022-04-01 22:00:36 -0700
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2022-06-05 22:07:14 +0200
commite31e645f5c29b6587404c1efe534c65b4691e023 (patch)
treed14510bf22917189140de439abdc72b56b82b80a /Documentation
parent76d40fa9e54fdf790f9d1a4b97be93f94d26abfc (diff)
downloadsparse-dev-e31e645f5c29b6587404c1efe534c65b4691e023.tar.gz
RISC-V: don't die() on -march errors, just warn
Parsing RISC-V ISA strings is extremely complicated: there are many extensions, versions of extensions, versions of the ISA string rules, and a bunch of unwritten rules to deal with all the bugs that fell out of that complexity. Rather than die()ing when the ISA string parsing fails, just stop parsing where we get lost and emit a warning. Changes tend to end up at the end of the ISA string, so that's probably going to work (and if it doesn't there's a warning to true and clue folks in). This does have the oddity in that "-Wsparse-error" is ignored for this warning but this option was never meant to be used at this stage of the processing.. [Luc Van Oostenryck: drop handling of "-Wsparse-error"] Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Based-on-patch-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions