https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62224
--- Comment #17 from Chris Clayton <chris2553 at googlemail dot com> --- I can confirm that with Jason's code changes (referenced in comment 15) to gcc/cp/decl2.c and gcc/gimple-fold.c, the resultant compiler successfully builds qt-creator-3.2.0. Thanks Jason.