id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
7041	GHC.Real.gcdInt is no longer optimized.	int-e	igloo	"This is a regression since ghc-7.2, related to #5767. {{{GHC.Real}}} defines

{{{
gcdInt :: Int -> Int -> Int
gcdInt a b = fromIntegral (gcdInteger (fromIntegral a) (fromIntegral b))
}}}

which used to optimize to {{{GHC.Integer.Type.gcdInt}}}. But since {{{fromInteger = integerToInt}}} and {{{fromIntegral = smallInteger}}} are no longer inlined, this optimization is lost. This results in unecessary allocations."	bug	closed	high	7.6.1	libraries/base	7.5	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown	Unknown				
