rpms/gcc/devel gcc44-pr44199.patch, NONE, 1.1 .cvsignore, 1.313, 1.314 gcc.spec, 1.94, 1.95 import.log, 1.19, 1.20 sources, 1.318, 1.319 gcc44-debug-sra-be.patch, 1.1, NONE gcc44-java-debug-iface-type.patch, 1.1, NONE

Jakub Jelinek jakub at fedoraproject.org
Tue May 25 22:50:28 UTC 2010


Author: jakub

Update of /cvs/pkgs/rpms/gcc/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31100/devel

Modified Files:
	.cvsignore gcc.spec import.log sources 
Added Files:
	gcc44-pr44199.patch 
Removed Files:
	gcc44-debug-sra-be.patch gcc44-java-debug-iface-type.patch 
Log Message:
4.4.4-5.fc14


gcc44-pr44199.patch:
 rs6000.c  |   18 ++++++++++++++++++
 rs6000.md |    9 +++++++++
 2 files changed, 27 insertions(+)

--- NEW FILE gcc44-pr44199.patch ---
2010-05-20  Jakub Jelinek  <jakub at redhat.com>

	PR target/44199
	* config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca
	or total_size is larger than red zone size for non-V4 ABI, emit a
	stack_tie resp. frame_tie insn before stack pointer restore.
	* config/rs6000/rs6000.md (frame_tie): New insn.

--- gcc/config/rs6000/rs6000.c.jj	2010-05-17 07:52:06.000000000 +0200
+++ gcc/config/rs6000/rs6000.c	2010-05-19 22:15:53.000000000 +0200
@@ -19775,6 +19775,16 @@ rs6000_emit_epilogue (int sibcall)
       frame_reg_rtx = sp_reg_rtx;
       if (DEFAULT_ABI == ABI_V4)
 	frame_reg_rtx = gen_rtx_REG (Pmode, 11);
+      /* Prevent reordering memory accesses against stack pointer restore.  */
+      else if (cfun->calls_alloca
+	       || offset_below_red_zone_p (-info->total_size))
+	{
+	  rtx mem1 = gen_rtx_MEM (BLKmode, hard_frame_pointer_rtx);
+	  rtx mem2 = gen_rtx_MEM (BLKmode, sp_reg_rtx);
+	  MEM_NOTRAP_P (mem1) = 1;
+	  MEM_NOTRAP_P (mem2) = 1;
+	  emit_insn (gen_frame_tie (mem1, mem2));
+	}
 
       insn = emit_insn (gen_add3_insn (frame_reg_rtx, hard_frame_pointer_rtx,
 				       GEN_INT (info->total_size)));
