Changes to ghc

Changes to ghc:
commit de32a95ef21970c2db959509861b4f59d1dcbb82
Author: Dr. ERDI Gergo <gergo@erdi.hu>
Date:   Fri Mar 14 22:34:56 2014 +0800

    Add test case for #8776