-
Notifications
You must be signed in to change notification settings - Fork 137
Bugs reported and fixed
Pavel I. Kryukov edited this page Apr 12, 2020
·
70 revisions
MIPT-MIPS is an educational project, so we always want to teach most modern technologies and tools. However, they often contain bugs or some features are not implemented. That's why we report them in our nearest convenience.
- Clang++ bugs:
-
— False positive dead code detection for C++17 structured binding, found by Pavel Kryukov during refactoring activity.PR 36283 -
PR 36284— False positive detection of unneeded declaration for user-defined literals used inside class templates. Bug observed by Aleksandr Misevich while debuggingMIPT-MIPS/#276
-
- libc++ bugs:
- Clang-Tidy false positives and UX enhancements:
-
— „possible exception“ in constant expressionPR 35457 -
— bitwise assignment operators (PR 36963&=, |=, ^=, <<=, >>=) should be analyzed -
— do not blamePR 369611u << 2for containing a signed integer literal. -
— fuchsia-multiple-inheritance should not warn on class forward declaration.PR 39770 -
PR 40599— do not try to reinvent a constexpr version of#define COMMA ,. -
PR 40600— do not try to reinvent a constexpr version of#define STRING(x) # x. -
PR 40601— support regexp for NOLINT statements. -
—PR 40604int main()cannot havestd::arrayas an argument. -
—PR 40633std::stringis not a magic number. -
— template instantiations should not expose enums as 'magic numbers'.PR 40640 -
PR 43109— do not warn about ODR violation for constexpr template variable. -
PR 44031— fuchsia-multiple-inheritance should not warn on template class instantiation. -
PR 44065— cplusplus.NewDeleteLeaks should not report on system headers -
— bugprone-branch-clone false positive with template functions and constexprPR 44229 -
— bugprone-infinite-loop false positive with CATCH2PR 44816 -
PR 44977— hicpp-signed-bitwise.IgnorePositiveIntegerLiterals should be recursive -
PR 45046— hicpp-signed-bitwise false positive with byte swapping code -
PR 45507— readability-simplify-boolean-expr should not trigger on if statement with initializer
-
-
Bug 225040— False positive on UB right shifting in unreachable code. -
— internal compiler error while referencing template variableBug 451137 -
— cannot bind temporary int object to an rvalue referenceBug 457095 -
— extern template instantiation does not work for virtual functionsBug 457098 -
— ones-propagating right shift is optimized incorrectly. Firstly observed by Maxim Davydov inBug 833637MIPT-MIPS/#1143 -
not a bugBug 846216— false positive warning C4297 for constructor
- We used to build GNU Binutils with more pedantic Clang compiler as a part of continuous integration flow. During the procedure while resolving
MIPT-MIPS/#147, a bug in GNU Binutils was found by Kirill Nedostoev. Methodology was extracted to a separate repository to find more bugs in Binutils and Clang. -
PR libstdc++/82685— missing 'noexcept' specifier forstring_viewliterals
- We improve RISC-V community infrastructure:
- Enhancements to Boost C++ libraries:
- We contribute to POPL option parser library, listed in POPL 1.2.0 release note.
- Minor fixes for ELFIO: serge1/ELFIO#26, serge1/ELFIO#27, serge1/ELFIO#28.
- Patches for GDB to support C++ simulators:
-
2283a21Change "xor" name in cpu_core to allow building with iso646.h or C++ compiler by Vyacheslav Kompan -
444b3faAdd 'extern C' if simulator is written in C++ -
8f0a214Include <string.h> to dis-asm.h to get strchr declaration -
dc7e818sim: Fix definition of SIM_ARANGE_INLINE -
7516c26Do not expand macros to 'defined' -
f47674bsim-utils.c: prevent buffer overflow.
-
- Infrastructure improvements for CEN64:
- https://github.com/n64dev/cen64/pull/100
- https://github.com/n64dev/cen64/pull/101
- https://github.com/n64dev/cen64/pull/102
- https://github.com/n64dev/cen64/pull/104
- https://github.com/n64dev/cen64/pull/105
- https://github.com/n64dev/cen64/pull/107
- https://github.com/n64dev/cen64/pull/108
- https://github.com/n64dev/cen64/pull/109
- https://github.com/n64dev/cen64/pull/110
- https://github.com/n64dev/cen64/pull/137
- Fix for MS Visual Studio build of LibELF was reported to Michael "Tired" Riepe who created the library. Unfortunately, Michael had not responded yet, so changes were published to WolfgangSt/libelf#1.
MIPT-V / MIPT-MIPS — Cycle-accurate pre-silicon simulation.