https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106825
--- Comment #4 from Mark Millard <markmigm at gmail dot com> --- (In reply to Mark Millard from comment #3) . . . > I'll also report that the tiny test also fails for clang++15 > (from FreeBSD's devel/llvm15 port) . . . Not true: I figured out that, for how the clang++15 command lines work in this area, I was missing a step (and a resulting file). With the step and file reference added the tiny example compiles and links just fine.