- Timestamp:
- Mar 23, 2009, 12:41:48 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ad25333
- Parents:
- b69b7ec
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.3.3-branch_update-5.patch
rb69b7ec ra7d7369 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 03- 12-20092 Date: 03-23-2009 3 3 Initial Package Version: 4.3.3 4 4 Origin: Upstream … … 167 167 diff -Naur gcc-4.3.3.orig/gcc/ChangeLog gcc-4.3.3/gcc/ChangeLog 168 168 --- gcc-4.3.3.orig/gcc/ChangeLog 2009-01-24 02:16:13.000000000 -0800 169 +++ gcc-4.3.3/gcc/ChangeLog 2009-03-09 13:49:28.992696000 -0700 170 @@ -1,3 +1,323 @@ 169 +++ gcc-4.3.3/gcc/ChangeLog 2009-03-17 06:11:58.563094000 -0700 170 @@ -1,3 +1,341 @@ 171 +2009-03-17 H.J. Lu <hongjiu.lu@intel.com> 172 + 173 + Backport from mainline: 174 + 2009-03-17 H.J. Lu <hongjiu.lu@intel.com> 175 + 176 + PR target/39477 177 + * doc/extend.texi: Correct register behavior for regparm on 178 + Intel 386. 179 + 180 +2009-03-12 H.J. Lu <hongjiu.lu@intel.com> 181 + 182 + Backport from mainline: 183 + 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> 184 + 185 + PR target/39327 186 + * config/i386/sse.md (sse3_addsubv4sf3): Correct item bits. 187 + (sse3_addsubv2df3): Likewise. 188 + 171 189 +2009-03-09 Denis Chertykov <denisc@overta.ru> 172 190 + … … 492 510 493 511 * GCC 4.3.3 released. 494 @@ -5,8 +3 25,7 @@512 @@ -5,8 +343,7 @@ 495 513 2009-01-20 Joseph Myers <joseph@codesourcery.com> 496 514 … … 502 520 2009-01-19 Richard Guenther <rguenther@suse.de> 503 521 504 @@ -41,7 +3 60,8 @@522 @@ -41,7 +378,8 @@ 505 523 506 524 2009-01-11 Matthias Klose <doko@ubuntu.com> … … 512 530 513 531 * config/i386/i386.md (*strmovsi_1): Simplify asm alternatives. 514 @@ -509,8 +8 29,8 @@532 @@ -509,8 +847,8 @@ 515 533 PR tree-optimization/37102 516 534 * tree-outof-ssa.c (remove_gimple_phi_args): Remove all the PHI args … … 523 541 524 542 2008-10-08 Simon Martin <simartin@users.sourceforge.net> 525 @@ -986,8 +13 06,10 @@543 @@ -986,8 +1324,10 @@ 526 544 527 545 (MFC_MIN_DMA_LIST_ELEMENTS): New define. … … 1121 1139 emit_insn (gen_cmpqi_ext_3 (scratch, val)); 1122 1140 cond = gen_rtx_fmt_ee (EQ, QImode, 1141 diff -Naur gcc-4.3.3.orig/gcc/config/i386/sse.md gcc-4.3.3/gcc/config/i386/sse.md 1142 --- gcc-4.3.3.orig/gcc/config/i386/sse.md 2008-12-01 04:28:05.000000000 -0800 1143 +++ gcc-4.3.3/gcc/config/i386/sse.md 2009-03-12 10:50:02.974543000 -0700 1144 @@ -737,7 +737,7 @@ 1145 (match_operand:V4SF 1 "register_operand" "0") 1146 (match_operand:V4SF 2 "nonimmediate_operand" "xm")) 1147 (minus:V4SF (match_dup 1) (match_dup 2)) 1148 - (const_int 5)))] 1149 + (const_int 10)))] 1150 "TARGET_SSE3" 1151 "addsubps\t{%2, %0|%0, %2}" 1152 [(set_attr "type" "sseadd") 1153 @@ -2381,7 +2381,7 @@ 1154 (match_operand:V2DF 1 "register_operand" "0") 1155 (match_operand:V2DF 2 "nonimmediate_operand" "xm")) 1156 (minus:V2DF (match_dup 1) (match_dup 2)) 1157 - (const_int 1)))] 1158 + (const_int 2)))] 1159 "TARGET_SSE3" 1160 "addsubpd\t{%2, %0|%0, %2}" 1161 [(set_attr "type" "sseadd") 1123 1162 diff -Naur gcc-4.3.3.orig/gcc/config/ia64/ia64.c gcc-4.3.3/gcc/config/ia64/ia64.c 1124 1163 --- gcc-4.3.3.orig/gcc/config/ia64/ia64.c 2008-07-01 13:59:19.000000000 -0700 … … 1414 1453 diff -Naur gcc-4.3.3.orig/gcc/cp/ChangeLog gcc-4.3.3/gcc/cp/ChangeLog 1415 1454 --- gcc-4.3.3.orig/gcc/cp/ChangeLog 2009-01-24 02:15:39.000000000 -0800 1416 +++ gcc-4.3.3/gcc/cp/ChangeLog 2009-03-04 11:37:43.898064000 -0800 1417 @@ -1,3 +1,56 @@ 1455 +++ gcc-4.3.3/gcc/cp/ChangeLog 2009-03-18 08:00:32.834440000 -0700 1456 @@ -1,3 +1,66 @@ 1457 +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> 1458 + 1459 + Backport from mainline: 1460 + 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> 1461 + 1462 + PR c++/39425 1463 + * parser.c (cp_parser_explicit_specialization): Don't skip the 1464 + rest of the specialization when begin_specialization returns 1465 + false. 1466 + 1418 1467 +2009-03-04 Jason Merrill <jason@redhat.com> 1419 1468 + … … 1600 1649 diff -Naur gcc-4.3.3.orig/gcc/cp/parser.c gcc-4.3.3/gcc/cp/parser.c 1601 1650 --- gcc-4.3.3.orig/gcc/cp/parser.c 2008-11-19 13:00:23.000000000 -0800 1602 +++ gcc-4.3.3/gcc/cp/parser.c 2009-03- 04 11:37:43.898064000 -08001651 +++ gcc-4.3.3/gcc/cp/parser.c 2009-03-18 08:00:32.834440000 -0700 1603 1652 @@ -3791,6 +3791,8 @@ 1604 1653 parser->scope = NULL_TREE; … … 1636 1685 need the template keyword before their name. */ 1637 1686 && !constructor_name_p (identifier, parser->scope)) 1638 @@ -16214,35 +16226,11 @@ 1687 @@ -10485,7 +10497,6 @@ 1688 if (!begin_specialization ()) 1689 { 1690 end_specialization (); 1691 - cp_parser_skip_to_end_of_block_or_statement (parser); 1692 return; 1693 } 1694 1695 @@ -16214,35 +16225,11 @@ 1639 1696 cannot look up the name if the scope is not a class type; it 1640 1697 might, for example, be a template type parameter. */ … … 1676 1733 { 1677 1734 tree pushed_scope = NULL_TREE; 1678 @@ -16263,14 +1625 1,42 @@1735 @@ -16263,14 +16250,42 @@ 1679 1736 /*complain=*/true); 1680 1737 … … 1946 2003 diff -Naur gcc-4.3.3.orig/gcc/DATESTAMP gcc-4.3.3/gcc/DATESTAMP 1947 2004 --- gcc-4.3.3.orig/gcc/DATESTAMP 2009-01-23 16:16:35.000000000 -0800 1948 +++ gcc-4.3.3/gcc/DATESTAMP 2009-03- 11 17:16:41.615225000 -07002005 +++ gcc-4.3.3/gcc/DATESTAMP 2009-03-22 17:16:37.424141000 -0700 1949 2006 @@ -1 +1 @@ 1950 2007 -20090124 1951 +20090312 2008 +20090323 2009 diff -Naur gcc-4.3.3.orig/gcc/doc/extend.texi gcc-4.3.3/gcc/doc/extend.texi 2010 --- gcc-4.3.3.orig/gcc/doc/extend.texi 2008-07-15 08:52:35.000000000 -0700 2011 +++ gcc-4.3.3/gcc/doc/extend.texi 2009-03-17 06:11:58.563094000 -0700 2012 @@ -2687,7 +2687,7 @@ 2013 the loader, which might assume EAX, EDX and ECX can be clobbered, as 2014 per the standard calling conventions. Solaris 8 is affected by this. 2015 GNU systems with GLIBC 2.1 or higher, and FreeBSD, are believed to be 2016 -safe since the loaders there save all registers. (Lazy binding can be 2017 +safe since the loaders there save EAX, EDX and ECX. (Lazy binding can be 2018 disabled with the linker or the loader if desired, to avoid the 2019 problem.) 2020 1952 2021 diff -Naur gcc-4.3.3.orig/gcc/doc/invoke.texi gcc-4.3.3/gcc/doc/invoke.texi 1953 2022 --- gcc-4.3.3.orig/gcc/doc/invoke.texi 2008-11-21 08:21:50.000000000 -0800 … … 2568 2637 diff -Naur gcc-4.3.3.orig/gcc/testsuite/ChangeLog gcc-4.3.3/gcc/testsuite/ChangeLog 2569 2638 --- gcc-4.3.3.orig/gcc/testsuite/ChangeLog 2009-01-24 02:15:24.000000000 -0800 2570 +++ gcc-4.3.3/gcc/testsuite/ChangeLog 2009-03-11 10:53:13.287573000 -0700 2571 @@ -1,3 +1,350 @@ 2639 +++ gcc-4.3.3/gcc/testsuite/ChangeLog 2009-03-18 08:00:32.834440000 -0700 2640 @@ -1,3 +1,369 @@ 2641 +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> 2642 + 2643 + Backport from mainline: 2644 + 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> 2645 + 2646 + PR c++/39425 2647 + * g++.dg/template/pr39425.C: New. 2648 + 2649 + * g++.dg/template/spec33.C: Updated. 2650 + 2651 +2009-03-13 H.J. Lu <hongjiu.lu@intel.com> 2652 + 2653 + Backport from mainline: 2654 + 2009-03-13 H.J. Lu <hongjiu.lu@intel.com> 2655 + 2656 + PR testsuite/39451 2657 + * gcc.dg/asm-b.c: Use "Q" constraint on %b1/%h1 and "R" 2658 + constraint on (%2). 2659 + 2572 2660 +2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> 2573 2661 + … … 2920 3008 2921 3009 * GCC 4.3.3 released. 2922 @@ -89,7 +4 36,7 @@3010 @@ -89,7 +455,7 @@ 2923 3011 2924 3012 Backport from mainline: … … 2929 3017 PR tree-optimization/38529 2930 3018 * gcc.dg/vect/pr38529.c: New test. 2931 @@ -426,8 +7 73,8 @@3019 @@ -426,8 +792,8 @@ 2932 3020 2933 3021 2008-11-14 Paul Thomas <pault@gcc.gnu.org> … … 3275 3363 + return (0); 3276 3364 +} 3365 diff -Naur gcc-4.3.3.orig/gcc/testsuite/gcc.dg/asm-b.c gcc-4.3.3/gcc/testsuite/gcc.dg/asm-b.c 3366 --- gcc-4.3.3.orig/gcc/testsuite/gcc.dg/asm-b.c 2006-12-20 14:01:01.000000000 -0800 3367 +++ gcc-4.3.3/gcc/testsuite/gcc.dg/asm-b.c 2009-03-13 06:25:50.614654000 -0700 3368 @@ -24,8 +24,8 @@ 3369 #if defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) || defined (_POWER) || defined (__ppc64__) 3370 __asm __volatile ("sthbrx %1,0,%2" : "=m" (*z) : "r" (y), "r" (z)); 3371 #elif defined __i386__ || defined __x86_64__ 3372 - __asm __volatile ("movb %b1,1(%2); movb %h1,(%2)" : "=m" (*z) : "r" (y), "r" 3373 -(z)); 3374 + __asm __volatile ("movb %b1,1(%2)\n\tmovb %h1,(%2)" 3375 + : "=m" (*z) : "Q" (y), "R" (z)); 3376 #endif 3377 return (x & 1) == 0; 3378 } 3277 3379 diff -Naur gcc-4.3.3.orig/gcc/testsuite/gcc.dg/attr-alias-4.c gcc-4.3.3/gcc/testsuite/gcc.dg/attr-alias-4.c 3278 3380 --- gcc-4.3.3.orig/gcc/testsuite/gcc.dg/attr-alias-4.c 1969-12-31 16:00:00.000000000 -0800 … … 4637 4739 +void f() { } 4638 4740 +foo<int,&f> m_foo; 4741 diff -Naur gcc-4.3.3.orig/gcc/testsuite/g++.dg/template/pr39425.C gcc-4.3.3/gcc/testsuite/g++.dg/template/pr39425.C 4742 --- gcc-4.3.3.orig/gcc/testsuite/g++.dg/template/pr39425.C 1969-12-31 16:00:00.000000000 -0800 4743 +++ gcc-4.3.3/gcc/testsuite/g++.dg/template/pr39425.C 2009-03-18 08:00:32.834440000 -0700 4744 @@ -0,0 +1,18 @@ 4745 +// PR c++/39425 4746 +// { dg-do compile } 4747 + 4748 +class a { 4749 + 4750 + template<unsigned int s> 4751 + struct _rec { 4752 + static const char size = _rec< (s >> 1) >::size; 4753 + }; 4754 + 4755 + template<> // { dg-error "explicit" } 4756 + struct _rec <0> { 4757 + static const char size = 0; 4758 + }; 4759 + 4760 + static const unsigned int value = _rec < 1 >::size; 4761 + 4762 +} // { dg-error "unqualified-id" } 4763 diff -Naur gcc-4.3.3.orig/gcc/testsuite/g++.dg/template/spec33.C gcc-4.3.3/gcc/testsuite/g++.dg/template/spec33.C 4764 --- gcc-4.3.3.orig/gcc/testsuite/g++.dg/template/spec33.C 2006-09-25 12:58:10.000000000 -0700 4765 +++ gcc-4.3.3/gcc/testsuite/g++.dg/template/spec33.C 2009-03-18 08:00:32.834440000 -0700 4766 @@ -3,5 +3,5 @@ 4767 struct A 4768 { 4769 template<int> static void foo () {} 4770 - template<> static void foo<0>() {} // { dg-error "explicit" } 4771 + template<> static void foo<0>() {} // { dg-error "explicit|template" } 4772 }; 4639 4773 diff -Naur gcc-4.3.3.orig/gcc/testsuite/g++.dg/template/typename15.C gcc-4.3.3/gcc/testsuite/g++.dg/template/typename15.C 4640 4774 --- gcc-4.3.3.orig/gcc/testsuite/g++.dg/template/typename15.C 1969-12-31 16:00:00.000000000 -0800 … … 5488 5622 diff -Naur gcc-4.3.3.orig/gcc/version.c gcc-4.3.3/gcc/version.c 5489 5623 --- gcc-4.3.3.orig/gcc/version.c 2007-08-21 08:35:30.000000000 -0700 5490 +++ gcc-4.3.3/gcc/version.c 2009-03- 12 10:34:15.068288868 -07005624 +++ gcc-4.3.3/gcc/version.c 2009-03-23 00:37:55.451673138 -0700 5491 5625 @@ -14,4 +14,4 @@ 5492 5626 Makefile. */ … … 5494 5628 const char version_string[] = BASEVER DATESTAMP DEVPHASE REVISION; 5495 5629 -const char pkgversion_string[] = PKGVERSION; 5496 +const char pkgversion_string[] = "(GCC for Cross-LFS 4.3.3.20090312) "; 5630 +const char pkgversion_string[] = "(GCC for Cross-LFS 4.3.3.20090323) "; 5631 diff -Naur gcc-4.3.3.orig/libjava/ChangeLog gcc-4.3.3/libjava/ChangeLog 5632 --- gcc-4.3.3.orig/libjava/ChangeLog 2009-01-24 02:18:16.000000000 -0800 5633 +++ gcc-4.3.3/libjava/ChangeLog 2009-03-13 11:19:59.111425000 -0700 5634 @@ -1,3 +1,8 @@ 5635 +2009-03-13 Andrew Haley <aph@redhat.com> 5636 + 5637 + * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Clear 5638 + INTERPRETED access modifier. 5639 + 5640 2009-01-24 Release Manager 5641 5642 * GCC 4.3.3 released. 5643 diff -Naur gcc-4.3.3.orig/libjava/classpath/ChangeLog.gcj gcc-4.3.3/libjava/classpath/ChangeLog.gcj 5644 --- gcc-4.3.3.orig/libjava/classpath/ChangeLog.gcj 2008-09-14 11:27:33.000000000 -0700 5645 +++ gcc-4.3.3/libjava/classpath/ChangeLog.gcj 2009-03-16 05:11:32.360447000 -0700 5646 @@ -1,3 +1,8 @@ 5647 +2009-03-16 Matthias Klose <doko@ubuntu.com> 5648 + 5649 + * configure.ac: Detect xulrunner-1.9. 5650 + * configure: Regenerate. 5651 + 5652 2008-09-14 Matthias Klose <doko@ubuntu.com> 5653 5654 Merge from classpath: 5655 diff -Naur gcc-4.3.3.orig/libjava/classpath/configure gcc-4.3.3/libjava/classpath/configure 5656 --- gcc-4.3.3.orig/libjava/classpath/configure 2008-02-29 15:47:54.000000000 -0800 5657 +++ gcc-4.3.3/libjava/classpath/configure 2009-03-16 05:11:32.360447000 -0700 5658 @@ -22904,6 +22904,103 @@ 5659 else 5660 PKG_CONFIG_MIN_VERSION=0.9.0 5661 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 5662 + echo "$as_me:$LINENO: checking for mozilla-plugin libxul-unstable" >&5 5663 +echo $ECHO_N "checking for mozilla-plugin libxul-unstable... $ECHO_C" >&6 5664 + 5665 + if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then 5666 + echo "$as_me:$LINENO: result: yes" >&5 5667 +echo "${ECHO_T}yes" >&6 5668 + succeeded=yes 5669 + 5670 + echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5 5671 +echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6 5672 + MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"` 5673 + echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5 5674 +echo "${ECHO_T}$MOZILLA_CFLAGS" >&6 5675 + 5676 + echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5 5677 +echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6 5678 + MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"` 5679 + echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5 5680 +echo "${ECHO_T}$MOZILLA_LIBS" >&6 5681 + else 5682 + MOZILLA_CFLAGS="" 5683 + MOZILLA_LIBS="" 5684 + ## If we have a custom action on failure, don't print errors, but 5685 + ## do set a variable so people can do so. 5686 + MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"` 5687 + 5688 + fi 5689 + 5690 + 5691 + 5692 + else 5693 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 5694 + echo "*** See http://www.freedesktop.org/software/pkgconfig" 5695 + fi 5696 + fi 5697 + 5698 + if test $succeeded = yes; then 5699 + MOZILLA_FOUND=yes 5700 + else 5701 + MOZILLA_FOUND=no 5702 + fi 5703 + 5704 + if test "x${MOZILLA_FOUND}" = xno; then 5705 + 5706 + succeeded=no 5707 + 5708 + if test -z "$PKG_CONFIG"; then 5709 + # Extract the first word of "pkg-config", so it can be a program name with args. 5710 +set dummy pkg-config; ac_word=$2 5711 +echo "$as_me:$LINENO: checking for $ac_word" >&5 5712 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5713 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5714 + echo $ECHO_N "(cached) $ECHO_C" >&6 5715 +else 5716 + case $PKG_CONFIG in 5717 + [\\/]* | ?:[\\/]*) 5718 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5719 + ;; 5720 + *) 5721 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5722 +for as_dir in $PATH 5723 +do 5724 + IFS=$as_save_IFS 5725 + test -z "$as_dir" && as_dir=. 5726 + for ac_exec_ext in '' $ac_executable_extensions; do 5727 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5728 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5729 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5730 + break 2 5731 + fi 5732 +done 5733 +done 5734 + 5735 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 5736 + ;; 5737 +esac 5738 +fi 5739 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5740 + 5741 +if test -n "$PKG_CONFIG"; then 5742 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5743 +echo "${ECHO_T}$PKG_CONFIG" >&6 5744 +else 5745 + echo "$as_me:$LINENO: result: no" >&5 5746 +echo "${ECHO_T}no" >&6 5747 +fi 5748 + 5749 + fi 5750 + 5751 + if test "$PKG_CONFIG" = "no" ; then 5752 + echo "*** The pkg-config script could not be found. Make sure it is" 5753 + echo "*** in your path, or set the PKG_CONFIG environment variable" 5754 + echo "*** to the full path to pkg-config." 5755 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 5756 + else 5757 + PKG_CONFIG_MIN_VERSION=0.9.0 5758 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 5759 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5 5760 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6 5761 5762 @@ -22946,6 +23043,7 @@ 5763 MOZILLA_FOUND=no 5764 fi 5765 5766 + fi 5767 if test "x${MOZILLA_FOUND}" = xno; then 5768 5769 succeeded=no 5770 diff -Naur gcc-4.3.3.orig/libjava/classpath/configure.ac gcc-4.3.3/libjava/classpath/configure.ac 5771 --- gcc-4.3.3.orig/libjava/classpath/configure.ac 2007-09-05 00:45:09.000000000 -0700 5772 +++ gcc-4.3.3/libjava/classpath/configure.ac 2009-03-16 05:11:32.360447000 -0700 5773 @@ -702,7 +702,10 @@ 5774 5775 dnl Check for plugin support headers and libraries. 5776 if test "x${COMPILE_PLUGIN}" = xyes; then 5777 - PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no]) 5778 + PKG_CHECK_MODULES(MOZILLA, mozilla-plugin libxul-unstable, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no]) 5779 + if test "x${MOZILLA_FOUND}" = xno; then 5780 + PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no]) 5781 + fi 5782 if test "x${MOZILLA_FOUND}" = xno; then 5783 PKG_CHECK_MODULES(MOZILLA, firefox-plugin firefox-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no]) 5784 fi 5497 5785 diff -Naur gcc-4.3.3.orig/libjava/classpath/doc/cp-tools.info gcc-4.3.3/libjava/classpath/doc/cp-tools.info 5498 5786 --- gcc-4.3.3.orig/libjava/classpath/doc/cp-tools.info 2009-01-24 04:05:54.000000000 -0800 … … 10018 10306 -.IX Header "SEE ALSO" 10019 10307 -\&\fIjava\fR\|(1), ... 10308 diff -Naur gcc-4.3.3.orig/libjava/java/lang/natClassLoader.cc gcc-4.3.3/libjava/java/lang/natClassLoader.cc 10309 --- gcc-4.3.3.orig/libjava/java/lang/natClassLoader.cc 2007-05-31 02:30:39.000000000 -0700 10310 +++ gcc-4.3.3/libjava/java/lang/natClassLoader.cc 2009-03-13 11:19:59.111425000 -0700 10311 @@ -325,6 +325,15 @@ 10312 if (! klass->engine) 10313 klass->engine = &_Jv_soleCompiledEngine; 10314 10315 + /* FIXME: Way back before the dawn of time, we overloaded the 10316 + SYNTHETIC class access modifier to mean INTERPRETED. This was a 10317 + Bad Thing, but it didn't matter then because classes were never 10318 + marked synthetic. However, it is possible to redeem the 10319 + situation: _Jv_RegisterClassHookDefault is only called from 10320 + compiled classes, so we clear the INTERPRETED flag. This is a 10321 + kludge! */ 10322 + klass->accflags &= ~java::lang::reflect::Modifier::INTERPRETED; 10323 + 10324 if (system_class_list != SYSTEM_LOADER_INITIALIZED) 10325 { 10326 unsigned long abi = (unsigned long) klass->next_or_version; 10020 10327 diff -Naur gcc-4.3.3.orig/libstdc++-v3/ChangeLog gcc-4.3.3/libstdc++-v3/ChangeLog 10021 10328 --- gcc-4.3.3.orig/libstdc++-v3/ChangeLog 2009-01-24 02:16:26.000000000 -0800 10022 +++ gcc-4.3.3/libstdc++-v3/ChangeLog 2009-02-09 02:08:11.942408000 -0800 10023 @@ -1,3 +1,28 @@ 10329 +++ gcc-4.3.3/libstdc++-v3/ChangeLog 2009-03-14 17:43:46.944434000 -0700 10330 @@ -1,3 +1,36 @@ 10331 +2009-03-14 Paolo Carlini <paolo.carlini@oracle.com> 10332 + 10333 + PR libstdc++/39405 10334 + * include/std/type_traits (__add_lvalue_reference_helper, 10335 + __add_rvalue_reference_helper): Avoid is_function. 10336 + * testsuite/20_util/shared_ptr/cons/39405.cc: New. 10337 + * testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc: Likewise. 10338 + 10024 10339 +2009-02-09 Johannes Singler <singler@ira.uka.de> 10025 10340 + … … 10308 10623 } 10309 10624 10625 diff -Naur gcc-4.3.3.orig/libstdc++-v3/include/std/type_traits gcc-4.3.3/libstdc++-v3/include/std/type_traits 10626 --- gcc-4.3.3.orig/libstdc++-v3/include/std/type_traits 2008-03-26 16:21:44.000000000 -0700 10627 +++ gcc-4.3.3/libstdc++-v3/include/std/type_traits 2009-03-14 17:43:46.944434000 -0700 10628 @@ -1,6 +1,6 @@ 10629 // <type_traits> -*- C++ -*- 10630 10631 -// Copyright (C) 2007, 2008 Free Software Foundation, Inc. 10632 +// Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. 10633 // 10634 // This file is part of the GNU ISO C++ Library. This library is free 10635 // software; you can redistribute it and/or modify it under the 10636 @@ -107,7 +107,7 @@ 10637 { typedef _Tp type; }; 10638 10639 template<typename _Tp, 10640 - bool = is_object<_Tp>::value || is_function<_Tp>::value, 10641 + bool = !is_reference<_Tp>::value && !is_void<_Tp>::value, 10642 bool = is_rvalue_reference<_Tp>::value> 10643 struct __add_lvalue_reference_helper 10644 { typedef _Tp type; }; 10645 @@ -127,7 +127,7 @@ 10646 { }; 10647 10648 template<typename _Tp, 10649 - bool = is_object<_Tp>::value || is_function<_Tp>::value> 10650 + bool = !is_reference<_Tp>::value && !is_void<_Tp>::value> 10651 struct __add_rvalue_reference_helper 10652 { typedef _Tp type; }; 10653 10310 10654 diff -Naur gcc-4.3.3.orig/libstdc++-v3/scripts/extract_symvers gcc-4.3.3/libstdc++-v3/scripts/extract_symvers 10311 10655 --- gcc-4.3.3.orig/libstdc++-v3/scripts/extract_symvers 2005-08-16 19:28:44.000000000 -0700 … … 10330 10674 printf "%s:%s\n", $4, $8; 10331 10675 else if ($4 == "OBJECT") 10676 diff -Naur gcc-4.3.3.orig/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc gcc-4.3.3/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc 10677 --- gcc-4.3.3.orig/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc 1969-12-31 16:00:00.000000000 -0800 10678 +++ gcc-4.3.3/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc 2009-03-14 17:43:46.944434000 -0700 10679 @@ -0,0 +1,31 @@ 10680 +// { dg-options "-std=gnu++0x" } 10681 +// { dg-do compile } 10682 + 10683 +// Copyright (C) 2009 Free Software Foundation 10684 +// 10685 +// This file is part of the GNU ISO C++ Library. This library is free 10686 +// software; you can redistribute it and/or modify it under the 10687 +// terms of the GNU General Public License as published by the 10688 +// Free Software Foundation; either version 2, or (at your option) 10689 +// any later version. 10690 + 10691 +// This library is distributed in the hope that it will be useful, 10692 +// but WITHOUT ANY WARRANTY; without even the implied warranty of 10693 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10694 +// GNU General Public License for more details. 10695 + 10696 +// You should have received a copy of the GNU General Public License along 10697 +// with this library; see the file COPYING. If not, write to the Free 10698 +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 10699 +// USA. 10700 + 10701 +#include <memory> 10702 + 10703 +// libstdc++/39405 10704 +template<typename T> 10705 + struct foo 10706 + { 10707 + std::shared_ptr<foo<T> > m_foo; 10708 + }; 10709 + 10710 +std::shared_ptr<foo<int> > t; 10711 diff -Naur gcc-4.3.3.orig/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc gcc-4.3.3/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc 10712 --- gcc-4.3.3.orig/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc 1969-12-31 16:00:00.000000000 -0800 10713 +++ gcc-4.3.3/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc 2009-03-14 17:43:46.944434000 -0700 10714 @@ -0,0 +1,30 @@ 10715 +// { dg-do compile } 10716 + 10717 +// Copyright (C) 2009 Free Software Foundation 10718 +// 10719 +// This file is part of the GNU ISO C++ Library. This library is free 10720 +// software; you can redistribute it and/or modify it under the 10721 +// terms of the GNU General Public License as published by the 10722 +// Free Software Foundation; either version 2, or (at your option) 10723 +// any later version. 10724 + 10725 +// This library is distributed in the hope that it will be useful, 10726 +// but WITHOUT ANY WARRANTY; without even the implied warranty of 10727 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10728 +// GNU General Public License for more details. 10729 + 10730 +// You should have received a copy of the GNU General Public License along 10731 +// with this library; see the file COPYING. If not, write to the Free 10732 +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 10733 +// USA. 10734 + 10735 +#include <tr1/memory> 10736 + 10737 +// libstdc++/39405 10738 +template<typename T> 10739 + struct foo 10740 + { 10741 + std::tr1::shared_ptr<foo<T> > m_foo; 10742 + }; 10743 + 10744 +std::tr1::shared_ptr<foo<int> > t;
Note:
See TracChangeset
for help on using the changeset viewer.