* gcc.dg/tree-ssa/ssa-pre-14.c (foo): Use correct type for strlen.
authorAndreas Jaeger <aj@gcc.gnu.org>
Thu, 26 May 2005 07:27:21 +0000 (09:27 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Thu, 26 May 2005 07:27:21 +0000 (09:27 +0200)
From-SVN: r100194

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-14.c

index aaff962c88f9421d16ee89fa3664b1dd5e80bc65..e7747a3706aa64696516812c4d60a3f18c73233e 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-26  Andreas Jaeger  <aj@suse.de>
+
+       * gcc.dg/tree-ssa/ssa-pre-14.c (foo): Use correct type for strlen.
+
 2005-05-26  Thomas Koenig  <Thomas.Koenig@online.de>
 
        PR libfortran/17283
@@ -13,7 +17,7 @@
            Mike Stump  <mrs@apple.com>
 
        * objc/execute/next_mapping.h: Update for C++.
-       
+
        * obj-c++.dg/selector-1.mm: Move to...
        * obj-c++.dg/selector-4.mm: here...
 
        * gcc.c-torture/execute/20020720-1.x: Add xfail for m32r*-*.
 
 2005-05-20  Bjoern Haase <bjoern.m.haase@web.de>
-       
+
        * gcc.c-torture/execute/20020720-1.x: Add xfail for avr-*-*.
 
 2004-05-19  Richard Henderson  <rth@redhat.com>
 2005-05-18  Devang Patel  <dpatel@apple.com>
 
        * g++.dg/opt/20050511-1.C: New test.
-       
+
 2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
 
        PR libfortran/21127
 2005-05-17  Mark Mitchell  <mark@codesourcery.com>
 
        * gcc.dg/compat/struct-layout-1_generate.c (iterative_hash):
-       Remove little-endian optimizations. 
+       Remove little-endian optimizations.
 
 2005-05-17  Jeff Law  <law@redhat.com>
 
        * gcc.dg/compat/struct-layout-1.exp: Do not link with libiberty.
        * gcc.dg/compat/struct-layout-1_generate.c (config.h): Do not include.
        (limits.h): Include unconditionally.
-       (stdlib.h): Likewise. 
+       (stdlib.h): Likewise.
        (hashtab.h): Do not include.
        (getopt.h): Likewise.
        (stddef.h): Include.
        (e_insert): Likewise.
        (output): Use, instead of libiberty hashtable functions.
        (main): Do not use getopt.  Do not call htab_create.
-       
+
 2005-05-16  David Billinghurst <David.Billinghurst@riotinto.com>
 
        PR libstdc++/21526
 2005-05-05  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/21352
-       * g++.dg/template/crash37.C: New test. 
+       * g++.dg/template/crash37.C: New test.
 
 2005-05-05  Paul Brook  <paul@codesourcery.com>
 
 
        PR tree-optimization/21272
        * gcc.dg/vect/vect-ifcvt-10.c: New test.
-       
+
 2005-04-29  Jakub Jelinek  <jakub@redhat.com>
 
        PR fortran/13082
 2005-04-25  Devang Patel <dpatel@apple.com>
 
        * gcc.dg/stabs-attrib-vect-darwin.c: New test.
-       
+
 2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR testsuite/21062
 
        PR optimization/20994
        * gcc.dg/tree-ssa/ifc-3.c: New test.
-       
+
 2005-04-20  Joseph S. Myers  <joseph@codesourcery.com>
 
        PR c/12913
 
 2005-04-19  Richard Henderson  <rth@redhat.com>
 
-       * lib/target-supports.exp (check_effective_target_vect_int_mult): 
+       * lib/target-supports.exp (check_effective_target_vect_int_mult):
        Fix typo in exists check.
        (check_effective_target_sync_int_long): New.
        * gcc.dg/ia64-sync-1.c: Enable for all effective-target sync_int_long.
 2005-04-18  Laurent GUERBY  <laurent@guerby.net>
 
        * ada/acats/run_all.sh: Use sync when executable not present.
-       
+
 2005-04-18  Devang Patel  <dpatel@apple.com>
 
        * gcc.dg/vect/vect-11.c: Require effective target vect_int_mult.
        * typeck.c (cxx_sizeof_or_alignof_type): Check whether the type to
        which sizeof/alignof is dependent, rather than just whether we are
        processing_template_decl.
-       
+
 2005-04-15  Thomas Koenig  <Thomas.Koenig@online.de>
 
        * gfortran.fortran-torture/execute/intrinsic_spread.f90:
        * gcc.dg/builtins-53.c: Include builtins-config.h.
        Check floorf, ceilf, floorl and ceill transformations
        only when HAVE_C99_RUNTIME is defined.
-       
+
 2005-04-15  Alexandre Oliva  <aoliva@redhat.com>
 
        PR middle-end/20739
         * gcc.dg/vect/vect-ifcvt-6.c: New test.
         * gcc.dg/vect/vect-ifcvt-7.c: New test.
         * gcc.dg/vect/vect-none.c: Now one loop is vectorized.
-       
+
 2004-04-11  Devang Patel  <dpatel@apple.com>
 
         * gcc.dg/vect/vect-dv-1.c: New test.
         * gcc.dg/vect/vect-dv-2.c: New test.
-       
+
 2005-04-11  Diego Novillo  <dnovillo@redhat.com>
 
        PR tree-optimization/20933
 
        * gcc.dg/builtins-53.c: Also check (int)ceil* and
        (long long int)ceil*.
-       
+
 2005-04-10  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/warn/Wdtor1.C: Declare template in system header with
 
 2005-04-06  Dorit Naishlos  <dorit@il.ibm.com>
 
-       * gfortran.dg/vect/vect-5.f90: xfail for lp64. 
+       * gfortran.dg/vect/vect-5.f90: xfail for lp64.
 
 2005-04-05  Mark Mitchell  <mark@codesourcery.com>
 
 
        * lib/target-supports.exp (check_effective_target_vect_shif): New.
        * gcc.dg/vect/vect-shift-1.c: New test.
-       
+
 2005-04-05  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        PR libfortran/20755
        (g++_init): Make sure that CXXFLAGS is set.
        * lib/gcc-defs.exp (gcc-set-multilib-library-path): New function.
        * lib/gcc-dg.exp: Use gcc-set-multilib-library-path.
-       * lib/gfortran.exp (gfortran_link_flags): Likewise. 
+       * lib/gfortran.exp (gfortran_link_flags): Likewise.
        * lib/objc.exp (objc_init): Likewise.
        * lib/treelang.exp (treelang_init): Likewise.
 
        * gfortran.dg/pr18025.f90: New test.
 
 2005-03-23  Dale Johannesen  <dalej@apple.com>
-       
+
        * gcc.dg/20020312-2.c:  Fix for non-PowerPC Darwin.
 
 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
 2005-03-21  Stuart Hastings  <stuart@apple.com>
 
        * gcc.target/i386/sse-2.c: New.
-       
+
 2005-03-21  Uros Bizjak  <uros@kss-loka.si>
 
        * gcc.dg/builtins-46.c: Also check lrint* and llrint*.
 
 2005-03-21  Paolo Carlini  <pcarlini@suse.de>
 
-       PR c++/20147    
+       PR c++/20147
        * g++.dg/ext/stmtexpr4.C: New test.
 
 2005-03-20  Roger Sayle  <roger@eyesopen.com>
 
        PR c++/20142
        * g++.dg/init/array18.C: Add dg-do run marker.
-       
+
        PR c++/20142
        * g++.dg/init/array18.C: New test.
 
 
        * objc.dg/stabs-1.m: hppa*64*-*-* doesn't have stabs.
 
-2005-03-05  Steven G. Kargl  <kargls@comcast.net> 
+2005-03-05  Steven G. Kargl  <kargls@comcast.net>
 
        * gfortran.dg/pr19936_1.f90: New test.
        * gfortran.dg/pr19936_2.f90: New test.
        * gfortran.dg/pr19936_3.f90: New test.
 
-2005-03-05  Steven G. Kargl  <kargls@comcast.net> 
+2005-03-05  Steven G. Kargl  <kargls@comcast.net>
             Paul Thomas <prthomas@drfccad.cea.fr>
 
        * gfortran.dg/PR19754_1.f90: New test.
        * g++.dg/parse/error27.C: New test.
        * g++.dg/template/qualttp15.C: Adjust error markers.
        * g++.old-deja/g++.other/struct1.C: Likewise.
-       
+
        PR c++/20153
        * g++.dg/template/error17.C: New test.
 
 
        PR 19952
        * g++.dg/tree-ssa/pr19952.C: New test.
-       
+
 2005-02-22  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/19883
index 9ead438cc262ac64978f5bfa29d702d825188544..2371cfa1a58035614ce2e293332376056c44bf9d 100644 (file)
@@ -1,12 +1,12 @@
 /* { dg-do compile } */ 
 /* { dg-options "-O2 -fdump-tree-optimized" } */
-extern unsigned int strlen (const char *) __attribute__ ((__pure__));
+extern __SIZE_TYPE__ strlen (const char *) __attribute__ ((__pure__));
 
 void
 foo (const char *str)
 {
-  unsigned int a = strlen (str);
-  unsigned int b = strlen (str);
+  __SIZE_TYPE__ a = strlen (str);
+  __SIZE_TYPE__ b = strlen (str);
   if (a != b)
     link_error ();
 }