This series fixes some spurious testsuite failures on mips64-linux-gnu. It also hopefully makes PR124066 easier to fix. The natural follow-on would be to make procedures like check_no_compiler_messages_nocache add the current EFFECTIVE_TARGETS entry to the flags.
The main description is in patch 1. Tested on mips64-linux-gnu and powerpc64le-linux-gnu. Also spot-checked on mips64r2-linux-gnu. OK to install? Richard
