public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch]: Some patches backported to 4.4 branch
@ 2009-09-30 14:21 Kai Tietz
  2009-10-05 18:26 ` Kai Tietz
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Tietz @ 2009-09-30 14:21 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 2206 bytes --]

Hello,

I would like to backport the following changes to 4.4 branch.
Regression tested for i686-pc-mingw32, x86_64-pc-mingw32, and
i686-pc-linux. Ok for apply?

ChangeLog

2009-09-29  Kai Tietz  <kai.tietz@onevision.com>

	Back merge from trunk
	2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>

	PR target/37216
	* configure.ac (HAVE_GAS_ALIGNED_COMM):  Add autoconf test and
	macro definition for support of three-operand format aligned
	.comm directive in assembler on cygwin/pe/mingw target OS.
	* configure:  Regenerate.
	* config.h:  Regenerate.

	* config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common):  Use
	aligned form of .comm directive if -mpe-aligned-commons is in effect.
	* config/i386/cygming.opt (-mpe-aligned-commons):  Add new option.
	* doc/invoke.texi (-mpe-aligned-commons):  Document new target option.
	* doc/tm.texi (ASM_OUTPUT_COMMON):  Document zero size commons.

	Backmerge from trunk
	2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
	Uros Bizjak  <ubizjak@gmail.com>
	Danny Smith  <dansmister@gmail.com>

	PR target/37216
	* lib/target-supports.exp (check_effective_target_pe_aligned_commons):
	New function.
	* gcc.target/i386/pr37216.c:  New test source file.
	* gcc.dg/compat/struct-layout-1_generate.c (dg_options[]):  No longer
	use -fno-common for testing Cygwin and MinGW targets.

	Backmerge from trunk
	2009-03-30  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38781
	* config/i386/i386.c (classify_argument): Check total size of
	structure.

	Backmerge from trunk
	2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>

	PR target/39062
	* ssp.c: Also include malloc.h for alloca(). MinGW needs it.
	* configure.ac: Also check for malloc.h.
	* configure: Regenerated.
	* config.h.in: Regenerated.

	Backmerge from trunk
	2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>

	PR/39066
	* gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__
	instead of unsigned long.

	Backmerge from trunk
	2009-06-10  Kai Tietz  <kai.tietz@onevision.com>

	* g++.dg/torture/pr31579.C: Cast pointer
	via __SIZE_TYPE__ instead of 'unsigned long'.

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

[-- Attachment #2: gcc44backmerge.patch --]
[-- Type: application/octet-stream, Size: 14167 bytes --]

Index: gcc44-svn/gcc/gcc/config.in
===================================================================
--- gcc44-svn.orig/gcc/gcc/config.in	2009-03-31 10:22:34.000000000 +0200
+++ gcc44-svn/gcc/gcc/config.in	2009-09-29 16:13:03.587774800 +0200
@@ -821,6 +821,20 @@
 #endif
 
 
+/* Define if your assembler supports specifying the alignment of objects
+   allocated using the GAS .comm command. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_GAS_ALIGNED_COMM
+#endif
+
+
+/* Define if your assembler supports specifying the alignment of objects
+   allocated using the GAS .comm command. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_GAS_ALIGNED_COMM
+#endif
+
+
 /* Define if your assembler supports .balign and .p2align. */
 #ifndef USED_FOR_TARGET
 #undef HAVE_GAS_BALIGN_AND_P2ALIGN
Index: gcc44-svn/gcc/gcc/config/i386/cygming.opt
===================================================================
--- gcc44-svn.orig/gcc/gcc/config/i386/cygming.opt	2009-03-31 10:21:58.000000000 +0200
+++ gcc44-svn/gcc/gcc/config/i386/cygming.opt	2009-09-29 16:13:12.884709300 +0200
@@ -45,3 +45,7 @@
 mwindows
 Target
 Create GUI application
+
+mpe-aligned-commons
+Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM)
+Use the GNU extension to the PE format for aligned common data
Index: gcc44-svn/gcc/gcc/config/i386/winnt.c
===================================================================
--- gcc44-svn.orig/gcc/gcc/config/i386/winnt.c	2009-03-31 10:21:58.000000000 +0200
+++ gcc44-svn/gcc/gcc/config/i386/winnt.c	2009-09-29 16:29:41.141034100 +0200
@@ -499,8 +499,11 @@
 {
   HOST_WIDE_INT rounded;
 
-  /* Compute as in assemble_noswitch_variable, since we don't actually
-     support aligned common.  */
+  /* Compute as in assemble_noswitch_variable, since we don't have
+     support for aligned common on older binutils.  We must also
+     avoid emitting a common symbol of size zero, as this is the
+     overloaded representation that indicates an undefined external
+     symbol in the PE object file format.  */
   rounded = size ? size : 1;
   rounded += (BIGGEST_ALIGNMENT / BITS_PER_UNIT) - 1;
   rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT)
@@ -510,9 +513,13 @@
 
   fprintf (stream, "\t.comm\t");
   assemble_name (stream, name);
-  fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START
-	   " " HOST_WIDE_INT_PRINT_DEC "\n",
-	   rounded, size);
+  if (use_pe_aligned_common)
+    fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC ", %d\n",
+    size ? size : (HOST_WIDE_INT) 1,
+    exact_log2 (align) - exact_log2 (CHAR_BIT));
+  else
+    fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START
+    " " HOST_WIDE_INT_PRINT_DEC "\n", rounded, size);
 }
 \f
 /* The Microsoft linker requires that every function be marked as
Index: gcc44-svn/gcc/gcc/configure.ac
===================================================================
--- gcc44-svn.orig/gcc/gcc/configure.ac	2009-03-31 10:22:35.000000000 +0200
+++ gcc44-svn/gcc/gcc/configure.ac	2009-09-29 16:55:55.999383400 +0200
@@ -2944,6 +2944,15 @@
 changequote([,])dnl
     case $target_os in
       cygwin* | pe | mingw32*)
+	# Recent binutils allows the three-operand form of ".comm" on PE.  This
+	# definition is used unconditionally to initialise the default state of
+	# the target option variable that governs usage of the feature.
+  gcc_GAS_CHECK_FEATURE([.comm with alignment], gcc_cv_as_comm_has_align,
+	  [2,19,52],,[.comm foo,1,32])
+  AC_DEFINE_UNQUOTED(HAVE_GAS_ALIGNED_COMM,
+  [`if test $gcc_cv_as_comm_has_align = yes; then echo 1; else echo 0; fi`],
+  [Define if your assembler supports specifying the alignment
+   of objects allocated using the GAS .comm command.])
 	# Used for DWARF 2 in PE
 	gcc_GAS_CHECK_FEATURE([.secrel32 relocs],
 	  gcc_cv_as_ix86_pe_secrel32,
Index: gcc44-svn/gcc/gcc/doc/invoke.texi
===================================================================
--- gcc44-svn.orig/gcc/gcc/doc/invoke.texi	2009-09-28 12:25:30.000000000 +0200
+++ gcc44-svn/gcc/gcc/doc/invoke.texi	2009-09-29 16:08:00.820212100 +0200
@@ -15549,6 +15549,15 @@
 specifies that a GUI application is to be generated by
 instructing the linker to set the PE header subsystem type
 appropriately.
+
+@item -mpe-aligned-commons
+@opindex mpe-aligned-commons
+This option is available for Cygwin and MinGW targets.  It
+specifies that the GNU extension to the PE file format that 
+permits the correct alignment of COMMON variables should be
+used when generating code.  It will be enabled by default if
+GCC detects that the target assembler found during configuration
+supports the feature.
 @end table
 
 See also under @ref{i386 and x86-64 Options} for standard options.
Index: gcc44-svn/gcc/gcc/doc/tm.texi
===================================================================
--- gcc44-svn.orig/gcc/gcc/doc/tm.texi	2009-07-14 09:22:17.000000000 +0200
+++ gcc44-svn/gcc/gcc/doc/tm.texi	2009-09-29 16:08:00.429584600 +0200
@@ -7250,7 +7250,14 @@
 A C statement (sans semicolon) to output to the stdio stream
 @var{stream} the assembler definition of a common-label named
 @var{name} whose size is @var{size} bytes.  The variable @var{rounded}
-is the size rounded up to whatever alignment the caller wants.
+is the size rounded up to whatever alignment the caller wants.  It is
+possible that @var{size} may be zero, for instance if a struct with no
+other member than a zero-length array is defined.  In this case, the
+backend must output a symbol definition that allocates at least one
+byte, both so that the address of the resulting object does not compare
+equal to any other, and because some object formats cannot even express
+the concept of a zero-sized common symbol, as that is how they represent
+an ordinary undefined external.
 
 Use the expression @code{assemble_name (@var{stream}, @var{name})} to
 output the name itself; before and after that, output the additional
Index: gcc44-svn/gcc/gcc/gbl-ctors.h
===================================================================
--- gcc44-svn.orig/gcc/gcc/gbl-ctors.h	2009-04-16 12:35:53.000000000 +0200
+++ gcc44-svn/gcc/gcc/gbl-ctors.h	2009-09-29 16:58:57.907508100 +0200
@@ -72,9 +72,9 @@
 #ifndef DO_GLOBAL_CTORS_BODY
 #define DO_GLOBAL_CTORS_BODY						\
 do {									\
-  unsigned long nptrs = (unsigned long) __CTOR_LIST__[0];		\
+  __SIZE_TYPE__ nptrs = (__SIZE_TYPE__) __CTOR_LIST__[0];		\
   unsigned i;								\
-  if (nptrs == (unsigned long)-1)				        \
+  if (nptrs == (__SIZE_TYPE__)-1)					\
     for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++);		\
   for (i = nptrs; i >= 1; i--)						\
     __CTOR_LIST__[i] ();						\
Index: gcc44-svn/gcc/gcc/testsuite/g++.dg/torture/pr31579.C
===================================================================
--- gcc44-svn.orig/gcc/gcc/testsuite/g++.dg/torture/pr31579.C	2009-03-31 10:18:04.000000000 +0200
+++ gcc44-svn/gcc/gcc/testsuite/g++.dg/torture/pr31579.C	2009-09-29 16:13:13.790965100 +0200
@@ -5,6 +5,6 @@
 struct Industry {
  unsigned char produced_cargo[2];
 };
-unsigned int a = (((unsigned long)&reinterpret_cast<const volatile
+unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast<const volatile
 char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
 
Index: gcc44-svn/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c
===================================================================
--- gcc44-svn.orig/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c	2009-03-31 10:16:10.000000000 +0200
+++ gcc44-svn/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c	2009-09-29 16:08:12.960914800 +0200
@@ -46,7 +46,7 @@
 "/* { dg-options \"%s-I%s\" } */\n",
 "/* { dg-options \"%s-I%s -Wno-abi\" } */\n",
 "/* { dg-options \"%s-I%s -mno-mmx -Wno-abi\" { target i?86-*-* x86_64-*-* } } */\n",
-"/* { dg-options \"%s-I%s -fno-common\" { target hppa*-*-hpux* powerpc*-*-darwin* *-*-mingw32* *-*-cygwin* } } */\n",
+"/* { dg-options \"%s-I%s -fno-common\" { target hppa*-*-hpux* powerpc*-*-darwin* } } */\n",
 "/* { dg-options \"%s-I%s -mno-mmx -fno-common -Wno-abi\" { target i?86-*-darwin* x86_64-*-darwin* } } */\n",
 "/* { dg-options \"%s-I%s -mno-base-addresses\" { target mmix-*-* } } */\n",
 "/* { dg-options \"%s-I%s -mlongcalls -mtext-section-literals\" { target xtensa*-*-* } } */\n"
Index: gcc44-svn/gcc/gcc/testsuite/gcc.target/i386/pr37216.c
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ gcc44-svn/gcc/gcc/testsuite/gcc.target/i386/pr37216.c	2009-09-29 16:12:47.728298300 +0200
@@ -0,0 +1,17 @@
+/* { dg-do run } */
+/* { dg-options "-O3 -msse2" } */
+/* { dg-options "-O3 -msse2 -mpe-aligned-commons" { target pe_aligned_commons } } */
+
+#include "sse2-check.h"
+
+int iarr[64];
+int iint = 0;
+
+void
+sse2_test (void)
+{
+  int i;
+
+  for (i = 0; i < 64; i++)
+    iarr[i] = -2;
+}
Index: gcc44-svn/gcc/gcc/testsuite/lib/target-supports.exp
===================================================================
--- gcc44-svn.orig/gcc/gcc/testsuite/lib/target-supports.exp	2009-08-31 11:39:47.000000000 +0200
+++ gcc44-svn/gcc/gcc/testsuite/lib/target-supports.exp	2009-09-29 16:13:03.540899500 +0200
@@ -618,6 +618,30 @@
     } "-static"]
 }
 
+# Return 1 if compilation with -mpe-aligned-commons is error-free
+# for trivial code, 0 otherwise.
+
+proc check_effective_target_pe_aligned_commons {} {
+    if { [istarget *-*-cygwin*] || [istarget *-*-mingw*] } {
+ return [check_no_compiler_messages pe_aligned_commons object {
+     int foo;
+ } "-mpe-aligned-commons"]
+    }
+    return 0
+}
+
+# Return 1 if compilation with -mpe-aligned-commons is error-free
+# for trivial code, 0 otherwise.
+
+proc check_effective_target_pe_aligned_commons {} {
+    if { [istarget *-*-cygwin*] || [istarget *-*-mingw*] } {
+ return [check_no_compiler_messages pe_aligned_commons object {
+     int foo;
+ } "-mpe-aligned-commons"]
+    }
+    return 0
+}
+
 # Return 1 if the target supports -fstack-protector
 proc check_effective_target_fstack_protector {} {
     return [check_runtime fstack_protector {
Index: gcc44-svn/gcc/libssp/config.h.in
===================================================================
--- gcc44-svn.orig/gcc/libssp/config.h.in	2009-03-31 10:26:42.000000000 +0200
+++ gcc44-svn/gcc/libssp/config.h.in	2009-09-29 16:13:13.681589400 +0200
@@ -3,6 +3,9 @@
 /* Define to 1 if you have the <alloca.h> header file. */
 #undef HAVE_ALLOCA_H
 
+/* Define to 1 if you have the <malloc.h> header file. */
+#undef HAVE_MALLOC_H
+
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #undef HAVE_DLFCN_H
 
Index: gcc44-svn/gcc/libssp/configure
===================================================================
--- gcc44-svn.orig/gcc/libssp/configure	2009-03-31 10:26:42.000000000 +0200
+++ gcc44-svn/gcc/libssp/configure	2009-09-29 16:13:13.556588600 +0200
@@ -3989,7 +3989,7 @@
 
 
 
-for ac_header in alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
+for ac_header in alloca.h malloc.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
Index: gcc44-svn/gcc/libssp/configure.ac
===================================================================
--- gcc44-svn.orig/gcc/libssp/configure.ac	2009-03-31 10:26:42.000000000 +0200
+++ gcc44-svn/gcc/libssp/configure.ac	2009-09-29 16:13:13.728464700 +0200
@@ -90,7 +90,7 @@
 AC_MSG_RESULT($ssp_use_symver)
 AM_CONDITIONAL(LIBSSP_USE_SYMVER, [test "x$ssp_use_symver" = xyes])
 
-AC_CHECK_HEADERS(alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h)
+AC_CHECK_HEADERS(alloca.h malloc.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h)
 
 if test x$gcc_no_link = xyes; then
   # Presume the ISO C functions are available; add target-specific
Index: gcc44-svn/gcc/libssp/ssp.c
===================================================================
--- gcc44-svn.orig/gcc/libssp/ssp.c	2009-04-16 12:38:05.000000000 +0200
+++ gcc44-svn/gcc/libssp/ssp.c	2009-09-29 16:13:13.603463900 +0200
@@ -36,6 +36,9 @@
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #endif
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#endif
 #ifdef HAVE_STRING_H
 # include <string.h>
 #endif
Index: gcc44-svn/gcc/gcc/configure
===================================================================
--- gcc44-svn.orig/gcc/gcc/configure	2009-03-31 10:22:31.000000000 +0200
+++ gcc44-svn/gcc/gcc/configure	2009-09-30 10:25:48.444508200 +0200
@@ -22739,6 +22739,44 @@
   i[34567]86-*-* | x86_64-*-*)
     case $target_os in
       cygwin* | pe | mingw32*)
+	# Recent binutils allows the three-operand form of ".comm" on PE.  This
+	# definition is used unconditionally to initialise the default state of
+	# the target option variable that governs usage of the feature.
+  echo "$as_me:$LINENO: checking assembler for .comm with alignment" >&5
+echo $ECHO_N "checking assembler for .comm with alignment... $ECHO_C" >&6
+if test "${gcc_cv_as_comm_has_align+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  gcc_cv_as_comm_has_align=no
+    if test $in_tree_gas = yes; then
+    if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 52`
+  then gcc_cv_as_comm_has_align=yes
+fi
+  elif test x$gcc_cv_as != x; then
+    echo '.comm foo,1,32' > conftest.s
+    if { ac_try='$gcc_cv_as  -o conftest.o conftest.s >&5'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }
+    then
+	gcc_cv_as_comm_has_align=yes
+    else
+      echo "configure: failed program was" >&5
+      cat conftest.s >&5
+    fi
+    rm -f conftest.o conftest.s
+  fi
+fi
+echo "$as_me:$LINENO: result: $gcc_cv_as_comm_has_align" >&5
+echo "${ECHO_T}$gcc_cv_as_comm_has_align" >&6
+
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_GAS_ALIGNED_COMM `if test $gcc_cv_as_comm_has_align = yes; then echo 1; else echo 0; fi`
+_ACEOF
+
 	# Used for DWARF 2 in PE
 	echo "$as_me:$LINENO: checking assembler for .secrel32 relocs" >&5
 echo $ECHO_N "checking assembler for .secrel32 relocs... $ECHO_C" >&6

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch]: Some patches backported to 4.4 branch
  2009-09-30 14:21 [patch]: Some patches backported to 4.4 branch Kai Tietz
