[mingw-gcc: 11/36] 4.4.2-1

epienbro epienbro at fedoraproject.org
Tue Mar 6 19:19:17 UTC 2012


commit 6c169394aba017e4fa1433a1896aaf2b1d3d9f9a
Author: Kalev Lember <kalev at fedoraproject.org>
Date:   Sun Nov 22 22:13:04 2009 +0000

    4.4.2-1

 .cvsignore                |    2 +-
 gcc44-hack.patch          |    6 +-
 gcc44-ppc64-aixdesc.patch |   24 +
 gcc44-pr38757.patch       |   22 +-
 gcc44-raw-string.patch    | 1495 ---------------------------------------------
 gcc44-rh503816-1.patch    |  827 -------------------------
 gcc44-rh503816-2.patch    |  491 ---------------
 mingw32-gcc.spec          |   23 +-
 sources                   |    2 +-
 9 files changed, 51 insertions(+), 2841 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index db8a6dd..6dbf7d0 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-gcc-4.4.1-20090902.tar.bz2
+gcc-4.4.2-20091114.tar.bz2
diff --git a/gcc44-hack.patch b/gcc44-hack.patch
index c770339..8719d17 100644
--- a/gcc44-hack.patch
+++ b/gcc44-hack.patch
@@ -1,6 +1,6 @@
 --- libada/Makefile.in.jj	2009-01-14 12:07:35.000000000 +0100
 +++ libada/Makefile.in	2009-01-15 14:25:33.000000000 +0100
-@@ -67,17 +67,39 @@ version := $(shell cat $(srcdir)/../gcc/
+@@ -69,18 +69,40 @@ version := $(shell cat $(srcdir)/../gcc/
  libsubdir := $(libdir)/gcc/$(target_noncanonical)/$(version)$(MULTISUBDIR)
  ADA_RTS_DIR=$(GCC_DIR)/ada/rts$(subst /,_,$(MULTISUBDIR))
  
@@ -38,12 +38,14 @@
          "SHELL=$(SHELL)" \
 -        "GNATLIBFLAGS=$(GNATLIBFLAGS) $(MULTIFLAGS)" \
 -        "GNATLIBCFLAGS=$(GNATLIBCFLAGS) $(MULTIFLAGS)" \
+-        "GNATLIBCFLAGS_FOR_C=$(GNATLIBCFLAGS_FOR_C) $(MULTIFLAGS)" \
 +        "GNATLIBFLAGS=$(strip $(GNATLIBFLAGS) $(MULTIFLAGS) $(DEFAULTMULTIFLAGS))" \
 +        "GNATLIBCFLAGS=$(strip $(GNATLIBCFLAGS) $(MULTIFLAGS) $(DEFAULTMULTIFLAGS))" \
++        "GNATLIBCFLAGS_FOR_C=$(strip $(GNATLIBCFLAGS_FOR_C) $(MULTIFLAGS) $(DEFAULTMULTIFLAGS))" \
          "TARGET_LIBGCC2_CFLAGS=$(TARGET_LIBGCC2_CFLAGS)" \
          "THREAD_KIND=$(THREAD_KIND)" \
          "TRACE=$(TRACE)" \
-@@ -88,7 +110,7 @@ LIBADA_FLAGS_TO_PASS = \
+@@ -91,7 +113,7 @@ LIBADA_FLAGS_TO_PASS = \
          "exeext=.exeext.should.not.be.used " \
  	'CC=the.host.compiler.should.not.be.needed' \
  	"GCC_FOR_TARGET=$(CC)" \
diff --git a/gcc44-ppc64-aixdesc.patch b/gcc44-ppc64-aixdesc.patch
new file mode 100644
index 0000000..b9f4a8b
--- /dev/null
+++ b/gcc44-ppc64-aixdesc.patch
@@ -0,0 +1,24 @@
+2009-09-16  Jakub Jelinek  <jakub at redhat.com>
+
+	* config/rs6000/sysv4.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Disable
+	out of line gpr/fpr saving for -m64 -Os -mcall-aixdesc.
+
+--- gcc/config/rs6000/sysv4.h.jj	2009-09-16 14:46:19.000000000 +0200
++++ gcc/config/rs6000/sysv4.h	2009-09-16 14:46:19.000000000 +0200
+@@ -273,12 +273,14 @@ do {									\
+ /* Define cutoff for using external functions to save floating point.
+    When optimizing for size, use external functions when profitable.  */
+ #define FP_SAVE_INLINE(FIRST_REG) (optimize_size			\
++				   && (!TARGET_64BIT || !DOT_SYMBOLS)	\
+ 				   ? ((FIRST_REG) == 62			\
+ 				      || (FIRST_REG) == 63)		\
+ 				   : (FIRST_REG) < 64)
+ /* And similarly for general purpose registers.  */
+-#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32	\
+-				   && !optimize_size)
++#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32			\
++				   && (!optimize_size			\
++				        || (TARGET_64BIT && DOT_SYMBOLS)))
+ 
+ /* Put jump tables in read-only memory, rather than in .text.  */
+ #define JUMP_TABLES_IN_TEXT_SECTION 0
diff --git a/gcc44-pr38757.patch b/gcc44-pr38757.patch
index c166411..805996f 100644
--- a/gcc44-pr38757.patch
+++ b/gcc44-pr38757.patch
@@ -90,7 +90,7 @@
  const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;
 --- gcc/dwarf2out.c.jj	2009-03-17 13:06:29.000000000 +0100
 +++ gcc/dwarf2out.c	2009-03-18 12:55:36.000000000 +0100
