Hello community, here is the log from the commit of package gcc checked in at Fri Apr 28 21:54:40 CEST 2006. -------- --- gcc/cross-alpha-gcc-icecream-backend.changes 2006-04-22 19:12:12.000000000 +0200 +++ STABLE/gcc/cross-alpha-gcc-icecream-backend.changes 2006-04-28 13:51:33.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Apr 28 13:50:45 CEST 2006 - rguenther@suse.de + +- Add patch for PR26399, -fprofile-generate/use checksum + mismatches. [#159466] + +------------------------------------------------------------------- cross-arm-gcc-icecream-backend.changes: same change cross-avr-gcc.changes: same change cross-hppa-gcc-icecream-backend.changes: same change cross-i386-gcc-icecream-backend.changes: same change cross-ia64-gcc-icecream-backend.changes: same change cross-ppc-gcc-icecream-backend.changes: same change cross-ppc64-gcc-icecream-backend.changes: same change cross-s390-gcc-icecream-backend.changes: same change cross-s390x-gcc-icecream-backend.changes: same change cross-x86_64-gcc-icecream-backend.changes: same change gcc.changes: same change New: ---- pr26399.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-alpha-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.KpFzod/_old 2006-04-28 21:53:40.000000000 +0200 +++ /var/tmp/diff_new_pack.KpFzod/_new 2006-04-28 21:53:40.000000000 +0200 @@ -25,7 +25,7 @@ URL: http://gcc.gnu.org/ License: GPL, LGPL Version: 4.1.0 -Release: 20 +Release: 23 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %if %{gcc_for_opt} @@ -83,6 +83,7 @@ Patch92: pr27162.patch Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix +Patch95: pr26399.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch53: gcc41-java-rmic.patch @@ -185,6 +186,7 @@ %patch92 %patch93 %patch94 +%patch95 %patch51 %patch53 %patch55 @@ -404,6 +406,9 @@ /usr/share/icecream-envs %changelog -n cross-alpha-gcc-icecream-backend +* Fri Apr 28 2006 - rguenther@suse.de +- Add patch for PR26399, -fprofile-generate/use checksum + mismatches. [#159466] * Sat Apr 22 2006 - rguenther@suse.de - Add patch to fix fallout from patch for PR27095, fix PR27260. * Thu Apr 20 2006 - rguenther@suse.de cross-arm-gcc-icecream-backend.spec: same change ++++++ cross-avr-gcc.spec ++++++ --- /var/tmp/diff_new_pack.KpFzod/_old 2006-04-28 21:53:40.000000000 +0200 +++ /var/tmp/diff_new_pack.KpFzod/_new 2006-04-28 21:53:40.000000000 +0200 @@ -24,7 +24,7 @@ URL: http://gcc.gnu.org/ License: GPL, LGPL Version: 4.1.0 -Release: 20 +Release: 23 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %if %{gcc_for_opt} @@ -82,6 +82,7 @@ Patch92: pr27162.patch Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix +Patch95: pr26399.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch53: gcc41-java-rmic.patch @@ -181,6 +182,7 @@ %patch92 %patch93 %patch94 +%patch95 %patch51 %patch53 %patch55 @@ -367,6 +369,9 @@ %{_prefix} %changelog -n cross-avr-gcc +* Fri Apr 28 2006 - rguenther@suse.de +- Add patch for PR26399, -fprofile-generate/use checksum + mismatches. [#159466] * Sat Apr 22 2006 - rguenther@suse.de - Add patch to fix fallout from patch for PR27095, fix PR27260. * Thu Apr 20 2006 - rguenther@suse.de ++++++ cross-hppa-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.KpFzod/_old 2006-04-28 21:53:40.000000000 +0200 +++ /var/tmp/diff_new_pack.KpFzod/_new 2006-04-28 21:53:40.000000000 +0200 @@ -25,7 +25,7 @@ URL: http://gcc.gnu.org/ License: GPL, LGPL Version: 4.1.0 -Release: 20 +Release: 23 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %if %{gcc_for_opt} @@ -83,6 +83,7 @@ Patch92: pr27162.patch Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix +Patch95: pr26399.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch53: gcc41-java-rmic.patch @@ -185,6 +186,7 @@ %patch92 %patch93 %patch94 +%patch95 %patch51 %patch53 %patch55 @@ -404,6 +406,9 @@ /usr/share/icecream-envs %changelog -n cross-hppa-gcc-icecream-backend +* Fri Apr 28 2006 - rguenther@suse.de +- Add patch for PR26399, -fprofile-generate/use checksum + mismatches. [#159466] * Sat Apr 22 2006 - rguenther@suse.de - Add patch to fix fallout from patch for PR27095, fix PR27260. * Thu Apr 20 2006 - rguenther@suse.de cross-i386-gcc-icecream-backend.spec: same change cross-ia64-gcc-icecream-backend.spec: same change cross-ppc-gcc-icecream-backend.spec: same change cross-ppc64-gcc-icecream-backend.spec: same change cross-s390-gcc-icecream-backend.spec: same change cross-s390x-gcc-icecream-backend.spec: same change cross-x86_64-gcc-icecream-backend.spec: same change ++++++ gcc.spec ++++++ --- /var/tmp/diff_new_pack.KpFzod/_old 2006-04-28 21:53:40.000000000 +0200 +++ /var/tmp/diff_new_pack.KpFzod/_new 2006-04-28 21:53:40.000000000 +0200 @@ -85,7 +85,7 @@ URL: http://gcc.gnu.org/ License: GPL Version: 4.1.0 -Release: 20 +Release: 23 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %if %{gcc_for_opt} @@ -145,6 +145,7 @@ Patch92: pr27162.patch Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix +Patch95: pr26399.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch53: gcc41-java-rmic.patch @@ -160,11 +161,11 @@ Patch64: libstdcxx-bitset.patch %description -NOTE: Be sure to install at least the following packages as well or you -will not be able to compile: binutils and glibc-devel. +Core package for the GNU Compiler Collection, including the C language +frontend. -Compiled with support for Ada, C, C++, Fortran77, Java, and -Objective-C. +Language frontends other than C are split to different sub-packages, +namely gcc-ada, gcc-c++, gcc-fortran, gcc-java and gcc-objc. @@ -443,11 +444,11 @@ Obsoletes: gnat %description ada -NOTE: Be sure to install at least the following packages as well or you -will not be able to compile: binutils and glibc-devel. +Core package for the GNU Compiler Collection, including the C language +frontend. -Compiled with support for Ada, C, C++, Fortran77, Java, and -Objective-C. +Language frontends other than C are split to different sub-packages, +namely gcc-ada, gcc-c++, gcc-fortran, gcc-java and gcc-objc. @@ -462,11 +463,11 @@ Obsoletes: gnat-runtime %description -n libada -NOTE: Be sure to install at least the following packages as well or you -will not be able to compile: binutils and glibc-devel. +Core package for the GNU Compiler Collection, including the C language +frontend. -Compiled with support for Ada, C, C++, Fortran77, Java, and -Objective-C. +Language frontends other than C are split to different sub-packages, +namely gcc-ada, gcc-c++, gcc-fortran, gcc-java and gcc-objc. @@ -608,6 +609,7 @@ %patch92 %patch93 %patch94 +%patch95 %patch51 %patch53 %patch55 @@ -1740,6 +1742,9 @@ %endif %changelog -n gcc +* Fri Apr 28 2006 - rguenther@suse.de +- Add patch for PR26399, -fprofile-generate/use checksum + mismatches. [#159466] * Sat Apr 22 2006 - rguenther@suse.de - Add patch to fix fallout from patch for PR27095, fix PR27260. * Thu Apr 20 2006 - rguenther@suse.de ++++++ gcc.spec.in ++++++ --- gcc/gcc.spec.in 2006-04-22 15:12:50.000000000 +0200 +++ STABLE/gcc/gcc.spec.in 2006-04-28 13:50:38.000000000 +0200 @@ -163,6 +163,7 @@ Patch92: pr27162.patch Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix +Patch95: pr26399.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch53: gcc41-java-rmic.patch @@ -179,10 +180,8 @@ %description -NOTE: Be sure to install at least the following packages as well, or -you will not be able to compile: binutils and glibc-devel. - -Compiled with support for Ada, C, C++, Fortran77, Java and Objective-C. +Language frontends other than C are split to different sub-packages, +namely gcc-ada, gcc-c++, gcc-fortran, gcc-java and gcc-objc. # COMMON-END @@ -542,6 +541,7 @@ %patch92 %patch93 %patch94 +%patch95 %patch51 %patch53 %patch55 ++++++ pr26399.patch ++++++ Jan Hubicka PR profile/20815 PR profile/26399 * coverage.c (coverage_checksum_string): Reorganize loop to not read after buffer. * g++.dg/bprob/g++-bprob-2.C: New testcase. Index: gcc/coverage.c =================================================================== *** gcc/coverage.c (revision 113342) --- gcc/coverage.c (working copy) *************** coverage_checksum_string (unsigned chksu *** 457,486 **** to be no better chance then walk all possible offsets looking for magicnuber. */ if (offset) ! for (;string[offset]; offset++) ! for (i = i + offset; string[i]; i++) ! if (string[i]=='_') ! { ! int y; ! ! for (y = 1; y < 9; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 9 || string[i + 9] != '_') ! continue; ! for (y = 10; y < 18; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 18) ! continue; ! if (!dup) ! string = dup = xstrdup (string); ! for (y = 10; y < 18; y++) ! dup[i + y] = '0'; ! } ! break; } chksum = crc32_string (chksum, string); --- 457,487 ---- to be no better chance then walk all possible offsets looking for magicnuber. */ if (offset) ! { ! for (i = i + offset; string[i]; i++) ! if (string[i]=='_') ! { ! int y; ! ! for (y = 1; y < 9; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 9 || string[i + 9] != '_') ! continue; ! for (y = 10; y < 18; y++) ! if (!(string[i + y] >= '0' && string[i + y] <= '9') ! && !(string[i + y] >= 'A' && string[i + y] <= 'F')) ! break; ! if (y != 18) ! continue; ! if (!dup) ! string = dup = xstrdup (string); ! for (y = 10; y < 18; y++) ! dup[i + y] = '0'; ! } ! break; ! } } chksum = crc32_string (chksum, string); --- /dev/null 2006-03-04 21:11:20.000000000 +0100 +++ gcc/testsuite/g++.dg/bprob/g++-bprob-2.C 2006-04-28 13:46:24.000000000 +0200 @@ -0,0 +1,15 @@ +namespace { + +int calc(int j) +{ + if (j==0) return 0; + return calc(j-1)*j % 17; +} + +} + +int main(void) +{ + return calc(25); +} + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de