@ 2009-10-05 18:26 ` Kai Tietz
  2009-10-21 17:03   ` NightStrike
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Tietz @ 2009-10-05 18:26 UTC (permalink / raw)
  To: GCC Patches

Ping

2009/9/30 Kai Tietz <ktietz70@googlemail.com>:
> Hello,
>
> I would like to backport the following changes to 4.4 branch.
> Regression tested for i686-pc-mingw32, x86_64-pc-mingw32, and
> i686-pc-linux. Ok for apply?
>
> ChangeLog
>
> 2009-09-29  Kai Tietz  <kai.tietz@onevision.com>
>
>        Back merge from trunk
>        2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
>
>        PR target/37216
>        * configure.ac (HAVE_GAS_ALIGNED_COMM):  Add autoconf test and
>        macro definition for support of three-operand format aligned
>        .comm directive in assembler on cygwin/pe/mingw target OS.
>        * configure:  Regenerate.
>        * config.h:  Regenerate.
>
>        * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common):  Use
>        aligned form of .comm directive if -mpe-aligned-commons is in effect.
>        * config/i386/cygming.opt (-mpe-aligned-commons):  Add new option.
>        * doc/invoke.texi (-mpe-aligned-commons):  Document new target option.
>        * doc/tm.texi (ASM_OUTPUT_COMMON):  Document zero size commons.
>
>        Backmerge from trunk
>        2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
>        Uros Bizjak  <ubizjak@gmail.com>
>        Danny Smith  <dansmister@gmail.com>
>
>        PR target/37216
>        * lib/target-supports.exp (check_effective_target_pe_aligned_commons):
>        New function.
>        * gcc.target/i386/pr37216.c:  New test source file.
>        * gcc.dg/compat/struct-layout-1_generate.c (dg_options[]):  No longer
>        use -fno-common for testing Cygwin and MinGW targets.
>
>        Backmerge from trunk
>        2009-03-30  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR target/38781
>        * config/i386/i386.c (classify_argument): Check total size of
>        structure.
>
>        Backmerge from trunk
>        2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
>
>        PR target/39062
>        * ssp.c: Also include malloc.h for alloca(). MinGW needs it.
>        * configure.ac: Also check for malloc.h.
>        * configure: Regenerated.
>        * config.h.in: Regenerated.
>
>        Backmerge from trunk
>        2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
>
>        PR/39066
>        * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__
>        instead of unsigned long.
>
>        Backmerge from trunk
>        2009-06-10  Kai Tietz  <kai.tietz@onevision.com>
>
>        * g++.dg/torture/pr31579.C: Cast pointer
>        via __SIZE_TYPE__ instead of 'unsigned long'.
>
> Cheers,
> Kai
>
> --
> |  (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>



-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch]: Some patches backported to 4.4 branch
  2009-10-05 18:26 ` Kai Tietz
@ 2009-10-21 17:03   ` NightStrike
  0 siblings, 0 replies; 3+ messages in thread
