[llvm-bugs] [Bug 47026] New: A project should not contain unreachable code.(llvm-project/clang/lib/Basic/Targets/Mips.cpp:line 44)
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 7 01:42:56 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47026
Bug ID: 47026
Summary: A project should not contain unreachable
code.(llvm-project/clang/lib/Basic/Targets/Mips.cpp:li
ne 44)
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: info at ustchcs.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 23825
--> https://bugs.llvm.org/attachment.cgi?id=23825&action=edit
remove-unreachable-code
A project should not contain unreachable code.
(commit e3546c78cabfbf670391a57766872f0a8e28a423)
llvm-project/clang/lib/Basic/Targets/Mips.cpp:
31 bool MipsTargetInfo::processorSupportsGPR64() const {
32 return llvm::StringSwitch<bool>(CPU)
33 .Case("mips3", true)
34 .Case("mips4", true)
35 .Case("mips5", true)
36 .Case("mips64", true)
37 .Case("mips64r2", true)
38 .Case("mips64r3", true)
39 .Case("mips64r5", true)
40 .Case("mips64r6", true)
41 .Case("octeon", true)
42 .Case("octeon+", true)
43 .Default(false);
44 return false;
45 }
Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-1.1: A project should not contain unreachable code.)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200807/d43136c3/attachment-0001.html>
More information about the llvm-bugs
mailing list