packages: gcc/gcc-branch.diff, gcc/gcc.spec - rel 6; more fixes

arekm arekm at pld-linux.org
Wed Jul 1 02:32:12 CEST 2009


Author: arekm                        Date: Wed Jul  1 00:32:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 6; more fixes

---- Files affected:
packages/gcc:
   gcc-branch.diff (1.13 -> 1.14) , gcc.spec (1.578 -> 1.579) 

---- Diffs:

================================================================
Index: packages/gcc/gcc-branch.diff
diff -u packages/gcc/gcc-branch.diff:1.13 packages/gcc/gcc-branch.diff:1.14
--- packages/gcc/gcc-branch.diff:1.13	Sun Jun 28 18:28:26 2009
+++ packages/gcc/gcc-branch.diff	Wed Jul  1 02:32:05 2009
@@ -1,7 +1,7 @@
 Index: configure
 ===================================================================
---- configure	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ configure	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- configure	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ configure	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -272,7 +272,7 @@
  PACKAGE_BUGREPORT=
  
@@ -37,8 +37,8 @@
  s, at clooglibs@,$clooglibs,;t t
 Index: Makefile.in
 ===================================================================
---- Makefile.in	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ Makefile.in	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- Makefile.in	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ Makefile.in	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -17068,7 +17068,7 @@
  	libsrcdir="$$s/mpfr"; \
  	$(SHELL) $${libsrcdir}/configure \
@@ -122,8 +122,8 @@
  
 Index: libgomp/team.c
 ===================================================================
---- libgomp/team.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ libgomp/team.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- libgomp/team.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ libgomp/team.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -125,6 +125,7 @@
        while (local_fn);
      }
@@ -142,8 +142,8 @@
  
 Index: libgomp/ChangeLog
 ===================================================================
---- libgomp/ChangeLog	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ libgomp/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- libgomp/ChangeLog	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ libgomp/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1,3 +1,9 @@
 +2009-05-20  Jakub Jelinek  <jakub at redhat.com>
 +
@@ -154,10 +154,29 @@
  2009-04-21  Release Manager
  
  	* GCC 4.4.0 released.
+Index: gcc/tree-vrp.c
+===================================================================
+--- gcc/tree-vrp.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree-vrp.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
+@@ -5682,6 +5682,14 @@
+   tree ret;
+   bool only_ranges;
+ 
++  /* Some passes and foldings leak constants with overflow flag set
++     into the IL.  Avoid doing wrong things with these and bail out.  */
++  if ((TREE_CODE (op0) == INTEGER_CST
++       && TREE_OVERFLOW (op0))
++      || (TREE_CODE (op1) == INTEGER_CST
++	  && TREE_OVERFLOW (op1)))
++    return NULL_TREE;
++
+   sop = false;
+   ret = vrp_evaluate_conditional_warnv_with_ops (code, op0, op1, true, &sop,
+   						 &only_ranges);
 Index: gcc/fwprop.c
 ===================================================================
