rpms/gcc/devel gcc4-fold-indirect-ref.patch, NONE, 1.1 gcc4-spec23-test.patch, NONE, 1.1 gcc4.spec, 1.37, 1.38

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu May 12 19:06:17 UTC 2005


Author: jakub

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

Modified Files:
	gcc4.spec 
Added Files:
	gcc4-fold-indirect-ref.patch gcc4-spec23-test.patch 
Log Message:
4.0.0-5


gcc4-fold-indirect-ref.patch:
 fold-const.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE gcc4-fold-indirect-ref.patch ---
2005-05-11  Richard Guenther  <rguenth at gcc.gnu.org>

	* fold-const.c (fold_indirect_ref_1): Avoid removing
	NOP_EXPRs with type qualifiers like const.

--- gcc/fold-const.c	10 May 2005 13:46:40 -0000	1.575
+++ gcc/fold-const.c	11 May 2005 07:43:33 -0000	1.576
@@ -11356,7 +11356,7 @@ fold_indirect_ref_1 (tree t)
   tree sub = t;
   tree subtype;
 
-  STRIP_NOPS (sub);
+  STRIP_TYPE_NOPS (sub);
   subtype = TREE_TYPE (sub);
   if (!POINTER_TYPE_P (subtype))
     return NULL_TREE;

gcc4-spec23-test.patch:
 spec23.C |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE gcc4-spec23-test.patch ---
2005-05-12  Nathan Sidwell  <nathan at codesourcery.com>

	* g++.dg/template/spec23.C: Fix dg-error text.

--- gcc/testsuite/g++.dg/template/spec23.C	3 Apr 2005 12:33:02 -0000	1.1
+++ gcc/testsuite/g++.dg/template/spec23.C	4 Apr 2005 08:18:55 -0000	1.2
@@ -19,7 +19,7 @@ struct Bar
 
 Foo Quux (Bar const &b)
 {
-  return b; // { dg-error "ambiguous overload" "" }
+  return b; // { dg-error "ambiguous" "" }
 }
 
 


Index: gcc4.spec
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- gcc4.spec	12 May 2005 13:35:49 -0000	1.37
+++ gcc4.spec	12 May 2005 19:06:15 -0000	1.38
@@ -92,6 +92,8 @@
 Patch20: gcc4-pr21454.patch
 Patch21: gcc4-pr21329.patch
 Patch22: gcc4-pr21492.patch
+Patch23: gcc4-spec23-test.patch
+Patch24: gcc4-fold-indirect-ref.patch
 
 %define _gnu %{nil}
 %ifarch sparc
@@ -423,6 +425,8 @@
 %patch20 -p0 -b .pr21454~
 %patch21 -p0 -b .pr21329~
 %patch22 -p0 -b .pr21492~
+%patch23 -p0 -b .spec23-test~
+%patch24 -p0 -R -b .fold-indirect-ref~
 
 perl -pi -e 's/4\.0\.0/4.0.0/' gcc/version.c
 perl -pi -e 's/"%{gcc_version}"/"%{gcc_version} \(release\)"/' gcc/version.c




More information about the fedora-cvs-commits mailing list