internal error 2015122504
The following test program generates internal error 2015122504 when compiled with llvm code generation on macOS
{$Q+}
program testabs;
var
i : integer;
begin
i := -1;
i := System.abs( i) { internal error 2015122504 }
end.
[M2:~/fpc-test/abs] administrator% /usr/local/lib/fpc/3.3.1-llvm/ppca64 -Clv15.0 testabs.pas
Free Pascal Compiler version 3.3.1 [2026/01/10] for aarch64
Copyright (c) 1993-2026 by Florian Klaempfl and others
Target OS: Darwin for AArch64
Compiling testabs.pas
testabs.pas(8,1) Fatal: Internal error 2015122504
Fatal: Compilation aborted