Hello community, here is the log from the commit of package gcc41 checked in at Wed Dec 6 11:48:00 CET 2006. -------- --- gcc41/cross-alpha-gcc-icecream-backend.changes 2006-11-17 12:09:18.000000000 +0100 +++ /mounts/work_src_done/STABLE/gcc41/cross-alpha-gcc-icecream-backend.changes 2006-11-29 12:04:21.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Nov 29 12:01:56 CET 2006 - rguenther@suse.de + +- Update to SVN branch head. +- Add patch for Fate #300738. [#159446] +- Add patch for PR29166. [#224153] + +------------------------------------------------------------------- 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 gcc41.changes: same change libgcj41.changes: same change Old: ---- gcc-4.1.2-20061115.tar.bz2 pr28888.patch pr29319.diff pr29753.patch pr29788.patch New: ---- Wprofile-mismatch.patch gcc-4.1.2-20061129.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-alpha-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.FHiXCY/_old 2006-12-06 11:46:42.000000000 +0100 +++ /var/tmp/diff_new_pack.FHiXCY/_new 2006-12-06 11:46:42.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package cross-alpha-gcc-icecream-backend (Version 4.1.2_20061115) +# spec file for package cross-alpha-gcc-icecream-backend (Version 4.1.2_20061129) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -29,8 +29,8 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc URL: http://gcc.gnu.org/ License: BSD License and BSD-like, GNU General Public License (GPL) -Version: 4.1.2_20061115 -Release: 3 +Version: 4.1.2_20061129 +Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %define binsuffix -4.1 @@ -74,9 +74,6 @@ Patch100: pr28755.patch Patch101: revert-pr28506.patch Patch104: pr28217.patch -Patch105: pr28888.patch -Patch106: pr29788.patch -Patch108: pr29753.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -97,7 +94,7 @@ Patch68: dwarf3-unwind.patch Patch69: gcc41-ssse3.patch Patch70: pr27880.diff -Patch71: pr29319.diff +Patch72: Wprofile-mismatch.patch %if "%{gcc_target_arch}" == "avr" # Joerg Wunsch places his cross-avr-gcc-patches there: # http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files @@ -174,9 +171,6 @@ %patch101 cd gcc %patch104 -%patch105 -%patch106 -%patch108 cd .. %patch51 %patch55 @@ -198,7 +192,7 @@ %patch68 %patch69 %patch70 -%patch71 +%patch72 %if "%{gcc_target_arch}" == "avr" %patch1000 %patch1001 @@ -403,6 +397,10 @@ /usr/share/icecream-envs %changelog -n cross-alpha-gcc-icecream-backend +* Wed Nov 29 2006 - rguenther@suse.de +- Update to SVN branch head. +- Add patch for Fate #300738. [#159446] +- Add patch for PR29166. [#224153] * Fri Nov 17 2006 - rguenther@suse.de - Fix gcc41-fortran-{32,64}bit and gcc41-objc-{32,64}bit dependencies. * Wed Nov 15 2006 - jw@suse.de cross-arm-gcc-icecream-backend.spec: same change ++++++ cross-avr-gcc.spec ++++++ --- /var/tmp/diff_new_pack.FHiXCY/_old 2006-12-06 11:46:42.000000000 +0100 +++ /var/tmp/diff_new_pack.FHiXCY/_new 2006-12-06 11:46:42.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package cross-avr-gcc (Version 4.1.2_20061115) +# spec file for package cross-avr-gcc (Version 4.1.2_20061129) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -26,8 +26,8 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc URL: http://gcc.gnu.org/ License: BSD License and BSD-like, GNU General Public License (GPL) -Version: 4.1.2_20061115 -Release: 3 +Version: 4.1.2_20061129 +Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %define binsuffix -4.1 @@ -71,9 +71,6 @@ Patch100: pr28755.patch Patch101: revert-pr28506.patch Patch104: pr28217.patch -Patch105: pr28888.patch -Patch106: pr29788.patch -Patch108: pr29753.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -94,7 +91,7 @@ Patch68: dwarf3-unwind.patch Patch69: gcc41-ssse3.patch Patch70: pr27880.diff -Patch71: pr29319.diff +Patch72: Wprofile-mismatch.patch %if "%{gcc_target_arch}" == "avr" # Joerg Wunsch places his cross-avr-gcc-patches there: # http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files @@ -168,9 +165,6 @@ %patch101 cd gcc %patch104 -%patch105 -%patch106 -%patch108 cd .. %patch51 %patch55 @@ -192,7 +186,7 @@ %patch68 %patch69 %patch70 -%patch71 +%patch72 %if "%{gcc_target_arch}" == "avr" %patch1000 %patch1001 @@ -366,6 +360,10 @@ %{_prefix} %changelog -n cross-avr-gcc +* Wed Nov 29 2006 - rguenther@suse.de +- Update to SVN branch head. +- Add patch for Fate #300738. [#159446] +- Add patch for PR29166. [#224153] * Fri Nov 17 2006 - rguenther@suse.de - Fix gcc41-fortran-{32,64}bit and gcc41-objc-{32,64}bit dependencies. * Wed Nov 15 2006 - jw@suse.de ++++++ cross-hppa-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.FHiXCY/_old 2006-12-06 11:46:42.000000000 +0100 +++ /var/tmp/diff_new_pack.FHiXCY/_new 2006-12-06 11:46:42.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package cross-hppa-gcc-icecream-backend (Version 4.1.2_20061115) +# spec file for package cross-hppa-gcc-icecream-backend (Version 4.1.2_20061129) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -29,8 +29,8 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc URL: http://gcc.gnu.org/ License: BSD License and BSD-like, GNU General Public License (GPL) -Version: 4.1.2_20061115 -Release: 3 +Version: 4.1.2_20061129 +Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %define binsuffix -4.1 @@ -74,9 +74,6 @@ Patch100: pr28755.patch Patch101: revert-pr28506.patch Patch104: pr28217.patch -Patch105: pr28888.patch -Patch106: pr29788.patch -Patch108: pr29753.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -97,7 +94,7 @@ Patch68: dwarf3-unwind.patch Patch69: gcc41-ssse3.patch Patch70: pr27880.diff -Patch71: pr29319.diff +Patch72: Wprofile-mismatch.patch %if "%{gcc_target_arch}" == "avr" # Joerg Wunsch places his cross-avr-gcc-patches there: # http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files @@ -174,9 +171,6 @@ %patch101 cd gcc %patch104 -%patch105 -%patch106 -%patch108 cd .. %patch51 %patch55 @@ -198,7 +192,7 @@ %patch68 %patch69 %patch70 -%patch71 +%patch72 %if "%{gcc_target_arch}" == "avr" %patch1000 %patch1001 @@ -403,6 +397,10 @@ /usr/share/icecream-envs %changelog -n cross-hppa-gcc-icecream-backend +* Wed Nov 29 2006 - rguenther@suse.de +- Update to SVN branch head. +- Add patch for Fate #300738. [#159446] +- Add patch for PR29166. [#224153] * Fri Nov 17 2006 - rguenther@suse.de - Fix gcc41-fortran-{32,64}bit and gcc41-objc-{32,64}bit dependencies. * Wed Nov 15 2006 - jw@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 ++++++ gcc41.spec ++++++ --- /var/tmp/diff_new_pack.FHiXCY/_old 2006-12-06 11:46:42.000000000 +0100 +++ /var/tmp/diff_new_pack.FHiXCY/_new 2006-12-06 11:46:42.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package gcc41 (Version 4.1.2_20061115) +# spec file for package gcc41 (Version 4.1.2_20061129) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -110,8 +110,8 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc URL: http://gcc.gnu.org/ License: GNU General Public License (GPL) -Version: 4.1.2_20061115 -Release: 3 +Version: 4.1.2_20061129 +Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %define binsuffix -4.1 @@ -162,9 +162,6 @@ Patch100: pr28755.patch Patch101: revert-pr28506.patch Patch104: pr28217.patch -Patch105: pr28888.patch -Patch106: pr29788.patch -Patch108: pr29753.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -185,7 +182,7 @@ Patch68: dwarf3-unwind.patch Patch69: gcc41-ssse3.patch Patch70: pr27880.diff -Patch71: pr29319.diff +Patch72: Wprofile-mismatch.patch %if "%{gcc_target_arch}" == "avr" # Joerg Wunsch places his cross-avr-gcc-patches there: # http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files @@ -982,9 +979,6 @@ %patch101 cd gcc %patch104 -%patch105 -%patch106 -%patch108 cd .. %patch51 %patch55 @@ -1006,7 +1000,7 @@ %patch68 %patch69 %patch70 -%patch71 +%patch72 %if "%{gcc_target_arch}" == "avr" %patch1000 %patch1001 @@ -2016,6 +2010,10 @@ %endif %changelog -n gcc41 +* Wed Nov 29 2006 - rguenther@suse.de +- Update to SVN branch head. +- Add patch for Fate #300738. [#159446] +- Add patch for PR29166. [#224153] * Fri Nov 17 2006 - rguenther@suse.de - Fix gcc41-fortran-{32,64}bit and gcc41-objc-{32,64}bit dependencies. * Wed Nov 15 2006 - jw@suse.de ++++++ libgcj41.spec ++++++ --- /var/tmp/diff_new_pack.FHiXCY/_old 2006-12-06 11:46:42.000000000 +0100 +++ /var/tmp/diff_new_pack.FHiXCY/_new 2006-12-06 11:46:42.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package libgcj41 (Version 4.1.2_20061115) +# spec file for package libgcj41 (Version 4.1.2_20061129) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -124,8 +124,8 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc Url: http://gcc.gnu.org/ License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL) -Version: 4.1.2_20061115 -Release: 3 +Version: 4.1.2_20061129 +Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') %define binsuffix -4.1 @@ -176,9 +176,6 @@ Patch100: pr28755.patch Patch101: revert-pr28506.patch Patch104: pr28217.patch -Patch105: pr28888.patch -Patch106: pr29788.patch -Patch108: pr29753.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -199,7 +196,7 @@ Patch68: dwarf3-unwind.patch Patch69: gcc41-ssse3.patch Patch70: pr27880.diff -Patch71: pr29319.diff +Patch72: Wprofile-mismatch.patch %if "%{gcc_target_arch}" == "avr" # Joerg Wunsch places his cross-avr-gcc-patches there: # http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files @@ -511,9 +508,6 @@ %patch101 cd gcc %patch104 -%patch105 -%patch106 -%patch108 cd .. %patch51 %patch55 @@ -535,7 +529,7 @@ %patch68 %patch69 %patch70 -%patch71 +%patch72 %if "%{gcc_target_arch}" == "avr" %patch1000 %patch1001 @@ -1059,6 +1053,10 @@ %endif %changelog -n libgcj41 +* Wed Nov 29 2006 - rguenther@suse.de +- Update to SVN branch head. +- Add patch for Fate #300738. [#159446] +- Add patch for PR29166. [#224153] * Fri Nov 17 2006 - rguenther@suse.de - Fix gcc41-fortran-{32,64}bit and gcc41-objc-{32,64}bit dependencies. * Wed Nov 15 2006 - jw@suse.de ++++++ Wprofile-mismatch.patch ++++++ 2006-11-23 Richard Guenther <rguenther@suse.de> * doc/invoke.texi (-Wcoverage-mismatch): Document. * common.opt (-Wcoverage-mismatch): New warning option. * coverage.c (get_coverage_counts): Ignore coverage mismatch if -Wcoverage-mismatch is given. Index: gcc/doc/invoke.texi =================================================================== *** gcc/doc/invoke.texi (revision 119120) --- gcc/doc/invoke.texi (working copy) *************** Objective-C and Objective-C++ Dialects}. *** 220,226 **** @gccoptlist{-fsyntax-only -pedantic -pedantic-errors @gol -w -Wextra -Wall -Waggregate-return -Wno-attributes @gol -Wc++-compat -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment @gol ! -Wconversion -Wno-deprecated-declarations @gol -Wdisabled-optimization -Wno-div-by-zero -Wno-endif-labels @gol -Werror -Werror-implicit-function-declaration @gol -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol --- 220,226 ---- @gccoptlist{-fsyntax-only -pedantic -pedantic-errors @gol -w -Wextra -Wall -Waggregate-return -Wno-attributes @gol -Wc++-compat -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment @gol ! -Wconversion -Wcoverage-mismatch -Wno-deprecated-declarations @gol -Wdisabled-optimization -Wno-div-by-zero -Wno-endif-labels @gol -Werror -Werror-implicit-function-declaration @gol -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol *************** Make all warnings into errors. *** 3400,3405 **** --- 3400,3417 ---- This option is only active when @option{-fstack-protector} is active. It warns about functions that will not be protected against stack smashing. + @item -Wcoverage-mismatch + @opindex Wcoverage-mismatch + Warn if feedback profiles do not match when using the + @option{-fprofile-use} option. + If a source file was changed between @option{-fprofile-gen} and + @option{-fprofile-use}, the files with the profile feedback do not + match the source file and GCC can not use the profile feedback + information. By default, GCC emits an error message in this case. + The option @option{-Wcoverage-mismatch} emits a warning instead of an + error. GCC does not use appropriate feedback profiles, but the + compilation runs without errors. + @end table @node Debugging Options *************** The following options are enabled: @code *** 5395,5400 **** --- 5407,5415 ---- @code{-funroll-loops}, @code{-fpeel-loops}, @code{-ftracer}, @code{-fno-loop-optimize}. + By default, GCC emits an error message if the feedback profiles do not + match. The error abort can be avoided by using + @option{-Wcoverage-mismatch}. @end table The following options control compiler behavior regarding floating Index: gcc/coverage.c =================================================================== *** gcc/coverage.c (revision 119120) --- gcc/coverage.c (working copy) *************** get_coverage_counts (unsigned counter, u *** 351,370 **** } checksum = compute_checksum (); ! if (entry->checksum != checksum) { ! error ("coverage mismatch for function %qs while reading counter %qs", ! IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)), ! ctr_names[counter]); ! error ("checksum is %x instead of %x", entry->checksum, checksum); ! return 0; ! } ! else if (entry->summary.num != expected) ! { ! error ("coverage mismatch for function %qs while reading counter %qs", ! IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)), ! ctr_names[counter]); ! error ("number of counters is %d instead of %d", entry->summary.num, expected); return 0; } --- 351,381 ---- } checksum = compute_checksum (); ! if (entry->checksum != checksum ! || entry->summary.num != expected) { ! const char *id = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME ! (current_function_decl)); ! ! if (warn_coverage_mismatch) ! warning (OPT_Wcoverage_mismatch, "coverage mismatch for function " ! "%qs while reading counter %qs", id, ctr_names[counter]); ! else ! error ("coverage mismatch for function %qs while reading counter %qs", ! id, ctr_names[counter]); ! ! if (entry->checksum != checksum) ! inform ("checksum is %x instead of %x", entry->checksum, checksum); ! else ! inform ("number of counters is %d instead of %d", ! entry->summary.num, expected); ! ! if (warn_coverage_mismatch) ! { ! inform ("coverage mismatch ignored due to -Wcoverage-mismatch"); ! inform ("execution counts assumed to be zero"); ! } ! return 0; } Index: gcc/common.opt =================================================================== *** gcc/common.opt (revision 119120) --- gcc/common.opt (working copy) *************** Wvolatile-register-var *** 177,182 **** --- 177,186 ---- Common Var(warn_register_var) Warn when a register variable is declared volatile + Wcoverage-mismatch + Common Var(warn_coverage_mismatch) + Warn when profiles in -fprofile-use do not match + aux-info Common Separate -aux-info <file> Emit declaration information into <file> ++++++ gcc-4.1.2-20061115.tar.bz2 -> gcc-4.1.2-20061129.tar.bz2 ++++++ gcc41/gcc-4.1.2-20061115.tar.bz2 /mounts/work_src_done/STABLE/gcc41/gcc-4.1.2-20061129.tar.bz2 differ: char 11, line 1 ++++++ gcc.spec.in ++++++ --- gcc41/gcc.spec.in 2006-11-17 12:09:18.000000000 +0100 +++ /mounts/work_src_done/STABLE/gcc41/gcc.spec.in 2006-11-29 12:07:55.000000000 +0100 @@ -133,7 +133,7 @@ URL: http://gcc.gnu.org/ License: GPL -Version: 4.1.2_20061115 +Version: 4.1.2_20061129 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/') @@ -187,9 +187,6 @@ Patch100: pr28755.patch Patch101: revert-pr28506.patch Patch104: pr28217.patch -Patch105: pr28888.patch -Patch106: pr29788.patch -Patch108: pr29753.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -210,7 +207,7 @@ Patch68: dwarf3-unwind.patch Patch69: gcc41-ssse3.patch Patch70: pr27880.diff -Patch71: pr29319.diff +Patch72: Wprofile-mismatch.patch %if "%{gcc_target_arch}" == "avr" # Joerg Wunsch places his cross-avr-gcc-patches there: @@ -760,9 +757,6 @@ %patch101 cd gcc %patch104 -%patch105 -%patch106 -%patch108 cd .. %patch51 %patch55 @@ -784,7 +778,7 @@ %patch68 %patch69 %patch70 -%patch71 +%patch72 %if "%{gcc_target_arch}" == "avr" %patch1000 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org