Hello community, here is the log from the commit of package gcc checked in at Wed May 31 02:38:46 CEST 2006. -------- --- gcc/cross-alpha-gcc-icecream-backend.changes 2006-05-25 22:39:03.000000000 +0200 +++ gcc/cross-alpha-gcc-icecream-backend.changes 2006-05-29 16:28:21.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 29 16:27:33 CEST 2006 - rguenther@suse.de + +- Revert patch for PR26757 which causes MPlayer build failures. + +------------------------------------------------------------------- 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: ---- pr26757-revert.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-alpha-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.hnXwVa/_old 2006-05-31 02:37:07.000000000 +0200 +++ /var/tmp/diff_new_pack.hnXwVa/_new 2006-05-31 02:37:07.000000000 +0200 @@ -25,7 +25,7 @@ URL: http://gcc.gnu.org/ License: GPL, LGPL Version: 4.1.1 -Release: 4 +Release: 6 %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} @@ -66,6 +66,7 @@ Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix Patch95: pr26399.patch +Patch96: pr26757-revert.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -150,6 +151,7 @@ %patch93 %patch94 %patch95 +%patch96 %patch51 %patch55 %patch57 @@ -368,6 +370,8 @@ /usr/share/icecream-envs %changelog -n cross-alpha-gcc-icecream-backend +* Mon May 29 2006 - rguenther@suse.de +- Revert patch for PR26757 which causes MPlayer build failures. * Thu May 25 2006 - rguenther@suse.de - Update to 4.1.1 release. * Wed May 17 2006 - rguenther@suse.de cross-arm-gcc-icecream-backend.spec: same change ++++++ cross-avr-gcc.spec ++++++ --- /var/tmp/diff_new_pack.hnXwVa/_old 2006-05-31 02:37:07.000000000 +0200 +++ /var/tmp/diff_new_pack.hnXwVa/_new 2006-05-31 02:37:07.000000000 +0200 @@ -24,7 +24,7 @@ URL: http://gcc.gnu.org/ License: GPL, LGPL Version: 4.1.1 -Release: 4 +Release: 6 %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} @@ -65,6 +65,7 @@ Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix Patch95: pr26399.patch +Patch96: pr26757-revert.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -146,6 +147,7 @@ %patch93 %patch94 %patch95 +%patch96 %patch51 %patch55 %patch57 @@ -331,6 +333,8 @@ %{_prefix} %changelog -n cross-avr-gcc +* Mon May 29 2006 - rguenther@suse.de +- Revert patch for PR26757 which causes MPlayer build failures. * Thu May 25 2006 - rguenther@suse.de - Update to 4.1.1 release. * Wed May 17 2006 - rguenther@suse.de ++++++ cross-hppa-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.hnXwVa/_old 2006-05-31 02:37:07.000000000 +0200 +++ /var/tmp/diff_new_pack.hnXwVa/_new 2006-05-31 02:37:07.000000000 +0200 @@ -25,7 +25,7 @@ URL: http://gcc.gnu.org/ License: GPL, LGPL Version: 4.1.1 -Release: 4 +Release: 6 %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} @@ -66,6 +66,7 @@ Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix Patch95: pr26399.patch +Patch96: pr26757-revert.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -150,6 +151,7 @@ %patch93 %patch94 %patch95 +%patch96 %patch51 %patch55 %patch57 @@ -368,6 +370,8 @@ /usr/share/icecream-envs %changelog -n cross-hppa-gcc-icecream-backend +* Mon May 29 2006 - rguenther@suse.de +- Revert patch for PR26757 which causes MPlayer build failures. * Thu May 25 2006 - rguenther@suse.de - Update to 4.1.1 release. * Wed May 17 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.hnXwVa/_old 2006-05-31 02:37:07.000000000 +0200 +++ /var/tmp/diff_new_pack.hnXwVa/_new 2006-05-31 02:37:07.000000000 +0200 @@ -85,7 +85,7 @@ URL: http://gcc.gnu.org/ License: GPL Version: 4.1.1 -Release: 4 +Release: 6 %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} @@ -128,6 +128,7 @@ Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix Patch95: pr26399.patch +Patch96: pr26757-revert.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -571,6 +572,7 @@ %patch93 %patch94 %patch95 +%patch96 %patch51 %patch55 %patch57 @@ -1702,6 +1704,8 @@ %endif %changelog -n gcc +* Mon May 29 2006 - rguenther@suse.de +- Revert patch for PR26757 which causes MPlayer build failures. * Thu May 25 2006 - rguenther@suse.de - Update to 4.1.1 release. * Wed May 17 2006 - rguenther@suse.de ++++++ gcc.spec.in ++++++ --- gcc/gcc.spec.in 2006-05-25 22:39:13.000000000 +0200 +++ gcc/gcc.spec.in 2006-05-29 16:20:30.000000000 +0200 @@ -146,6 +146,7 @@ Patch93: nvl161673.patch Patch94: ppc-longdouble-vaarg-fix Patch95: pr26399.patch +Patch96: pr26757-revert.patch # A set of patches from the RH srpm Patch51: gcc41-ia64-stack-protector.patch Patch55: gcc41-java-slow_pthread_self.patch @@ -503,6 +504,7 @@ %patch93 %patch94 %patch95 +%patch96 %patch51 %patch55 %patch57 ++++++ pr26757-revert.patch ++++++ Revert the workaround for PR26757 (C++ frontend bug) because that causes PR27793 (random ICEs because of corrupt immediate use info). Index: gcc/tree-dfa.c =================================================================== *** gcc/tree-dfa.c (revision 114127) --- gcc/tree-dfa.c (working copy) *************** struct dfa_stats_d *** 65,75 **** }; /* Local functions. */ static void collect_dfa_stats (struct dfa_stats_d *); static tree collect_dfa_stats_r (tree *, int *, void *); static tree find_vars_r (tree *, int *, void *); ! static void add_referenced_var (tree, bool); /* Global declarations. */ --- 65,83 ---- }; + /* State information for find_vars_r. */ + struct walk_state + { + /* Hash table used to avoid adding the same variable more than once. */ + htab_t vars_found; + }; + + /* Local functions. */ static void collect_dfa_stats (struct dfa_stats_d *); static tree collect_dfa_stats_r (tree *, int *, void *); static tree find_vars_r (tree *, int *, void *); ! static void add_referenced_var (tree, struct walk_state *); /* Global declarations. */ *************** htab_t referenced_vars; *** 92,107 **** static void find_referenced_vars (void) { basic_block bb; block_stmt_iterator si; FOR_EACH_BB (bb) for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si)) { tree *stmt_p = bsi_stmt_ptr (si); ! walk_tree (stmt_p, find_vars_r, NULL, NULL); } } struct tree_opt_pass pass_referenced_vars = --- 100,122 ---- static void find_referenced_vars (void) { + htab_t vars_found; basic_block bb; block_stmt_iterator si; + struct walk_state walk_state; + + vars_found = htab_create (50, htab_hash_pointer, htab_eq_pointer, NULL); + memset (&walk_state, 0, sizeof (walk_state)); + walk_state.vars_found = vars_found; FOR_EACH_BB (bb) for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si)) { tree *stmt_p = bsi_stmt_ptr (si); ! walk_tree (stmt_p, find_vars_r, &walk_state, NULL); } + htab_delete (vars_found); } struct tree_opt_pass pass_referenced_vars = *************** collect_dfa_stats_r (tree *tp, int *walk *** 536,547 **** the function. */ static tree ! find_vars_r (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED) { /* If T is a regular variable that the optimizers are interested in, add it to the list of variables. */ if (SSA_VAR_P (*tp)) ! add_referenced_var (*tp, false); /* Type, _DECL and constant nodes have no interesting children. Ignore them. */ --- 551,564 ---- the function. */ static tree ! find_vars_r (tree *tp, int *walk_subtrees, void *data) { + struct walk_state *walk_state = (struct walk_state *) data; + /* If T is a regular variable that the optimizers are interested in, add it to the list of variables. */ if (SSA_VAR_P (*tp)) ! add_referenced_var (*tp, walk_state); /* Type, _DECL and constant nodes have no interesting children. Ignore them. */ *************** referenced_var_insert (unsigned int uid, *** 593,601 **** h->uid = uid; h->to = to; loc = htab_find_slot_with_hash (referenced_vars, h, uid, INSERT); - /* This assert can only trigger if a variable with the same UID has been - inserted already. */ - gcc_assert ((*(struct int_tree_map **)loc) == NULL); *(struct int_tree_map **) loc = h; } --- 610,615 ---- *************** referenced_var_insert (unsigned int uid, *** 607,624 **** duplicate checking is done. */ static void ! add_referenced_var (tree var, bool always) { var_ann_t v_ann; v_ann = get_var_ann (var); ! gcc_assert (DECL_P (var)); ! ! if (always || referenced_var_lookup_if_exists (DECL_UID (var)) == NULL_TREE) { /* This is the first time we find this variable, add it to the REFERENCED_VARS array and annotate it with attributes that are intrinsic to the variable. */ referenced_var_insert (DECL_UID (var), var); --- 621,645 ---- duplicate checking is done. */ static void ! add_referenced_var (tree var, struct walk_state *walk_state) { + void **slot; var_ann_t v_ann; v_ann = get_var_ann (var); ! ! if (walk_state) ! slot = htab_find_slot (walk_state->vars_found, (void *) var, INSERT); ! else ! slot = NULL; ! ! if (slot == NULL || *slot == NULL) { /* This is the first time we find this variable, add it to the REFERENCED_VARS array and annotate it with attributes that are intrinsic to the variable. */ + if (slot) + *slot = (void *) var; referenced_var_insert (DECL_UID (var), var); *************** add_referenced_var (tree var, bool alway *** 637,643 **** variables because it cannot be propagated by the optimizers. */ && (TREE_CONSTANT (var) || TREE_READONLY (var))) ! walk_tree (&DECL_INITIAL (var), find_vars_r, NULL, 0); } } --- 658,664 ---- variables because it cannot be propagated by the optimizers. */ && (TREE_CONSTANT (var) || TREE_READONLY (var))) ! walk_tree (&DECL_INITIAL (var), find_vars_r, walk_state, 0); } } *************** get_virtual_var (tree var) *** 674,680 **** void add_referenced_tmp_var (tree var) { ! add_referenced_var (var, true); } --- 695,701 ---- void add_referenced_tmp_var (tree var) { ! add_referenced_var (var, NULL); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de