https://gcc.gnu.org/g:27737095d9d2eff025363f031bcacbc1ad73f340

commit 27737095d9d2eff025363f031bcacbc1ad73f340
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Fri May 16 07:52:41 2025 -0300

    [testsuite] [x86] strlenopt-80 needs -msse2 on ia32
    
    The string length optimizations at 8-byte blocks requires -msse2;
    -msse is not enough.  Bump it.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/strlenopt-80.c: Bump to -msse2.

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

diff --git a/gcc/testsuite/gcc.dg/strlenopt-80.c 
b/gcc/testsuite/gcc.dg/strlenopt-80.c
index 63d4eb17e4c3..0b16a4142366 100644
--- a/gcc/testsuite/gcc.dg/strlenopt-80.c
+++ b/gcc/testsuite/gcc.dg/strlenopt-80.c
@@ -6,7 +6,7 @@
    { dg-do compile { target { { aarch64*-*-* i?86-*-* x86_64-*-* } || { { 
powerpc*-*-* } && lp64 } } } }
 
    { dg-options "-O2 -Wall -fdump-tree-optimized" }
-   { dg-additional-options "-msse" { target i?86-*-* x86_64-*-* } } */
+   { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */
 
 /* On powerpc configurations that have -mstrict-align by default,
    the memcpy calls for ncpylog >= 3 are not turned into MEM_REFs.

Reply via email to