---- gcc/fwprop.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/fwprop.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/fwprop.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/fwprop.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1,5 +1,5 @@
  /* RTL-based forward propagation pass for GNU compiler.
 -   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@ -286,9 +305,19 @@
    if (DF_REF_TYPE (use) == DF_REF_REG_MEM_STORE)
 Index: gcc/doc/extend.texi
 ===================================================================
---- gcc/doc/extend.texi	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/doc/extend.texi	(.../branches/gcc-4_4-branch)	(wersja 149030)
-@@ -8304,6 +8304,7 @@
+--- gcc/doc/extend.texi	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/doc/extend.texi	(.../branches/gcc-4_4-branch)	(wersja 149126)
+@@ -914,8 +914,7 @@
+ @end smallexample
+ 
+ Not all targets support additional floating point types.  @code{__float80}
+-is supported on i386, x86_64 and ia64 targets and target @code{__float128}
+-is supported on x86_64 and ia64 targets.
++and @code{__float128} types are supported on i386, x86_64 and ia64 targets.
+ 
+ @node Decimal Float
+ @section Decimal Floating Types
+@@ -8304,6 +8303,7 @@
  @item unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int)
  Generates the @code{crc32l} machine instruction.
  @item unsigned long long __builtin_ia32_crc32di (unsigned long long, unsigned long long)
@@ -298,8 +327,8 @@
  The following built-in functions are changed to generate new SSE4.2
 Index: gcc/doc/passes.texi
 ===================================================================
---- gcc/doc/passes.texi	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/doc/passes.texi	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/doc/passes.texi	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/doc/passes.texi	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -21,7 +21,7 @@
  * Parsing pass::         The language front end turns text into bits.
  * Gimplification pass::  The bits are turned into something we can optimize.
@@ -519,8 +548,8 @@
  
 Index: gcc/doc/gccint.texi
 ===================================================================
---- gcc/doc/gccint.texi	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/doc/gccint.texi	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/doc/gccint.texi	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/doc/gccint.texi	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -109,10 +109,10 @@
  * Options::         Option specification files.
  * Passes::          Order of passes, what they do, and what each file is for.
@@ -535,8 +564,8 @@
  * Machine Desc::    How to write machine description instruction patterns.
 Index: gcc/doc/md.texi
 ===================================================================
---- gcc/doc/md.texi	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/doc/md.texi	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/doc/md.texi	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/doc/md.texi	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -5111,8 +5111,6 @@
  Operand 0 is the memory on which the atomic operation is performed.
  Operand 1 is the second operand to the binary operator.
@@ -548,8 +577,8 @@
  operation and all memory operations after the atomic operation occur
 Index: gcc/doc/rtl.texi
 ===================================================================
---- gcc/doc/rtl.texi	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/doc/rtl.texi	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/doc/rtl.texi	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/doc/rtl.texi	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -10,10 +10,10 @@
  @cindex representation of RTL
  @cindex Register Transfer Language (RTL)
@@ -567,8 +596,8 @@
  structures that point at other structures, and a textual form that is used
 Index: gcc/ira-conflicts.c
 ===================================================================
---- gcc/ira-conflicts.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/ira-conflicts.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/ira-conflicts.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/ira-conflicts.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -411,9 +411,9 @@
      /* Can not be tied.  It is not in the cover class.  */
      return false;
@@ -592,8 +621,8 @@
  	      && VAR_OR_FUNCTION_DECL_P (decl)
 Index: gcc/tree-ssa-loop-niter.c
 ===================================================================
---- gcc/tree-ssa-loop-niter.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree-ssa-loop-niter.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/tree-ssa-loop-niter.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree-ssa-loop-niter.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -534,7 +534,7 @@
  }
  
@@ -861,16 +890,91 @@
  
 Index: gcc/DATESTAMP
 ===================================================================
---- gcc/DATESTAMP	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/DATESTAMP	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/DATESTAMP	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/DATESTAMP	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1 +1 @@
 -20090421
-+20090628
++20090701
 Index: gcc/tree.c
 ===================================================================
