[project @ 1999-08-24 09:37:11 by simonpj]
authorsimonpj <unknown>
Tue, 24 Aug 1999 09:37:11 +0000 (09:37 +0000)
committersimonpj <unknown>
Tue, 24 Aug 1999 09:37:11 +0000 (09:37 +0000)
commit4d55ca70f87151bbf941b0aed24e0cc64361e42a
tree8ac852d593724eda6371e8037cbe84ec0c63a671
parent963203a145e81c737c9295b9523db90b106fe290
[project @ 1999-08-24 09:37:11 by simonpj]
IdInfo.copyIdInfo was wrong.  It didn't copy a NOINLINE pragma
when the occurrenc analyser "shorted out" a binding; as a result
the following program didn't respect the NOINLINE pragma:

plus :: Int -> Int -> Int
{-# NOINLINE plus #-}
plus = (+)

f x = plus x (plus x x)
ghc/compiler/basicTypes/IdInfo.lhs