https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65526
Bug ID: 65526 Summary: testsuite checks for arm vectorization support on non-arm targets Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Created attachment 35116 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35116&action=edit Patch to avoid unnecessary testsuite checks. Running the test suite on powerpc64 (and likely any other architecture) with the runtest -v option produces output like the following, indicating that gcc is being invoked to determine whether the target has ARM vectorization support even though the target is known to be one other than ARM. check_compile tool: gcc for arm_vect_no_misalign doing compile pid is 99288 -99288 close result is 99288 exp6 0 1 output is arm_vect_no_misalign99107.c:3:3: error: #error !__arm__ || (__ARMEL__ && __ARM_FEATURE_UNALIGNED) status 1 compiler exited with status 1 The attached patch adds tests to lib/target-supports.exp to avoid these unnecessary checks.