---- gcc/tree.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
-@@ -9078,32 +9078,12 @@
+--- gcc/tree.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
+@@ -1606,7 +1606,8 @@
+ 	  : floor_log2 (low));
+ }
+ 
+-/* Return 1 if EXPR is the real constant zero.  */
++/* Return 1 if EXPR is the real constant zero.  Trailing zeroes matter for
++   decimal float constants, so don't return 1 for them.  */
+ 
+ int
+ real_zerop (const_tree expr)
+@@ -1614,13 +1615,16 @@
+   STRIP_NOPS (expr);
+ 
+   return ((TREE_CODE (expr) == REAL_CST
+-	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconst0))
++	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconst0)
++	   && !(DECIMAL_FLOAT_MODE_P (TYPE_MODE (TREE_TYPE (expr)))))
+ 	  || (TREE_CODE (expr) == COMPLEX_CST
+ 	      && real_zerop (TREE_REALPART (expr))
+ 	      && real_zerop (TREE_IMAGPART (expr))));
+ }
+ 
+-/* Return 1 if EXPR is the real constant one in real or complex form.  */
++/* Return 1 if EXPR is the real constant one in real or complex form.
++   Trailing zeroes matter for decimal float constants, so don't return
++   1 for them.  */
+ 
+ int
+ real_onep (const_tree expr)
+@@ -1628,13 +1632,15 @@
+   STRIP_NOPS (expr);
+ 
+   return ((TREE_CODE (expr) == REAL_CST
+-	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconst1))
++	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconst1)
++	   && !(DECIMAL_FLOAT_MODE_P (TYPE_MODE (TREE_TYPE (expr)))))
+ 	  || (TREE_CODE (expr) == COMPLEX_CST
+ 	      && real_onep (TREE_REALPART (expr))
+ 	      && real_zerop (TREE_IMAGPART (expr))));
+ }
+ 
+-/* Return 1 if EXPR is the real constant two.  */
++/* Return 1 if EXPR is the real constant two.  Trailing zeroes matter
++   for decimal float constants, so don't return 1 for them.  */
+ 
+ int
+ real_twop (const_tree expr)
+@@ -1642,13 +1648,15 @@
+   STRIP_NOPS (expr);
+ 
+   return ((TREE_CODE (expr) == REAL_CST
+-	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconst2))
++	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconst2)
++	   && !(DECIMAL_FLOAT_MODE_P (TYPE_MODE (TREE_TYPE (expr)))))
+ 	  || (TREE_CODE (expr) == COMPLEX_CST
+ 	      && real_twop (TREE_REALPART (expr))
+ 	      && real_zerop (TREE_IMAGPART (expr))));
+ }
+ 
+-/* Return 1 if EXPR is the real constant minus one.  */
++/* Return 1 if EXPR is the real constant minus one.  Trailing zeroes
++   matter for decimal float constants, so don't return 1 for them.  */
+ 
+ int
+ real_minus_onep (const_tree expr)
+@@ -1656,7 +1664,8 @@
+   STRIP_NOPS (expr);
+ 
+   return ((TREE_CODE (expr) == REAL_CST
+-	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconstm1))
++	   && REAL_VALUES_EQUAL (TREE_REAL_CST (expr), dconstm1)
++	   && !(DECIMAL_FLOAT_MODE_P (TYPE_MODE (TREE_TYPE (expr)))))
+ 	  || (TREE_CODE (expr) == COMPLEX_CST
+ 	      && real_minus_onep (TREE_REALPART (expr))
+ 	      && real_zerop (TREE_IMAGPART (expr))));
+@@ -9078,32 +9087,12 @@
  location_t
  tree_nonartificial_location (tree exp)
  {
@@ -910,8 +1014,8 @@
  
 Index: gcc/tree.h
 ===================================================================
---- gcc/tree.h	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree.h	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/tree.h	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree.h	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -5088,7 +5088,7 @@
  
  /* Generate a new label for the CFI info to refer to.  */
@@ -933,8 +1037,8 @@
     otherwise it is looked up from the node's code.  */
 Index: gcc/tree-scalar-evolution.c
 ===================================================================
---- gcc/tree-scalar-evolution.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree-scalar-evolution.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/tree-scalar-evolution.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree-scalar-evolution.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1320,11 +1320,7 @@
  
    *evolution_of_loop = evolution_of_branch;
@@ -963,8 +1067,8 @@
  
 Index: gcc/builtins.c
 ===================================================================
---- gcc/builtins.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/builtins.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/builtins.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/builtins.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -4176,7 +4176,7 @@
  
      arg1_rtx = get_memory_rtx (arg1, len);
@@ -976,8 +1080,8 @@
      if (GET_CODE (arg3_rtx) == CONST_INT)
 Index: gcc/fold-const.c
 ===================================================================
---- gcc/fold-const.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/fold-const.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/fold-const.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/fold-const.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -5293,31 +5293,34 @@
  	break;
  
@@ -1057,8 +1161,8 @@
  	    }
 Index: gcc/objc/objc-act.c
 ===================================================================
---- gcc/objc/objc-act.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/objc/objc-act.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/objc/objc-act.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/objc/objc-act.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -6201,7 +6201,7 @@
  #endif
    tree method_params = NULL_TREE;
@@ -1070,8 +1174,8 @@
    /* Obtain the full selector name.  */
 Index: gcc/objc/ChangeLog
 ===================================================================
---- gcc/objc/ChangeLog	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/objc/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/objc/ChangeLog	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/objc/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1,3 +1,10 @@
 +2009-06-22  Steven Bosscher  <steven at gcc.gnu.org>
 +	    Matthias Klose  <doko at ubuntu.com>
@@ -1085,8 +1189,8 @@
  	* GCC 4.4.0 released.
 Index: gcc/toplev.c
 ===================================================================
---- gcc/toplev.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/toplev.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/toplev.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/toplev.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1128,10 +1128,14 @@
  	   indent, __VERSION__);
  
@@ -1106,8 +1210,8 @@
  #else
 Index: gcc/tree-chrec.c
 ===================================================================
---- gcc/tree-chrec.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree-chrec.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/tree-chrec.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree-chrec.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -220,16 +220,16 @@
    /* "a*c".  */
    t0 = chrec_fold_multiply (type, CHREC_LEFT (poly0), CHREC_LEFT (poly1));
@@ -1132,8 +1236,8 @@
  			    : build_int_cst (type, 2), t2);
 Index: gcc/tree-chrec.h
 ===================================================================
