Re: netbsd-11 gcc bug

Mouse <[email protected]> Sat, 23 May 2026 19:11:18 -0400 (EDT)
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
> One of the many stupidities inflicted upon the C language by the
> compiler people who want to be able to use every trick they can to be
> able to generate faster code.

About all it means is that compilers that insist on doing that (ie,
lacking an option to turn off such over-aggressive inferences) are
broken, not suitable for use cases other than generating impressive
benchmark stats.  Compilers exist to be useful, after all, and this is
a significant impairment to its usefulness.

I'd say this should be filed as a bug with the gcc people; if they
can't/won't fix it, NetBSD should roll back to a previous gcc and/or
drop gcc as the system compiler, as then it'd be clearly unsuitable.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B