-@@ -12470,9 +12470,18 @@ add_bit_size_attribute (dw_die_ref die, 
+@@ -14286,9 +14286,18 @@ add_bit_size_attribute (dw_die_ref die, 
  static inline void
  add_prototyped_attribute (dw_die_ref die, tree func_type)
  {
@@ -112,18 +112,14 @@
  }
  
  /* Add an 'abstract_origin' attribute below a given DIE.  The DIE is found
-@@ -14419,7 +14428,13 @@ gen_compile_unit_die (const char *filena
-   else if (strcmp (language_string, "GNU Objective-C++") == 0)
-     language = DW_LANG_ObjC_plus_plus;
-   else
--    language = DW_LANG_C89;
-+    {
-+      if (lang_hooks.source_language
-+	  && lang_hooks.source_language () >= 1999)
+@@ -16290,6 +16299,10 @@ gen_compile_unit_die (const char *filena
+ 	language = DW_LANG_ObjC;
+       else if (strcmp (language_string, "GNU Objective-C++") == 0)
+ 	language = DW_LANG_ObjC_plus_plus;
++      else if (strcmp (language_string, "GNU C") == 0
++	       && lang_hooks.source_language
++	       && lang_hooks.source_language () >= 1999)
 +	language = DW_LANG_C99;
-+      else
-+	language = DW_LANG_C89;
-+    }
+     }
  
    add_AT_unsigned (die, DW_AT_language, language);
-   return die;
diff --git a/mingw32-gcc.spec b/mingw32-gcc.spec
index 80e30c6..4bb99e4 100644
--- a/mingw32-gcc.spec
+++ b/mingw32-gcc.spec
@@ -1,11 +1,11 @@
 %global __os_install_post /usr/lib/rpm/brp-compress %{nil}
 
-%global DATE 20090902
-%global SVNREV 151328
+%global DATE 20091114
+%global SVNREV 154179
 
 Name:           mingw32-gcc
-Version:        4.4.1
-Release:        3%{?dist}
+Version:        4.4.2
+Release:        1%{?dist}
 Summary:        MinGW Windows cross-compiler (GCC) for C
 
 License:        GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
@@ -34,12 +34,10 @@ Patch11:        gcc44-sparc-config-detection.patch
 Patch12:        gcc44-libgomp-omp_h-multilib.patch
 Patch13:        gcc44-libtool-no-rpath.patch
 Patch14:        gcc44-cloog-dl.patch
-Patch15:        gcc44-raw-string.patch
 Patch16:        gcc44-unwind-debug-hook.patch
 Patch17:        gcc44-pr38757.patch
 Patch18:        gcc44-libstdc++-docs.patch
-Patch19:        gcc44-rh503816-1.patch
-Patch20:        gcc44-rh503816-2.patch
+Patch19:        gcc44-ppc64-aixdesc.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -134,14 +132,12 @@ MinGW Windows cross-compiler for FORTRAN.
 %patch12 -p0 -b .libgomp-omp_h-multilib~
 %patch13 -p0 -b .libtool-no-rpath~
 %patch14 -p0 -b .cloog-dl~
-%patch15 -p0 -b .raw-string~
 %patch16 -p0 -b .unwind-debug-hook~
 %patch17 -p0 -b .pr38757~
 %patch18 -p0 -b .libstdc++-docs~
-%patch19 -p0 -b .rh503816-1~
-%patch20 -p0 -b .rh503816-2~
+%patch19 -p0 -b .ppc64-aixdesc~
 
-sed -i -e 's/4\.4\.2/%{version}/' gcc/BASE-VER
+sed -i -e 's/4\.4\.3/%{version}/' gcc/BASE-VER
 echo 'Fedora MinGW %{version}-%{release}' > gcc/DEV-PHASE
 
 
@@ -292,6 +288,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Nov 22 2009 Kalev Lember <kalev at smartlink.ee> - 4.4.2-1
+- Update to gcc 4.4.2 20091114 svn 154179, which includes
+  VTA backport from 4.5 branch.
+- Patches taken from native Fedora gcc-4.4.2-10.
+
 * Fri Sep 18 2009 Kalev Lember <kalev at smartlink.ee> - 4.4.1-3
 - Require mingw32-binutils >= 2.19.51.0.14 for %%gnu_unique_object support.
 
diff --git a/sources b/sources
index 8b21222..5044d7b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eb2fb0d2c073de0b4edf78dab958aca4  gcc-4.4.1-20090902.tar.bz2
+bcc990c4eafa005e2e15db24e8745cd1  gcc-4.4.2-20091114.tar.bz2


More information about the scm-commits mailing list