pawosm-arm wrote:

Was about to report this (ICE when compiling proj-9.7.0), but apparenlty, 
@fhahn's commit #210130 fixes it:

```
Stack dump:
0.      Program arguments: linux/build/atfl/bin/armclang++ -DCURL_ENABLED 
-DCURL_STATICLIB -DPROJ_DATA=\"/home/pawosm01/proj/share/proj\" 
-DPROJ_HAS_PTHREADS -Dproj_EXPORTS -I/home/pawosm01/space/proj-9.7.0/src 
-I/home/pawosm01/space/proj-9.7.0/include 
-I/home/pawosm01/space/proj-9.7.0/build/src -isystem 
/home/pawosm01/sqlite3/include -isystem /home/pawosm01/curl/include -O3 
-DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -Wall -Wdate-time 
-Werror=format-security -Werror=vla -Wextra -Wformat -Wmissing-declarations 
-Wshadow -Wswitch -Wunused-parameter -Wcomma -Wdeprecated -Wdocumentation 
-Wno-documentation-deprecated-sync -Wfloat-conversion -Wlogical-op-parentheses 
-Wimplicit-fallthrough -Wdocumentation-unknown-command -Weffc++ -Wextra-semi 
-Woverloaded-virtual -Wshorten-64-to-32 -Wunused-private-field 
-Wzero-as-null-pointer-constant -Wdeprecated-copy-dtor -Wweak-vtables -MD -MT 
src/CMakeFiles/proj.dir/projections/spilhaus.cpp.o -MF 
CMakeFiles/proj.dir/projections/spilhaus.cpp.o.d -o 
CMakeFiles/proj.dir/projections/spilhaus.cpp.o -c 
/home/pawosm01/space/proj-9.7.0/src/projections/spilhaus.cpp
1.      <eof> parser at end of file
2.      Optimizer
3.      Running pass 
"function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>)"
 on module "/home/pawosm01/space/proj-9.7.0/src/projections/spilhaus.cpp"
4.      Running pass 
"simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>"
 on function "_Z37pj_projection_specific_setup_spilhausP8PJconsts"
 #0 0x0000b32ef7df8bc4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) 
(linux/build/atfl/bin/armclang+++0x3e48bc4)
 #1 0x0000b32ef7df6038 llvm::sys::RunSignalHandlers() 
(linux/build/atfl/bin/armclang+++0x3e46038)
 #2 0x0000b32ef7df7840 llvm::sys::CleanupOnSignal(unsigned long) 
(linux/build/atfl/bin/armclang+++0x3e47840)
 #3 0x0000b32ef7d614b8 CrashRecoverySignalHandler(int) 
CrashRecoveryContext.cpp:0:0
 #4 0x0000e9bf597778f8 (linux-vdso.so.1+0x8f8)
 #5 0x0000e9bf59367608 __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #6 0x0000e9bf5931cb3c raise ./signal/../sysdeps/posix/raise.c:27:6
 #7 0x0000e9bf59307e00 abort ./stdlib/abort.c:81:7
 #8 0x0000e9bf59315cc0 __assert_fail_base ./assert/assert.c:93:7
 #9 0x0000e9bf59315d30 __assert_perror_fail ./assert/assert-perr.c:31:1
#10 0x0000b32ef7ec1694 llvm::removeUnreachableBlocks(llvm::Function&, 
llvm::DomTreeUpdater*, llvm::MemorySSAUpdater*) 
(linux/build/atfl/bin/armclang+++0x3f11694)
#11 0x0000b32ef7cf4c48 simplifyFunctionCFGImpl(llvm::Function&, 
llvm::TargetTransformInfo const&, llvm::DominatorTree*, 
llvm::SimplifyCFGOptions const&) SimplifyCFGPass.cpp:0:0
#12 0x0000b32ef7cf4444 llvm::SimplifyCFGPass::run(llvm::Function&, 
llvm::AnalysisManager<llvm::Function>&) 
(linux/build/atfl/bin/armclang+++0x3d44444)
#13 0x0000b32ef78d7e94 llvm::PassManager<llvm::Function, 
llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, 
llvm::AnalysisManager<llvm::Function>&) 
(linux/build/atfl/bin/armclang+++0x3927e94)
#14 0x0000b32ef78dc184 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, 
llvm::AnalysisManager<llvm::Module>&) 
(linux/build/atfl/bin/armclang+++0x392c184)
#15 0x0000b32ef78d707c llvm::PassManager<llvm::Module, 
llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, 
llvm::AnalysisManager<llvm::Module>&) 
(linux/build/atfl/bin/armclang+++0x392707c)
#16 0x0000b32ef86c13b4 (anonymous 
namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, 
std::__1::unique_ptr<llvm::raw_pwrite_stream, 
std::__1::default_delete<llvm::raw_pwrite_stream>>&, 
std::__1::unique_ptr<llvm::ToolOutputFile, 
std::__1::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) 
BackendUtil.cpp:0:0
#17 0x0000b32ef86b9964 clang::emitBackendOutput(clang::CompilerInstance&, 
clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, 
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, 
std::__1::unique_ptr<llvm::raw_pwrite_stream, 
std::__1::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) 
(linux/build/atfl/bin/armclang+++0x4709964)
#18 0x0000b32ef86cc4f4 
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) 
(linux/build/atfl/bin/armclang+++0x471c4f4)
#19 0x0000b32efa02bc84 clang::ParseAST(clang::Sema&, bool, bool) 
(linux/build/atfl/bin/armclang+++0x607bc84)
#20 0x0000b32ef8bbfb6c clang::FrontendAction::Execute() 
(linux/build/atfl/bin/armclang+++0x4c0fb6c)
#21 0x0000b32ef8b4d044 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) 
(linux/build/atfl/bin/armclang+++0x4b9d044)
#22 0x0000b32ef8c78b70 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) 
(linux/build/atfl/bin/armclang+++0x4cc8b70)
#23 0x0000b32ef6aa85a0 cc1_main(llvm::ArrayRef<char const*>, char const*, 
void*) (linux/build/atfl/bin/armclang+++0x2af85a0)
#24 0x0000b32ef6aa636c ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, 
llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) 
driver.cpp:0:0
#25 0x0000b32ef6aa7f14 int llvm::function_ref<int (llvm::SmallVectorImpl<char 
const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext 
const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#26 0x0000b32ef89c1a9c void llvm::function_ref<void 
()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::__1::optional<llvm::StringRef>>,
 std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char>>*, bool*) const::$_0>(long) Job.cpp:0:0
#27 0x0000b32ef7d611bc 
llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) 
(linux/build/atfl/bin/armclang+++0x3db11bc)
#28 0x0000b32ef89c0d58 
clang::driver::CC1Command::Execute(llvm::ArrayRef<std::__1::optional<llvm::StringRef>>,
 std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char>>*, bool*) const 
(linux/build/atfl/bin/armclang+++0x4a10d58)
#29 0x0000b32ef897ef90 
clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, 
clang::driver::Command const*&, bool) const 
(linux/build/atfl/bin/armclang+++0x49cef90)
#30 0x0000b32ef897f680 
clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, 
llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*>>&, 
bool) const (linux/build/atfl/bin/armclang+++0x49cf680)
#31 0x0000b32ef899eb60 
clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, 
llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*>>&) 
(linux/build/atfl/bin/armclang+++0x49eeb60)
#32 0x0000b32ef6aa55c0 clang_main(int, char**, llvm::ToolContext const&) 
(linux/build/atfl/bin/armclang+++0x2af55c0)
#33 0x0000b32ef6ab2b40 main (linux/build/atfl/bin/armclang+++0x2b02b40)
#34 0x0000e9bf593084c4 __libc_start_call_main 
./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#35 0x0000e9bf59308598 call_init ./csu/../csu/libc-start.c:128:20
#36 0x0000e9bf59308598 __libc_start_main ./csu/../csu/libc-start.c:347:5
#37 0x0000b32ef6aa3eb0 _start (linux/build/atfl/bin/armclang+++0x2af3eb0)
armclang++: error: clang frontend command failed due to signal (use -v to see 
invocation)
Arm Toolchain for Linux 24.0.0 clang version 24.0.0 
([email protected]:arm/arm-toolchain.git f7c4b05863cd9ffdcedf95c03480f1e6198c9bb7)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: linux/build/atfl/bin
Build config: +assertions
Configuration file: linux/build/atfl/bin/clang++.cfg
armclang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING CRASH REPRODUCER FILES TO THE BUG REPORT:
armclang++: note: diagnostic msg: /tmp/spilhaus-c3ee13.cpp
armclang++: note: diagnostic msg: /tmp/spilhaus-c3ee13.sh
armclang++: note: diagnostic msg:

********************
Aborted (core dumped)
```

