rpms/gcc/devel gcc41-pr28150.patch, NONE, 1.1 gcc41-pr28170.patch, NONE, 1.1 gcc41.spec, 1.78, 1.79

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jul 11 16:00:41 UTC 2006


Author: jakub

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

Modified Files:
	gcc41.spec 
Added Files:
	gcc41-pr28150.patch gcc41-pr28170.patch 
Log Message:
4.1.1-7

gcc41-pr28150.patch:
 0 files changed

--- NEW FILE gcc41-pr28150.patch ---
2006-07-06  David Edelsohn  <edelsohn at gnu.org>

	PR target/28150
	* config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
	PRE_{INC,DEC} of TFmode.

--- gcc/config/rs6000/rs6000.c	(revision 115228)
+++ gcc/config/rs6000/rs6000.c	(revision 115229)
@@ -3522,6 +3522,7 @@ rs6000_legitimate_address (enum machine_
   if ((GET_CODE (x) == PRE_INC || GET_CODE (x) == PRE_DEC)
       && !ALTIVEC_VECTOR_MODE (mode)
       && !SPE_VECTOR_MODE (mode)
+      && mode != TFmode
       /* Restrict addressing for DI because of our SUBREG hackery.  */
       && !(TARGET_E500_DOUBLE && (mode == DFmode || mode == DImode))
       && TARGET_UPDATE

gcc41-pr28170.patch:
 0 files changed

--- NEW FILE gcc41-pr28170.patch ---
2006-07-06  David Edelsohn  <edelsohn at gnu.org>
	    Alan Modra  <amodra at bigpond.net.au>

	PR target/28170
	* config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
	bounds. Simplify.

--- gcc/config/rs6000/rs6000.c	(revision 115228)
+++ gcc/config/rs6000/rs6000.c	(revision 115229)
@@ -9799,12 +9799,12 @@ effects of instruction do not correspond
 int
 insvdi_rshift_rlwimi_p (rtx sizeop, rtx startop, rtx shiftop)
 {
-  if (INTVAL (startop) < 64
-      && INTVAL (startop) > 32
-      && (INTVAL (sizeop) + INTVAL (startop) < 64)
-      && (INTVAL (sizeop) + INTVAL (startop) > 33)
-      && (INTVAL (sizeop) + INTVAL (startop) + INTVAL (shiftop) < 96)
-      && (INTVAL (sizeop) + INTVAL (startop) + INTVAL (shiftop) >= 64)
+  if (INTVAL (startop) > 32
+      && INTVAL (startop) < 64
+      && INTVAL (sizeop) > 1
+      && INTVAL (sizeop) + INTVAL (startop) < 64
+      && INTVAL (shiftop) > 0
+      && INTVAL (sizeop) + INTVAL (shiftop) < 32
       && (64 - (INTVAL (shiftop) & 63)) >= INTVAL (sizeop))
     return 1;
 


Index: gcc41.spec
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc41.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- gcc41.spec	11 Jul 2006 11:28:14 -0000	1.78
+++ gcc41.spec	11 Jul 2006 16:00:29 -0000	1.79
@@ -128,6 +128,8 @@
 Patch24: gcc41-pr26885.patch
 Patch25: gcc41-hash-style-gnu.patch
 Patch26: gcc41-visibility.patch
+Patch27: gcc41-pr28150.patch
+Patch28: gcc41-pr28170.patch
 %define _gnu %{nil}
 %ifarch sparc
 %define gcc_target_platform sparc64-%{_vendor}-%{_target_os}
@@ -432,6 +434,8 @@
 %patch24 -p0 -b .pr26885~
 %patch25 -p0 -b .hash-style-gnu~
 %patch26 -p0 -b .visibility~
+%patch27 -p0 -b .pr28150~
+%patch28 -p0 -b .pr28170~
 
 sed -i -e 's/4\.1\.2/4.1.1/' gcc/BASE-VER gcc/version.c
 sed -i -e 's/" (Red Hat[^)]*)"/" (Red Hat %{version}-%{gcc_release})"/' gcc/version.c
@@ -1481,10 +1485,13 @@
 	fortran/28081, fortran/28094, fortran/28167, fortran/28174,
 	fortran/28213, fortran/28237, middle-end/27428, target/28084,
 	target/28207, tree-optimization/28218
+- use --hash-style=gnu by default
 - C++ visibility fixes (Jason Merrill, PRs c++/17470, c++/19134,
   c++/21581, c++/21675, c++/25915, c++/26612, c++/26905, c++/26984,
   c++/27000, c++/28215, c++/28279)
-- use --hash-style=gnu by default
+- fix ppc insvdi_internal2/3 (David Edelsohn, Alan Modra, #197755,
+  PR target/28170)
+- avoid TFmode PRE_INC/PRE_DEC on ppc (David Edelsohn, PR target/28150)
 
 * Thu Jun 29 2006 Jakub Jelinek <jakub at redhat.com> 4.1.1-6
 - update from gcc-4_1-branch (-r114766:115058)




More information about the fedora-cvs-commits mailing list