https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64158
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 34816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34816&action=edit gcc5-pr64158.patch Untested fix. Seem tcl is picky about the {}s, doesn't want cond1 && cond2 && cond3, but instead { { cond1 && cond2 } && cond3 }. That is one of the pairs, why is the second one needed is beyond my current understanding. Tested just by replacing the various ! sometarget cases with ! x86_64-*-* and checking whether they indeed made the test unsupported on my x86_64-linux. s390, hppa and alpha replacement worked expectedly, for the powerpc case it was enough to add one {} pair, for nvptx I had to add another one.