```
$ git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [f7c4b05863cd9ffdcedf95c03480f1e6198c9bb7] [flang][cuda] Add PURE to 
time intrinsic so it can be used in DO CONCURRENT (#209901)
git bisect bad f7c4b05863cd9ffdcedf95c03480f1e6198c9bb7
# status: waiting for good commit(s), bad commit known
# good: [2e38be8333fcd9c17eb7be1b2553b85e0cd9ab15] [lldb] Allow generic 
operands in DWARF binary type check (#209641)
git bisect good 2e38be8333fcd9c17eb7be1b2553b85e0cd9ab15
# bad: [80314ec06f15e7a0bb4b55380e50b2e529c5b0f7] [Bazel] Fixes 36c6568 
(#209689)
git bisect bad 80314ec06f15e7a0bb4b55380e50b2e529c5b0f7
# good: [06bf4bfff830207da473c06f2d90f93d777b51bb] [X86] 
combineINSERT_SUBVECTOR - enable shuffle combining of 
concat(extractsub(shuffle),extractsub(shuffle)) patterns (#209510)
git bisect good 06bf4bfff830207da473c06f2d90f93d777b51bb
# bad: [dadccf8e6ddb9d87f5b48431a0417dc7b39d9742] [LifetimeSafety] Suppress 
false field-escape warnings in destructors (#209614)
git bisect bad dadccf8e6ddb9d87f5b48431a0417dc7b39d9742
# bad: [ffcc00a1418e623176f348830ab16ad0ececba72] [lldb][POSIX] Correctly 
report error copying from remote platform (#207365)
git bisect bad ffcc00a1418e623176f348830ab16ad0ececba72
# bad: [0e877fd1a637ec2964883d324600211a6907b7bd] Reland "[InstCombine] Combine 
llvm.sin/llvm.cos libcall pairs into llvm.sincos" (#194616)
git bisect bad 0e877fd1a637ec2964883d324600211a6907b7bd
# good: [0d33149259ab717d48d8e34b6cb6eae87c28e631] AMDGPU: Migrate CodeGen 
tests to amdgpu subarch triple (35) (#209599)
git bisect good 0d33149259ab717d48d8e34b6cb6eae87c28e631
# good: [1a0ddbdff9eef0257445778f36dd19b74f018487] [GlobalISel] Filter combiner 
worklists (#197693)
git bisect good 1a0ddbdff9eef0257445778f36dd19b74f018487
# good: [3e4160fdc3d5bb0ed86480604bdfcd3130e7dd37] [X86] Skip debug 
instructions in tile copy lowering (#209640)
git bisect good 3e4160fdc3d5bb0ed86480604bdfcd3130e7dd37
# first bad commit: [0e877fd1a637ec2964883d324600211a6907b7bd] Reland 
"[InstCombine] Combine llvm.sin/llvm.cos libcall pairs into llvm.sincos" 
(#194616)
```

https://github.com/llvm/llvm-project/pull/194616
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to