aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src
diff options
context:
space:
mode:
authorCarl Love <cel@linux.ibm.com>2024-10-02 21:05:08 -0400
committerCarl Love <cel@linux.ibm.com>2025-01-17 09:57:27 -0600
commit5d779765b0123cc64c1e6af2656a20979ecaaf96 (patch)
treee5943a28930578ca1959a4f1bba13ae74042e0fd /libphobos/src
parent6a9086b6f4d58065e717e7cfabe156419cd8cb99 (diff)
downloadgcc-5d779765b0123cc64c1e6af2656a20979ecaaf96.zip
gcc-5d779765b0123cc64c1e6af2656a20979ecaaf96.tar.gz
gcc-5d779765b0123cc64c1e6af2656a20979ecaaf96.tar.bz2
rs6000, fix test builtins-1-p10-runnable.c
The test has two issues: 1) The test should generate execute abort() if an error is found. However, the test contains a #define 0 which actually enables the error prints not exectuting void() because the debug code is protected by an #ifdef not #if. The #define DEBUG needs to be removed to so the test will abort on an error. 2) The vec_i_expected output was tweeked to test that it would fail. The test value was not removed. By removing the #define DEBUG, the test fails and reports 1 failure. Removing the intentionally wrong expected value results in the test passing with no errors as expected. gcc/testsuite/ChangeLog: * gcc.target/powerpc/builtins-1-p10-runnable.c: Remove #define DEBUG. Replace vec_i_expected value with correct value.
Diffstat (limited to 'libphobos/src')
0 files changed, 0 insertions, 0 deletions