NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/59093: compile errors for userland on amd64 with gcc and -march=native



I don't understand, why are any changes to the gcc *intrin.h files
needed at all?  Shouldn't the warnings be suppressed under the default
of -Wno-system-headers, unless you go out of your way to enable
-Wsystem-headers?

Initializing nadj in lgammal_r is harmless but we should mark it with

	/* XXX gcc-12.whatever -march=native, PR bin/59093 */

because the variable is not actually used uninitialized -- the
initialization and the use are both conditional on `if (hx & 0x8000)'
(and only on that).


Home | Main Index | Thread Index | Old Index