@@ -19784,6 +19794,14 @@ rs6000_emit_epilogue (int sibcall)
 	   && DEFAULT_ABI != ABI_V4
 	   && !crtl->calls_eh_return)
     {
+      /* Prevent reordering memory accesses against stack pointer restore.  */
+      if (cfun->calls_alloca
+	  || offset_below_red_zone_p (-info->total_size))
+	{
+	  rtx mem = gen_rtx_MEM (BLKmode, sp_reg_rtx);
+	  MEM_NOTRAP_P (mem) = 1;
+	  emit_insn (gen_stack_tie (mem));
+	}
       insn = emit_insn (gen_add3_insn (sp_reg_rtx, sp_reg_rtx,
 				       GEN_INT (info->total_size)));
       sp_offset = 0;
--- gcc/config/rs6000/rs6000.md.jj	2010-03-26 17:13:37.000000000 +0100
+++ gcc/config/rs6000/rs6000.md	2010-05-19 22:15:19.000000000 +0200
@@ -15286,6 +15286,15 @@ (define_insn "stack_tie"
   ""
   [(set_attr "length" "0")])
 
+; Like stack_tie, but depend on both fp and sp based memory.
+(define_insn "frame_tie"
+  [(set (match_operand:BLK 0 "memory_operand" "+m")
+	(unspec:BLK [(match_dup 0)
+		     (match_operand:BLK 1 "memory_operand" "m")] UNSPEC_TIE))]
+  ""
+  ""
+  [(set_attr "length" "0")])
+
 
 (define_expand "epilogue"
   [(use (const_int 0))]


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/devel/.cvsignore,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -p -r1.313 -r1.314
--- .cvsignore	18 May 2010 21:17:39 -0000	1.313
+++ .cvsignore	25 May 2010 22:50:27 -0000	1.314
@@ -1,2 +1,2 @@
 fastjar-0.97.tar.gz
-gcc-4.4.4-20100518.tar.bz2
+gcc-4.4.4-20100525.tar.bz2


Index: gcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/devel/gcc.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -p -r1.94 -r1.95
--- gcc.spec	18 May 2010 21:17:39 -0000	1.94
+++ gcc.spec	25 May 2010 22:50:27 -0000	1.95
@@ -1,9 +1,9 @@
-%global DATE 20100518
-%global SVNREV 159543
+%global DATE 20100525
+%global SVNREV 159836
 %global gcc_version 4.4.4
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
-%global gcc_release 4
+%global gcc_release 5
 %global _unpackaged_files_terminate_build 0
 %global multilib_64_archs sparc64 ppc64 s390x x86_64
 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
@@ -165,7 +165,6 @@ Patch5: gcc44-ppc32-retaddr.patch
 Patch6: gcc44-pr33763.patch
 Patch7: gcc44-rh330771.patch
 Patch8: gcc44-rh341221.patch
-Patch9: gcc44-java-debug-iface-type.patch
 Patch10: gcc44-i386-libgomp.patch
 Patch11: gcc44-sparc-config-detection.patch
 Patch12: gcc44-libgomp-omp_h-multilib.patch
@@ -176,7 +175,7 @@ Patch17: gcc44-pr38757.patch
 Patch18: gcc44-libstdc++-docs.patch
 Patch19: gcc44-ppc64-aixdesc.patch
 Patch20: gcc44-no-add-needed.patch
-Patch21: gcc44-debug-sra-be.patch
+Patch21: gcc44-pr44199.patch
 
 Patch1000: fastjar-0.97-segfault.patch
 Patch1001: fastjar-0.97-len1.patch
@@ -471,7 +470,6 @@ which are required to compile with the G
 %patch6 -p0 -b .pr33763~
 %patch7 -p0 -b .rh330771~
 %patch8 -p0 -b .rh341221~
-%patch9 -p0 -b .java-debug-iface-type~
 %patch10 -p0 -b .i386-libgomp~
 %patch11 -p0 -b .sparc-config-detection~
 %patch12 -p0 -b .libgomp-omp_h-multilib~
@@ -488,7 +486,7 @@ which are required to compile with the G
 %if 0%{?fedora} >= 13
 %patch20 -p0 -b .no-add-needed~
 %endif
-%patch21 -p0 -b .debug-sra-be~
+%patch21 -p0 -b .pr44199~
 
 # This testcase doesn't compile.
 rm libjava/testsuite/libjava.lang/PR35020*
@@ -1878,6 +1876,14 @@ fi
 %doc rpm.doc/changelogs/libmudflap/ChangeLog*
 
 %changelog
+* Tue May 25 2010 Jakub Jelinek <jakub at redhat.com> 4.4.4-5
+- update from gcc-4_4-branch
+  - PRs bootstrap/43870, debug/44205, target/43733, target/44074,
+	target/44202, target/44245, tree-optimization/43845
+  - fix cv-qual issue with function types (#593750, PR c++/44193)
+- VTA backports
+  - PRs debug/41371, debug/42801, debug/43260, debug/43521
+
 * Tue May 18 2010 Jakub Jelinek <jakub at redhat.com> 4.4.4-4
 - update from gcc-4_4-branch
   - PR fortran/44135


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/devel/import.log,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- import.log	18 May 2010 21:17:39 -0000	1.19
+++ import.log	25 May 2010 22:50:27 -0000	1.20
@@ -17,3 +17,4 @@ gcc-4_4_4-1_fc14:HEAD:gcc-4.4.4-1.fc14.s
 gcc-4_4_4-2_fc14:HEAD:gcc-4.4.4-2.fc14.src.rpm:1272918393
 gcc-4_4_4-3_fc14:HEAD:gcc-4.4.4-3.fc14.src.rpm:1273873902
 gcc-4_4_4-4_fc14:HEAD:gcc-4.4.4-4.fc14.src.rpm:1274217418
+gcc-4_4_4-5_fc14:HEAD:gcc-4.4.4-5.fc14.src.rpm:1274827803


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/devel/sources,v
retrieving revision 1.318
retrieving revision 1.319
diff -u -p -r1.318 -r1.319
--- sources	18 May 2010 21:17:39 -0000	1.318
+++ sources	25 May 2010 22:50:28 -0000	1.319
@@ -1,2 +1,2 @@
 2659f09c2e43ef8b7d4406321753f1b2  fastjar-0.97.tar.gz
-b7e838fc8d20ea7431118b45d6a7ecca  gcc-4.4.4-20100518.tar.bz2
+c413ea290fdbe54dbd60816ad80857a1  gcc-4.4.4-20100525.tar.bz2


--- gcc44-debug-sra-be.patch DELETED ---


--- gcc44-java-debug-iface-type.patch DELETED ---



More information about the scm-commits mailing list