From: NightStrike @ 2009-10-21 17:03 UTC (permalink / raw)
  To: Kai Tietz; +Cc: GCC Patches

Pinging this for Kai

On Mon, Oct 5, 2009 at 2:26 PM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Ping
>
> 2009/9/30 Kai Tietz <ktietz70@googlemail.com>:
>> Hello,
>>
>> I would like to backport the following changes to 4.4 branch.
>> Regression tested for i686-pc-mingw32, x86_64-pc-mingw32, and
>> i686-pc-linux. Ok for apply?
>>
>> ChangeLog
>>
>> 2009-09-29  Kai Tietz  <kai.tietz@onevision.com>
>>
>>        Back merge from trunk
>>        2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
>>
>>        PR target/37216
>>        * configure.ac (HAVE_GAS_ALIGNED_COMM):  Add autoconf test and
>>        macro definition for support of three-operand format aligned
>>        .comm directive in assembler on cygwin/pe/mingw target OS.
>>        * configure:  Regenerate.
>>        * config.h:  Regenerate.
>>
>>        * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common):  Use
>>        aligned form of .comm directive if -mpe-aligned-commons is in effect.
>>        * config/i386/cygming.opt (-mpe-aligned-commons):  Add new option.
>>        * doc/invoke.texi (-mpe-aligned-commons):  Document new target option.
>>        * doc/tm.texi (ASM_OUTPUT_COMMON):  Document zero size commons.
>>
>>        Backmerge from trunk
>>        2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
>>        Uros Bizjak  <ubizjak@gmail.com>
>>        Danny Smith  <dansmister@gmail.com>
>>
>>        PR target/37216
>>        * lib/target-supports.exp (check_effective_target_pe_aligned_commons):
>>        New function.
>>        * gcc.target/i386/pr37216.c:  New test source file.
>>        * gcc.dg/compat/struct-layout-1_generate.c (dg_options[]):  No longer
>>        use -fno-common for testing Cygwin and MinGW targets.
>>
>>        Backmerge from trunk
>>        2009-03-30  H.J. Lu  <hongjiu.lu@intel.com>
>>
>>        PR target/38781
>>        * config/i386/i386.c (classify_argument): Check total size of
>>        structure.
>>
>>        Backmerge from trunk
>>        2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
>>
>>        PR target/39062
>>        * ssp.c: Also include malloc.h for alloca(). MinGW needs it.
>>        * configure.ac: Also check for malloc.h.
>>        * configure: Regenerated.
>>        * config.h.in: Regenerated.
>>
>>        Backmerge from trunk
>>        2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>
>>
>>        PR/39066
>>        * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__
>>        instead of unsigned long.
>>
>>        Backmerge from trunk
>>        2009-06-10  Kai Tietz  <kai.tietz@onevision.com>
>>
>>        * g++.dg/torture/pr31579.C: Cast pointer
>>        via __SIZE_TYPE__ instead of 'unsigned long'.
>>
>> Cheers,
>> Kai
>>
>> --
>> |  (\_/) This is Bunny. Copy and paste
>> | (='.'=) Bunny into your signature to help
>> | (")_(") him gain world domination
>>
>
>
>
> --
> |  (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-21 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30 14:21 [patch]: Some patches backported to 4.4 branch Kai Tietz
2009-10-05 18:26 ` Kai Tietz
2009-10-21 17:03   ` NightStrike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).