https://gcc.gnu.org/g:71a14219002fecff114838f4537542f32c10ea0c

commit r15-11773-g71a14219002fecff114838f4537542f32c10ea0c
Author: Jakub Jelinek <[email protected]>
Date:   Wed Nov 25 09:30:12 2026 +0100

    testsuite: Fix up sso-22.c test
    
    The new gcc.dg/sso-22.c test FAILs on i686-linux:
    FAIL: gcc.dg/sso-22.c (test for excess errors)
    Excess errors:
    /home/jakub/src/gcc/gcc/testsuite/gcc.dg/sso-22.c:19:8: error: invalid 
conversion to type '_Float16' without option '-msse2'
    /home/jakub/src/gcc/gcc/testsuite/gcc.dg/sso-22.c:23:11: error: operation 
not permitted on type '_Float16' without option '-msse2'
    All tests which require float16 effective target should also have
    corresponding dg-add-options float16 which arranges to add options
    needed for that, but this one didn't have it.
    
    2026-11-25  Jakub Jelinek  <[email protected]>
    
            * gcc.dg/sso-22.c: Add dg-add-options float16 directive.

Diff:
---
 gcc/testsuite/gcc.dg/sso-22.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/sso-22.c b/gcc/testsuite/gcc.dg/sso-22.c
index 1633348415f8..08078c24cd6c 100644
--- a/gcc/testsuite/gcc.dg/sso-22.c
+++ b/gcc/testsuite/gcc.dg/sso-22.c
@@ -1,8 +1,8 @@
 /* PR debug/128920 */
-
 /* { dg-do run } */
 /* { dg-options "-std=c23" }
 /* { dg-require-effective-target float16 } */
+/* { dg-add-options float16 } */
 
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 struct __attribute__((scalar_storage_order("big-endian"))) S

Reply via email to