Using gcc-6* to compile dev-qt/qtxmlpatterns-4.8.7 fails with /var/tmp/portage/dev-qt/qtxmlpatterns-4.8.7/work/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h:74:59: error: shift expression '(1048575 << 20)' overflows [-fpermissive]'
Created attachment 433810 [details] qtxmlpatterns-5.6.0:20160502-050831.log.gz
Created attachment 433812 [details] emerge --info
Created attachment 433814 [details, diff] qtxmlpatterns-4.8.7-gcc6.patch Patch for qtxmlpatterns-4.8.7 to effectively compile with gcc-6*. Taken from http://pkgs.fedoraproject.org/cgit/rpms/qt.git/tree/qt-everywhere-opensource-src-4.8.7-gcc6.patch
*** Bug 594784 has been marked as a duplicate of this bug. ***
*** Bug 594932 has been marked as a duplicate of this bug. ***
*** Bug 596456 has been marked as a duplicate of this bug. ***
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5959cfdb7a736cd0ac83bfb13e6fdfb987ac0217