GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
testsuite

Testsuite: Restrict mpc860_no_lwsync.c to Power ilp32 Targets

The mpc860_no_lwsync.c test is now restricted to 32-bit PowerPC targets to avoid conflicts with 64-bit options.

The mpc860_no_lwsync.c test case was failing on 64-bit PowerPC targets because the default -m64 option conflicted with the 32-bit legacy processor specified by -mcpu=860. This commit fixes the issue by restricting the test case’s execution to 32-bit PowerPC targets using the ‘ilp32’ target requirement.

In Details

The commit addresses a testsuite failure on powerpc64le-linux-gnu. The mpc860_no_lwsync.c test, intended for a 32-bit legacy PowerPC processor, was being compiled with the default -m64 option, causing a conflict. Adding a target requirement of 'ilp32' resolves this issue by ensuring the test is only run on 32-bit PowerPC configurations.

For Context

Compiler test suites often contain tests specific to certain architectures or processor configurations. This commit addresses a situation where a test designed for a 32-bit PowerPC processor was being incorrectly run on a 64-bit system, causing a conflict in compiler options. By restricting the test to 32-bit targets, the issue is resolved and the test suite functions correctly.

Filed Under: testsuitepowerpctarget-specific