---- gcc/tree-chrec.h	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree-chrec.h	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/tree-chrec.h	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree-chrec.h	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -132,7 +132,8 @@
        || right == chrec_dont_know)
      return chrec_dont_know;
@@ -1146,14 +1250,14 @@
    /* Pointer types should occur only on the left hand side, i.e. in
 Index: gcc/DEV-PHASE
 ===================================================================
---- gcc/DEV-PHASE	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/DEV-PHASE	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/DEV-PHASE	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/DEV-PHASE	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -0,0 +1 @@
 +prerelease
 Index: gcc/tree-ssa-sccvn.c
 ===================================================================
---- gcc/tree-ssa-sccvn.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/tree-ssa-sccvn.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/tree-ssa-sccvn.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/tree-ssa-sccvn.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1293,7 +1293,7 @@
      *vnresult = NULL;
    vno1.opcode = gimple_assign_rhs_code (stmt);
@@ -1183,9 +1287,38 @@
  
 Index: gcc/ChangeLog
 ===================================================================
---- gcc/ChangeLog	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 149030)
-@@ -1,3 +1,478 @@
+--- gcc/ChangeLog	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 149126)
+@@ -1,3 +1,507 @@
++2009-06-30  Jakub Jelinek  <jakub at redhat.com>
++
++	PR c++/40566
++	* convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
++	to type arguments that have void type.
++
++2009-06-30  Ira Rosen  <irar at il.ibm.com>
++
++	PR tree-optimization/40542
++	* tree-vect-analyze.c (vect_determine_vectorization_factor): Don't
++	vectorize volatile types.
++
++2009-06-29  Janis Johnson  <janis187 at us.ibm.com>
++
++	PR c/39902
++	* tree.c (real_zerop, real_onep, real_twop, real_minus_onep):
++	Special-case decimal float constants.
++
++2009-06-29  Uros Bizjak  <ubizjak at gmail.com>
++
++	* doc/extend.texi (Additional Floating Types): __float128 is also
++	supported on i386 targets.
++
++2009-06-29  Richard Guenther  <rguenther at suse.de>
++
++	PR tree-optimization/40579
++	* tree-vrp.c (vrp_evaluate_conditional): Bail out early if
++	the IL to simplify has constants that overflowed.
++
 +2009-06-28  Uros Bizjak  <ubizjak at gmail.com>
 +
 +	PR tree-optimization/40550
@@ -1667,7 +1800,7 @@
 Index: gcc/testsuite/gcc.c-torture/execute/pr40022.c
 ===================================================================
 --- gcc/testsuite/gcc.c-torture/execute/pr40022.c	(.../tags/gcc_4_4_0_release)	(wersja 0)
-+++ gcc/testsuite/gcc.c-torture/execute/pr40022.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
++++ gcc/testsuite/gcc.c-torture/execute/pr40022.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -0,0 +1,51 @@
 +extern void abort (void);
 +
@@ -1723,7 +1856,7 @@
 Index: gcc/testsuite/gcc.c-torture/execute/pr40404.c
 ===================================================================
 --- gcc/testsuite/gcc.c-torture/execute/pr40404.c	(.../tags/gcc_4_4_0_release)	(wersja 0)
-+++ gcc/testsuite/gcc.c-torture/execute/pr40404.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
++++ gcc/testsuite/gcc.c-torture/execute/pr40404.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -0,0 +1,12 @@
 +extern void abort (void);
 +struct S {
@@ -1740,7 +1873,7 @@
 Index: gcc/testsuite/gcc.c-torture/execute/pr40057.c
 ===================================================================
 --- gcc/testsuite/gcc.c-torture/execute/pr40057.c	(.../tags/gcc_4_4_0_release)	(wersja 0)
-+++ gcc/testsuite/gcc.c-torture/execute/pr40057.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
++++ gcc/testsuite/gcc.c-torture/execute/pr40057.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -0,0 +1,37 @@
 +/* PR middle-end/40057 */
 +
@@ -1779,10 +1912,130 @@
 +    abort ();
 +  return 0;
 +}
