http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54988
--- Comment #4 from Olivier Blin <gcc at blino dot org> 2012-10-23 12:21:52 UTC --- Thanks Jakub, I can confirm that your patch fixes both the small testcase and the Qt5 qdrawhelper issues (applied on top of gcc 4.7.2)