stack overflow

compiler bug?
http://qiita.com/items/0397287ce1438c9b176d