+Index: gcc/testsuite/gcc.c-torture/execute/pr40493.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/execute/pr40493.c	(.../tags/gcc_4_4_0_release)	(wersja 0)
++++ gcc/testsuite/gcc.c-torture/execute/pr40493.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
+@@ -0,0 +1,82 @@
++extern void abort (void);
++
++typedef union i386_operand_type
++{
++  struct
++    {
++      unsigned int reg8:1;
++      unsigned int reg16:1;
++      unsigned int reg32:1;
++      unsigned int reg64:1;
++      unsigned int floatreg:1;
++      unsigned int regmmx:1;
++      unsigned int regxmm:1;
++      unsigned int regymm:1;
++      unsigned int control:1;
++      unsigned int debug:1;
++      unsigned int test:1;
++      unsigned int sreg2:1;
++      unsigned int sreg3:1;
++      unsigned int imm1:1;
++      unsigned int imm8:1;
++      unsigned int imm8s:1;
++      unsigned int imm16:1;
++      unsigned int imm32:1;
++      unsigned int imm32s:1;
++      unsigned int imm64:1;
++      unsigned int disp8:1;
++      unsigned int disp16:1;
++      unsigned int disp32:1;
++      unsigned int disp32s:1;
++      unsigned int disp64:1;
++      unsigned int acc:1;
++      unsigned int floatacc:1;
++      unsigned int baseindex:1;
++      unsigned int inoutportreg:1;
++      unsigned int shiftcount:1;
++      unsigned int jumpabsolute:1;
++      unsigned int esseg:1;
++      unsigned int regmem:1;
++      unsigned int mem:1;
++      unsigned int byte:1;
++      unsigned int word:1;
++      unsigned int dword:1;
++      unsigned int fword:1;
++      unsigned int qword:1;
++      unsigned int tbyte:1;
++      unsigned int xmmword:1;
++      unsigned int ymmword:1;
++      unsigned int unspecified:1;
++      unsigned int anysize:1;
++    } bitfield;
++  unsigned int array[2];
++} i386_operand_type;
++
++unsigned int x00, x01, y00, y01;
++
++int main (int argc, char *argv[])
++{
++  i386_operand_type a,b,c,d;
++
++  a.bitfield.reg16 = 1;
++  a.bitfield.imm16 = 0;
++  a.array[1] = 22;
++
++  b = a;
++  x00 = b.array[0];
++  x01 = b.array[1];
++
++  c = b;
++  y00 = c.array[0];
++  y01 = c.array[1];
++
++  d = c;
++  if (d.bitfield.reg16 != 1)
++    abort();
++  if (d.bitfield.imm16 != 0)
++    abort();
++  if (d.array[1] != 22)
++    abort();
++
++  return 0;
++}
+Index: gcc/testsuite/gcc.c-torture/execute/pr40579.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/execute/pr40579.c	(.../tags/gcc_4_4_0_release)	(wersja 0)
++++ gcc/testsuite/gcc.c-torture/execute/pr40579.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
+@@ -0,0 +1,28 @@
++extern void abort (void);
++static char * __attribute__((noinline))
++itos(int num)
++{
++  return (char *)0;
++}
++static void __attribute__((noinline))
++foo(int i, const char *x)
++{
++  if (i >= 4)
++    abort ();
++}
++int main()
++{
++  int x = -__INT_MAX__ + 3;
++  int i;
++
++  for (i = 0; i < 4; ++i)
++    {
++      char *p;
++      --x;
++      p = itos(x);
++      foo(i, p);
++    }
++
++  return 0;
++}
++
 Index: gcc/testsuite/gcc.c-torture/compile/pr39983.c
 ===================================================================
 --- gcc/testsuite/gcc.c-torture/compile/pr39983.c	(.../tags/gcc_4_4_0_release)	(wersja 0)
-+++ gcc/testsuite/gcc.c-torture/compile/pr39983.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
++++ gcc/testsuite/gcc.c-torture/compile/pr39983.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -0,0 +1,17 @@
 +typedef struct {
 +    int *p;
@@ -1803,8 +2056,8 @@
 +
 Index: gcc/testsuite/gcc.c-torture/compile/pr34334.c
 ===================================================================
---- gcc/testsuite/gcc.c-torture/compile/pr34334.c	(.../tags/gcc_4_4_0_release)	(wersja 149030)
-+++ gcc/testsuite/gcc.c-torture/compile/pr34334.c	(.../branches/gcc-4_4-branch)	(wersja 149030)
+--- gcc/testsuite/gcc.c-torture/compile/pr34334.c	(.../tags/gcc_4_4_0_release)	(wersja 149126)
++++ gcc/testsuite/gcc.c-torture/compile/pr34334.c	(.../branches/gcc-4_4-branch)	(wersja 149126)
 @@ -1,4 +1,4 @@
 -typedef unsigned int size_t;
 +__extension__ typedef __SIZE_TYPE__ size_t;
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc-branch.diff?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.578&r2=1.579&f=u



More information about the pld-cvs-commit mailing list