rpms/gcc/devel gcc4-pr21983.patch, 1.1, 1.2 gcc4-pr23075.patch, 1.1, 1.2 gcc4-pr23098.patch, 1.1, 1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Sep 6 12:56:52 UTC 2005


Author: jakub

Update of /cvs/dist/rpms/gcc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30408

Modified Files:
	gcc4-pr21983.patch gcc4-pr23075.patch gcc4-pr23098.patch 
Log Message:
4.0.1-13


gcc4-pr21983.patch:
 cp/class.c                      |   11 +++++------
 testsuite/g++.dg/warn/pr21983.C |    7 +++++++
 2 files changed, 12 insertions(+), 6 deletions(-)

Index: gcc4-pr21983.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4-pr21983.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc4-pr21983.patch	6 Sep 2005 12:00:32 -0000	1.1
+++ gcc4-pr21983.patch	6 Sep 2005 12:56:50 -0000	1.2
@@ -7,12 +7,12 @@
 
 --- gcc/cp/class.c.jj	2005-08-16 16:24:16.000000000 +0200
 +++ gcc/cp/class.c	2005-09-05 17:03:08.000000000 +0200
-@@ -1906,11 +1906,7 @@ find_final_overrider (tree derived, tree
- 
+@@ -1938,11 +1938,7 @@ find_final_overrider (tree derived, tree
+   
    /* If there was no winner, issue an error message.  */
    if (!ffod.candidates || TREE_CHAIN (ffod.candidates))
 -    {
--      error ("no unique final overrider for %qD in %qT", fn,
+-      error ("no unique final overrider for %qD in %qT", fn, 
 -	     BINFO_TYPE (derived));
 -      return error_mark_node;
 -    }
@@ -20,7 +20,7 @@
  
    return ffod.candidates;
  }
-@@ -1970,7 +1966,10 @@ update_vtable_entry_for_fn (tree t, tree
+@@ -2002,7 +1998,10 @@ update_vtable_entry_for_fn (tree t, tree
    /* Find the final overrider.  */
    overrider = find_final_overrider (TYPE_BINFO (t), b, target_fn);
    if (overrider == error_mark_node)
@@ -30,7 +30,7 @@
 +      return;
 +    }
    overrider_target = overrider_fn = TREE_PURPOSE (overrider);
- 
+   
    /* Check for adjusting covariant return types.  */
 --- gcc/testsuite/g++.dg/warn/pr21983.C.jj	2005-09-05 17:06:42.000000000 +0200
 +++ gcc/testsuite/g++.dg/warn/pr21983.C	2005-09-05 17:08:06.000000000 +0200

gcc4-pr23075.patch:
 c-typeck.c                      |   14 ++++++++++----
 cp/cp-tree.h                    |    2 +-
 cp/semantics.c                  |    4 +++-
 cp/typeck.c                     |   12 ++++++++++--
 testsuite/g++.dg/warn/pr23075.C |   14 ++++++++++++++
 testsuite/gcc.dg/pr23075.c      |   14 ++++++++++++++
 tree-cfg.c                      |    3 ++-
 7 files changed, 54 insertions(+), 9 deletions(-)

Index: gcc4-pr23075.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4-pr23075.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc4-pr23075.patch	6 Sep 2005 12:00:32 -0000	1.1
+++ gcc4-pr23075.patch	6 Sep 2005 12:56:50 -0000	1.2
@@ -114,12 +114,12 @@
    finish_stmt ();
 --- gcc/cp/cp-tree.h.jj	2005-08-30 08:24:02.000000000 +0200
 +++ gcc/cp/cp-tree.h	2005-09-05 11:44:27.000000000 +0200
-@@ -4321,7 +4321,7 @@ extern tree type_after_usual_arithmetic_
- extern tree composite_pointer_type		(tree, tree, tree, tree,
- 						 const char*);
+@@ -4340,7 +4340,7 @@ extern tree type_after_usual_arithmetic_
+ extern tree composite_pointer_type              (tree, tree, tree, tree,
+ 						       const char*);
  extern tree merge_types				(tree, tree);
--extern tree check_return_expr			(tree);
-+extern tree check_return_expr			(tree, bool *);
+-extern tree check_return_expr                   (tree);
++extern tree check_return_expr                   (tree, bool *);
  #define cp_build_binary_op(code, arg1, arg2) \
    build_binary_op(code, arg1, arg2, 1)
  #define cxx_sizeof(T)  cxx_sizeof_or_alignof_type (T, SIZEOF_EXPR, true)

gcc4-pr23098.patch:
 config/i386/i386.md                 |   10 ++++------
 cse.c                               |    3 +++
 rtl.h                               |    1 +
 simplify-rtx.c                      |    8 ++++++++
 testsuite/gcc.target/i386/pr23098.c |   24 ++++++++++++++++++++++++
 5 files changed, 40 insertions(+), 6 deletions(-)

Index: gcc4-pr23098.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4-pr23098.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc4-pr23098.patch	6 Sep 2005 12:00:32 -0000	1.1
+++ gcc4-pr23098.patch	6 Sep 2005 12:56:50 -0000	1.2
@@ -1,7 +1,7 @@
 2005-09-06  Jakub Jelinek  <jakub at redhat.com>
 
 	PR rtl-optimization/23098
-	* cse.c (fold_rtx_mem): Call delegitimize_address target hook.
+	* cse.c (fold_rtx): Call delegitimize_address target hook.
 	* simplify-rtx.c (constant_pool_reference_p): New function.
 	* rtl.h (constant_pool_reference_p): New prototype.
 	* config/i386/i386.md (pushf split, mov[sdx]f split): Use
@@ -12,16 +12,16 @@
 
 --- gcc/cse.c.jj	2005-08-06 10:39:54.000000000 +0200
 +++ gcc/cse.c	2005-09-02 16:12:10.000000000 +0200
-@@ -3462,6 +3462,9 @@ fold_rtx_mem (rtx x, rtx insn)
- 	  addr = addr_ent->const_rtx;
-       }
- 
-+    /* Call target hook to avoid the effects of -fpic etc....  */
-+    addr = targetm.delegitimize_address (addr);
-+
-     /* If address is constant, split it into a base and integer
-        offset.  */
-     if (GET_CODE (addr) == SYMBOL_REF || GET_CODE (addr) == LABEL_REF)
+@@ -3511,6 +3511,9 @@ fold_rtx (rtx x, rtx insn)
+ 	      addr = addr_ent->const_rtx;
+ 	  }
+ 
++	/* Call target hook to avoid the effects of -fpic etc....  */
++	addr = targetm.delegitimize_address (addr);
++
+ 	/* If address is constant, split it into a base and integer offset.  */
+ 	if (GET_CODE (addr) == SYMBOL_REF || GET_CODE (addr) == LABEL_REF)
+ 	  base = addr;
 --- gcc/config/i386/i386.md.jj	2005-08-27 10:12:50.000000000 +0200
 +++ gcc/config/i386/i386.md	2005-09-05 10:03:12.000000000 +0200
 @@ -2247,11 +2247,10 @@




More information about the fedora-cvs-commits mailing list