[gcc r13-8488] Move pr114396.c from gcc.target/i386 to gcc.c-torture/execute.

hongtao Liu liuhongt@gcc.gnu.org
Fri Mar 22 02:18:41 GMT 2024


https://gcc.gnu.org/g:e6a3d1f5bcfd954b614155d96c97bde8ac230e2e

commit r13-8488-ge6a3d1f5bcfd954b614155d96c97bde8ac230e2e
Author: liuhongt <hongtao.liu@intel.com>
Date:   Fri Mar 22 10:09:43 2024 +0800

    Move pr114396.c from gcc.target/i386 to gcc.c-torture/execute.
    
    Also fixed a typo in the testcase.
    
    gcc/testsuite/ChangeLog:
    
            PR tree-optimization/114396
            * gcc.target/i386/pr114396.c: Move to...
            * gcc.c-torture/execute/pr114396.c: ...here.
    
    (cherry picked from commit 9a6c7aa1b011b77fcd9b19f7b8d7ff0fc823cdb2)

Diff:
---
 gcc/testsuite/{gcc.target/i386 => gcc.c-torture/execute}/pr114396.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr114396.c b/gcc/testsuite/gcc.c-torture/execute/pr114396.c
similarity index 92%
rename from gcc/testsuite/gcc.target/i386/pr114396.c
rename to gcc/testsuite/gcc.c-torture/execute/pr114396.c
index 4c4015f871f..baf90eafabf 100644
--- a/gcc/testsuite/gcc.target/i386/pr114396.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr114396.c
@@ -1,5 +1,5 @@
-/* { dg-do run } */
-/* { dg-options "-O1 -fwrapv -fno-vect-cost-model" } */
+/* PR tree-optimization/114396 */
+/* { dg-additional-options "-fwrapv -fno-vect-cost-model" } */
 
 short a = 0xF;
 short b[16];
@@ -88,7 +88,7 @@ int main() {
 
   exp = foo1 (a);
   res = foo1_o3 (a);
-  if (uexp != ures)
+  if (exp != res)
     __builtin_abort ();
 
   uexp = foou (a);


More information about the Gcc-cvs mailing list