﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
241	libc: build failure with newer gcc/binutils	abwillis	bird	"With newer gcc/binutils fnstsw changes from using %ax to %eax:
src/msun/i387/fenv.c
{{{
int
_STD(feupdateenv)(const fenv_t *envp)
{
-	int mxcsr, status;
+	int mxcsr;
+        uint16_t status;

	__fnstsw(&status);
	if (__HAS_SSE())
		__stmxcsr(&mxcsr);
	else
		mxcsr = 0;
	fesetenv(envp);
	feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT);
	return (0);
}
}}}
The code is incorrectly using int (32-bit) for a 16-bit type (FSW)."	defect	closed	normal	libc-0.6.5	libc	0.6	normal	fixed		
