http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47440
--- Comment #4 from Vladimir Yakovlev <vbyakovl23 at gmail dot com> 2012-08-23 19:15:58 UTC --- As recomended Uros, I splitted up the patch by two part. First, middle end part is here http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01590.html