[Bug 295431] CURRENT compiler miscompiles lang/mit-scheme

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 May 2026 14:21:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295431

--- Comment #4 from John F. Carr <jfc@mit.edu> ---
I added USES=llvm, implying llvm 19 with my default versions file, and the
build completed without error.

The NULL dereference is introduced in the x86 backend.  Run llc on the new
attachment, "optimized llvm IR".  There is no NULL access in the IR.  llc
introduces the bad memory access at -O1 but not at -O0.

-- 
You are receiving this mail because:
You are the assignee for the bug.