https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98557

--- Comment #5 from Matthias Klose <doko at debian dot org> ---
fyi, creduce segfaults on arm-linux-gnueabihf trying to reduce this:

$ creduce ./cr2.sh wxe_funcs.ii
===< 26689 >===
running 4 interestingness tests in parallel
===< pass_unifdef :: 0 >===
===< pass_comments :: 0 >===
(0.1 %, 5992612 bytes)
(0.1 %, 5989171 bytes)
===< pass_ifs :: 0 >===
===< pass_includes :: 0 >===
===< pass_line_markers :: 0 >===
(5.2 %, 5683057 bytes)
===< pass_blank :: 0 >===
(6.0 %, 5637660 bytes)
===< pass_clang_binsrch :: replace-function-def-with-decl >===
clang_delta: /usr/lib/llvm-11/include/llvm/ADT/PointerIntPair.h:178: static
intptr_t llvm::PointerIntPairInfo<PointerT, IntBits,
PtrTraits>::updatePointer(intptr_t, PointerT) [with PointerT = clang::Stmt*;
unsigned int IntBits = 1; PtrTraits =
llvm::PointerLikeTypeTraits<clang::Stmt*>; intptr_t = int]: Assertion `(PtrWord
& ~PointerBitMask) == 0 && "Pointer is not sufficiently aligned"' failed.
Aborted (core dumped)
Use of uninitialized value $line in pattern match (m//) at
/usr/share/creduce/perl/pass_clang_binsrch.pm line 36.
===< pass_clang_binsrch :: remove-unused-function >===
clang_delta: /usr/lib/llvm-11/include/llvm/ADT/PointerIntPair.h:178: static
intptr_t llvm::PointerIntPairInfo<PointerT, IntBits,
PtrTraits>::updatePointer(intptr_t, PointerT) [with PointerT = clang::Stmt*;
unsigned int IntBits = 1; PtrTraits =
llvm::PointerLikeTypeTraits<clang::Stmt*>; intptr_t = int]: Assertion `(PtrWord
& ~PointerBitMask) == 0 && "Pointer is not sufficiently aligned"' failed.
Aborted (core dumped)
Use of uninitialized value $line in pattern match (m//) at
/usr/share/creduce/perl/pass_clang_binsrch.pm line 36.
===< pass_lines :: 0 >===
(5.9 %, 5642847 bytes)
[...]

cvise doesn't show any segfaults, but is skipping these two passes as well:

00:04:32 INFO ===< BlankPass >===
00:05:52 INFO (5.9%, 5645707 bytes, 113225 lines)
00:07:15 DEBUG Creating pass root folder: /tmp/cvise-6w2dcu0a
00:07:15 INFO ===< ClangBinarySearchPass::replace-function-def-with-decl >===
00:07:23 DEBUG available transformation opportunities for c++98: 0, took: 8.22
s
00:07:33 DEBUG available transformation opportunities for c++11: 0, took: 9.38
s
00:07:41 DEBUG available transformation opportunities for c++14: 0, took: 7.99
s
00:07:50 DEBUG available transformation opportunities for c++17: 0, took: 9.73
s
00:08:02 DEBUG available transformation opportunities for c++20: 0, took: 11.24
s
00:08:02 INFO using C++ standard: c++98 with 0 transformation opportunities
00:08:12 DEBUG Creating pass root folder: /tmp/cvise-zq6tn5o2
00:08:12 INFO ===< ClangBinarySearchPass::remove-unused-function >===
00:08:20 DEBUG available transformation opportunities for c++98: 0, took: 8.21
s
00:08:31 DEBUG available transformation opportunities for c++11: 0, took: 10.69
s
00:08:46 DEBUG available transformation opportunities for c++14: 0, took: 15.39
s
00:08:57 DEBUG available transformation opportunities for c++17: 0, took: 10.66
s
00:09:05 DEBUG available transformation opportunities for c++20: 0, took: 7.99
s
00:09:05 INFO using C++ standard: c++98 with 0 transformation opportunities
00:09:13 DEBUG Creating pass root folder: /tmp/cvise-ftvo6ifx
00:09:13 INFO ===< LinesPass::0 >===

Reply via email to