gcc.git
20 years agoDaily bump.
GCC Administrator [Fri, 5 Nov 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90096.2

20 years agotree-phinodes.c (make_phi_node): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:30:16 +0000 (23:30 +0000)]
tree-phinodes.c (make_phi_node): Make it static.

* tree-phinodes.c (make_phi_node): Make it static.
* tree.h: Remove the prototypes for make_phi_node.

From-SVN: r90093

20 years agostmt.c (expand_asm, [...]): Make them static.
Kazu Hirata [Thu, 4 Nov 2004 23:28:29 +0000 (23:28 +0000)]
stmt.c (expand_asm, [...]): Make them static.

* stmt.c (expand_asm, expand_asm_operands): Make them static.
* tree.h: Remove the prototypes for expand_asm and
expand_asm_operands.

From-SVN: r90092

20 years agopasses.c (rest_of_compilation): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:26:35 +0000 (23:26 +0000)]
passes.c (rest_of_compilation): Make it static.

* passes.c (rest_of_compilation): Make it static.
* toplev.h: Remove the prototype for rest_of_compilation.

From-SVN: r90091

20 years agojump.c (cleanup_barriers): Use delete_insn instead of delete_barrier.
Kazu Hirata [Thu, 4 Nov 2004 23:24:46 +0000 (23:24 +0000)]
jump.c (cleanup_barriers): Use delete_insn instead of delete_barrier.

* jump.c (cleanup_barriers): Use delete_insn instead of
delete_barrier.
(delete_barrier): Remove.
* rtl.h: Remove the corresponding prototype.

From-SVN: r90090

20 years agoexpr.c (mostly_zero_p): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:22:30 +0000 (23:22 +0000)]
expr.c (mostly_zero_p): Make it static.

* expr.c (mostly_zero_p): Make it static.
* tree.h: Remove the prototype for mostly_zeros_p.

From-SVN: r90089

20 years ago* cfgrtl.c (force_nonfallthru_and_redirect): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:20:22 +0000 (23:20 +0000)]
* cfgrtl.c (force_nonfallthru_and_redirect): Make it static.

From-SVN: r90088

20 years agobuiltins.c (expand_builtin_return_addr, [...]): Make them static.
Kazu Hirata [Thu, 4 Nov 2004 23:17:44 +0000 (23:17 +0000)]
builtins.c (expand_builtin_return_addr, [...]): Make them static.

* builtins.c (expand_builtin_return_addr,
expand_builtin_longjmp, expand_builtin_trap): Make them static.
* expr.h: Remove the prototypes for expand_builtin_longjmp and
expand_builtin_trap.
* tree.h: Remove the prototype for expand_builtin_return_addr.

From-SVN: r90087

20 years agotree-cfg.c (find_taken_edge): Reject VAL begin NULL.
Kazu Hirata [Thu, 4 Nov 2004 22:07:39 +0000 (22:07 +0000)]
tree-cfg.c (find_taken_edge): Reject VAL begin NULL.

* tree-cfg.c (find_taken_edge): Reject VAL begin NULL.
* tree-ssa-ccp.c (visit_cond_stmt): Don't call find_taken_edge
with VAL being NULL.

From-SVN: r90083

20 years agopragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.
Eric Botcazou [Thu, 4 Nov 2004 22:07:17 +0000 (23:07 +0100)]
pragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.

* gcc.dg/pragma-align.c (sixteen): Use 8-byte alignment
on LP64 targets.

From-SVN: r90082

20 years agocfghooks.c (delete_basic_block): Remove code to truncate edge vectors.
Kazu Hirata [Thu, 4 Nov 2004 22:02:55 +0000 (22:02 +0000)]
cfghooks.c (delete_basic_block): Remove code to truncate edge vectors.

* cfghooks.c (delete_basic_block): Remove code to truncate
edge vectors.

From-SVN: r90081

20 years agoflow.c (init_propagate_block_info): Change the type of i to unsigned.
Andrew Pinski [Thu, 4 Nov 2004 20:35:57 +0000 (20:35 +0000)]
flow.c (init_propagate_block_info): Change the type of i to unsigned.

2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * flow.c (init_propagate_block_info): Change the type of i to
        unsigned.

From-SVN: r90080

20 years agointernal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.
Zack Weinberg [Thu, 4 Nov 2004 20:35:08 +0000 (20:35 +0000)]
internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.

* internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
as well.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
From-SVN: r90079

20 years agore PR tree-optimization/18184 (Tree optimizers ignore pointer modes)
Ulrich Weigand [Thu, 4 Nov 2004 20:11:13 +0000 (20:11 +0000)]
re PR tree-optimization/18184 (Tree optimizers ignore pointer modes)

ChangeLog:

PR tree-optimization/18184
* c-typeck.c (comptypes): Do not treat pointers of different
modes or alias-all flags as equivalent.
* tree-ssa.c (tree_ssa_useless_type_conversion_1): Likewise.

cp/ChangeLog:

PR tree-optimization/18184
* cp-objcp-common.c (cxx_types_compatible_p): Do not treat pointers
of different modes or alias-all flags as equivalent.
* typeck.c (comptypes): Likewise.

From-SVN: r90078

20 years agoconfigure.in (arm-*-oabi*, [...]): Remove.
Daniel Jacobowitz [Thu, 4 Nov 2004 17:55:50 +0000 (17:55 +0000)]
configure.in (arm-*-oabi*, [...]): Remove.

* configure.in (arm-*-oabi*, thumb-*-oabi*): Remove.
* configure: Regenerated.

From-SVN: r90072

20 years agoUpdate configure.in/configure.
H.J. Lu [Thu, 4 Nov 2004 17:03:59 +0000 (09:03 -0800)]
Update configure.in/configure.

From-SVN: r90068

20 years agore PR other/17783 (Top level configure doesn't support shared libraries enabled by...
H.J. Lu [Thu, 4 Nov 2004 17:01:41 +0000 (17:01 +0000)]
re PR other/17783 (Top level configure doesn't support shared libraries enabled by default)

2004-11-04  H.J. Lu  <hongjiu.lu@intel.com>

PR other/17783
* configure.in: Set up LD_LIBRARY_PATH by default for gcc.
* configure: Regenerated.

From-SVN: r90067

20 years agoasm-qual-1.c, [...]: New tests.
Joseph Myers [Thu, 4 Nov 2004 16:16:37 +0000 (16:16 +0000)]
asm-qual-1.c, [...]: New tests.

* gcc.dg/asm-qual-1.c, gcc.dg/declspec-15.c, gcc.dg/declspec-16.c,
gcc.dg/declspec-17.c, gcc.dg/empty-source-1.c,
gcc.dg/empty-source-2.c, gcc.dg/empty-source-3.c,
gcc.dg/extra-semi-1.c, gcc.dg/extra-semi-2.c,
gcc.dg/extra-semi-3.c, gcc.dg/gnu-cond-expr-1.c,
gcc.dg/gnu-cond-expr-2.c, gcc.dg/gnu-cond-expr-3.c,
gcc.dg/init-empty-1.c, gcc.dg/init-empty-2.c,
gcc.dg/init-empty-3.c, gcc.dg/noncompile/old-style-parm-1.c,
gcc.dg/noncompile/old-style-parm-2.c, gcc.dg/stmt-expr-1.c,
gcc.dg/stmt-expr-2.c, gcc.dg/stmt-expr-3.c: New tests.

From-SVN: r90066

20 years agogty.texi, [...]: Don't reference specific C parser files in examples.
Joseph Myers [Thu, 4 Nov 2004 16:11:30 +0000 (16:11 +0000)]
gty.texi, [...]: Don't reference specific C parser files in examples.

* doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don't
reference specific C parser files in examples.

From-SVN: r90065

20 years agoc90-restrict-1.c, [...]: Adjust expected messages for new parser.
Joseph Myers [Thu, 4 Nov 2004 16:01:39 +0000 (16:01 +0000)]
c90-restrict-1.c, [...]: Adjust expected messages for new parser.

* gcc.dg/c90-restrict-1.c, gcc.dg/c99-arraydecl-2.c,
gcc.dg/c99-func-2.c, gcc.dg/charset/asm2.c, gcc.dg/concat.c,
gcc.dg/cpp/19990413-1.c, gcc.dg/cpp/paste4.c,
gcc.dg/init-desig-obs-1.c, gcc.dg/noncompile/920721-2.c,
gcc.dg/noncompile/930622-2.c, gcc.dg/noncompile/940112-1.c,
gcc.dg/noncompile/950921-1.c, gcc.dg/switch-2.c,
objc.dg/naming-1.m, objc.dg/naming-2.m: Adjust expected messages
for new parser.

From-SVN: r90064

20 years agore PR rtl-optimization/15342 ([arm-linux] internal compiler error: in verify_local_li...
Richard Sandiford [Thu, 4 Nov 2004 14:08:16 +0000 (14:08 +0000)]
re PR rtl-optimization/15342 ([arm-linux] internal compiler error: in verify_local_live_at_start)

PR target/15342
* regrename.c (scan_rtx): Treat the destinations of SETs and CLOBBERs
as OP_INOUT if the instruction is predicated.

From-SVN: r90063

20 years agobitmap.h: Fix a comment typo.
Kazu Hirata [Thu, 4 Nov 2004 13:48:59 +0000 (13:48 +0000)]
bitmap.h: Fix a comment typo.

* bitmap.h: Fix a comment typo.  Follow spelling conventions.
* tree-vectorizer.c: Fix a comment typo.

From-SVN: r90062

20 years agosdbout.c (SDB_GENERATE_FAKE): Remove.
Kazu Hirata [Thu, 4 Nov 2004 13:23:23 +0000 (13:23 +0000)]
sdbout.c (SDB_GENERATE_FAKE): Remove.

* sdbout.c (SDB_GENERATE_FAKE): Remove.
(gen_fake_label): Don't use SDB_GENERATE_FAKE.
* system.h: Poison SDB_GENERATE_FAKE.
* doc/tm.texi (SDB_GENERATE_FAKE): Remove.

From-SVN: r90061

20 years ago* config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.
Ulrich Weigand [Thu, 4 Nov 2004 13:19:18 +0000 (13:19 +0000)]
* config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.

From-SVN: r90060

20 years agoDR 49, 100
Giovanni Bajo [Thu, 4 Nov 2004 13:07:35 +0000 (13:07 +0000)]
DR 49, 100

DR 49, 100
* cp-tree.h (TYPE_REF_OBJ_P): New macro.
(TYPE_PTR_P, TYPE_PTROB_P, TYPE_PTROBV_P, TYPE_PTRFN_P,
TYPE_REFFN_P): Document.
(fold_decl_constant_value): New prototype.
* pt.c (convert_nontype_argument_function): Rewrite and extract
parts into...
(fold_decl_constant_value, convert_nontype_argument_function): New.
(lookup_template_class): Add comment about useless double call.
* mangle.c (write_expression): Strip conversions before lowering
pointer to members.
* cvt.c (ocp_convert): Check LOOKUP_COMPLAIN for a pedwarn. Disallow
enum to enum conversion.

* g++.dg/template/nontype7.C: New test.
* g++.dg/template/nontype8.C: Likewise.
* g++.dg/template/nontype9.C: Likewise.
* g++.dg/template/nontype10.C: Likewise.
* g++.dg/tc1/dr49.C: Likewise.
* g++.dg/template/ptrmem8.C: Relax dg-error checks.
* g++.old-deja/g++.other/null1.C: Remove a buggy error check

From-SVN: r90059

20 years agolocale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact stric...
Paolo Carlini [Thu, 4 Nov 2004 11:29:30 +0000 (11:29 +0000)]
locale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact strict minimum number of times.

2004-11-04  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
Evaluate __beg == __end the exact strict minimum number of times.

From-SVN: r90058

20 years agore PR other/18277 (libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was...
Eric Botcazou [Thu, 4 Nov 2004 10:46:02 +0000 (11:46 +0100)]
re PR other/18277 (libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope)

PR other/18277
* gthr-posix.h (__gthread_recursive_mutex_init_function): Revert
2004-10-29 patch

From-SVN: r90057

20 years agopredict.c (propagate_freq): Make bitno unsigned.
Nathan Sidwell [Thu, 4 Nov 2004 10:10:29 +0000 (10:10 +0000)]
predict.c (propagate_freq): Make bitno unsigned.

* predict.c (propagate_freq): Make bitno unsigned. Move
npredecessors update out of loop.

From-SVN: r90056

20 years agobitmap.h (bitmap_iterator): Remove word_bit and bit fields.
Nathan Sidwell [Thu, 4 Nov 2004 09:12:12 +0000 (09:12 +0000)]
bitmap.h (bitmap_iterator): Remove word_bit and bit fields.

* bitmap.h (bitmap_iterator): Remove word_bit and bit
fields. Rename others.
(bmp_iter_common_next_1, bmp_iter_single_next_1,
bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next,
bmp_iter_and_not_next_1, bmp_iter_and_not_init,
bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init,
bmp_iter_and_next): Remove.
(bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init,
bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl):
New.
(EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP,
EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust.

From-SVN: r90055

20 years agobitmap.h (bitmap_a_or_b, [...]): Remove.
Nathan Sidwell [Thu, 4 Nov 2004 08:57:55 +0000 (08:57 +0000)]
bitmap.h (bitmap_a_or_b, [...]): Remove.

* bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
* df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
bitmap_and_into, bitmap_ior_into as appropriate.
* except.c (remove_eh_handler): Likewise.
* global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
* tree-dfa.c (mark_new_vars_to_rename): Likewise.
* tree-ssa-alias.c (merge_pointed_to_info): Likewise.
* tree-ssa-live.h (live_merge_and_clear): Likewise.
* tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
Likewise.

From-SVN: r90054

20 years agobitmap.c (bitmap_print): Make bitno unsigned.
Nathan Sidwell [Thu, 4 Nov 2004 08:41:16 +0000 (08:41 +0000)]
bitmap.c (bitmap_print): Make bitno unsigned.

* bitmap.c (bitmap_print): Make bitno unsigned.
* bt-load.c (clear_btr_from_live_range,
btr_def_live_range): Likewise.
* caller-save.c (save_call_clobbered_regs): Likewise.
* cfganal.c (compute_dominance_frontiers_1): Likewise.
* cfgcleanup.c (thread_jump): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* ddg.c (add_deps_for_use): Likewise.
* df.c (df_refs_update): Likewise.
* except.c (remove_eh_handler): Likewise.
* flow.c (verify_local_live_at_start, update_life_info,
initialize_uninitialized_subregs, propagate_one_insn,
free_propagate_block_info, propagate_block, find_use_as_address,
reg_set_to_hard_reg_set): Likewise.
* gcse.c (clear_modify_mem_tables): Likewise.
* global.c (global_conflicts, build_insn_chain): Likewise.
* ifcvt.c (dead_or_predicable): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (load_mems): Likewise.
* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
Likewise.
* ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
Likewise.
* reload1.c (order_regs_for_reload, finish_spills): Likewise.
* sched-deps.c (sched_analyze_insn, free_deps): Likewise.
* sched-rgn.c (propagate_deps
* tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
* tree-dfa.c (dump_dfa_stats
tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
Likewise.
* tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
free_temp_expr_table, find_replaceable_exprs): Likewise.
* tree-sra.c (scan_function, scalarize_parms): Likewise.
* tree-ssa-alias.c (init_alias_info,
compute_points_to_and_addr_escape,
compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
* tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
* tree-ssa-live.c (new_tree_live_info, live_worklist,
calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
sort_coalesce_list, build_tree_conflict_graph, dump_live_info
tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
add_call_read_ops): Likewise.
* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
* tree-ssa-live.h (num_var_partitions): Return unsigned.

From-SVN: r90053

20 years agore PR tree-optimization/18009 (ICE in vect_transform_stmt, at tree-vectorizer.c:2625...
Dorit Naishlos [Thu, 4 Nov 2004 05:26:53 +0000 (05:26 +0000)]
re PR tree-optimization/18009 (ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included))

        PR tree-optimization/18009
        * tree-vectorizer.h (enum dr_alignment_support): New type.
        (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed.
        (LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a
        single data_reference (instead of a varray of references).
        * tree-vectorizer.c (new_loop_vec_info): Likewise.
        (vect_gen_niters_for_prolog_loop): Likewise.
        (vect_update_inits_of_drs): Likewise.

        (vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to
        vect_enhance_data_refs_alignment.
        (vect_do_peeling_for_alignment): Likewise.
        (vect_enhance_data_refs_alignment): Decide if and by how much to peel;
        this functionality used to be in vect_analyze_data_refs_alignment.
        Also update DR_MISALIGNMENT due to peeling; this functionality used to
        be in vect_update_inits_of_drs and vect_do_peeling_for_alignment).
        (vect_analyze_data_refs_alignment): Decision on whether and by how much
        to peel moved to vect_enhance_data_refs_alignment. Call
        vect_supportable_dr_alignment.

        (vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE.
        (vect_compute_data_refs_alignment): Return bool. Consider return value
        of vect_compute_data_ref_alignment and return true/false accordingly.
        (vect_enhance_data_refs_alignment): Consider return value of
        vect_compute_data_refs_alignment and return true/false accordingly.

        (vect_supportable_dr_alignment): New function.
        (vectorizable_store): Call vect_supportable_dr_alignment.
        (vectorizable_load): Call vect_supportable_dr_alignment. Alignment
        support checks moved from here to vect_supportable_dr_alignment.

        (vect_transform_loop): Avoid 80 columns overflow.

From-SVN: r90051

20 years agotimevar.c (timevar_enable): Change from static.
Andrew Pinski [Thu, 4 Nov 2004 02:34:07 +0000 (02:34 +0000)]
timevar.c (timevar_enable): Change from static.

2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * timevar.c (timevar_enable): Change from
        static.
        (timevar_push): Rename to ...
        (timevar_push_1): this and remove the
        enabled check.
        (timevar_pop): Rename to ...
        (timevar_pop_1): this and remove the
        enabled check.
        * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops.
        (timevar_pop): New macro.
        (timevar_push): New macro.
        (timevar_enable): Declare.

From-SVN: r90050

20 years agodarwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries.
Andrew Pinski [Thu, 4 Nov 2004 02:30:26 +0000 (02:30 +0000)]
darwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries.

2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.h (REAL_LIBGCC_SPEC): Define to use shared
        libgcc for shared libraries.

From-SVN: r90049

20 years ago* g++.dg/rtti/tinfo1.C: Remove xfails.
Ben Elliston [Thu, 4 Nov 2004 02:22:45 +0000 (02:22 +0000)]
* g++.dg/rtti/tinfo1.C: Remove xfails.

From-SVN: r90048

20 years agopredict.c (struct block_info_def): Kill "tovisit" field.
Jeff Law [Thu, 4 Nov 2004 00:23:15 +0000 (17:23 -0700)]
predict.c (struct block_info_def): Kill "tovisit" field.

       * predict.c (struct block_info_def): Kill "tovisit" field.
        (propagate_freq): Accept new "tovisit" parameter.  Change
        read/write access methods for "tovisit" to check the "tovisit"
        bitmap instead of a bit in block_info_def.
        (estimate_loops_at_level): Allocate "tovisit" bitmap.  Pass
        it to propagate_freq.

From-SVN: r90046

20 years agoDaily bump.
GCC Administrator [Thu, 4 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90044.2

20 years agoDaily bump.
GCC Administrator [Thu, 4 Nov 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90043.2

20 years agojni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
Tom Tromey [Wed, 3 Nov 2004 22:53:20 +0000 (22:53 +0000)]
jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.

* jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
* include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
returns jobjectArray.
(_Jv_JNIEnv::NewObjectArray): Likewise.

From-SVN: r90041

20 years agoverify.cc (state::check_no_uninitialized_objects): Removed.
Tom Tromey [Wed, 3 Nov 2004 22:44:30 +0000 (22:44 +0000)]
verify.cc (state::check_no_uninitialized_objects): Removed.

* verify.cc (state::check_no_uninitialized_objects): Removed.
(push_jump): Updated.
(push_exception_jump): Likewise.
(handle_ret_insn): Likewise.
(handle_jsr_insn): Likewise.

From-SVN: r90040

20 years agoenum5.C (enum conditions): Move the packed attribute to the definition to satisfy...
Ben Elliston [Wed, 3 Nov 2004 22:28:59 +0000 (22:28 +0000)]
enum5.C (enum conditions): Move the packed attribute to the definition to satisfy the new C++ parser.

* g++.old-deja/g++.other/enum5.C (enum conditions): Move the
packed attribute to the definition to satisfy the new C++ parser.

From-SVN: r90039

20 years agostl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the...
Jonathan Wakely [Wed, 3 Nov 2004 22:22:34 +0000 (22:22 +0000)]
stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the prologue.

2004-11-03  Jonathan Wakely  <redi@gcc.gnu.org>

* include/bits/stl_numeric.h (partial_sum, adjacent_difference):
Avoid dereferencing two times __first in the prologue.

From-SVN: r90038

20 years agostdarg-2.c (foo): Split multiple invocations of va_arg.
Eric Botcazou [Wed, 3 Nov 2004 21:53:39 +0000 (22:53 +0100)]
stdarg-2.c (foo): Split multiple invocations of va_arg.

* gcc.c-torture/execute/stdarg-2.c (foo): Split multiple
invocations of va_arg.

From-SVN: r90037

20 years agos390-protos.h (s390_split_access_reg): Add prototype.
Ulrich Weigand [Wed, 3 Nov 2004 21:39:48 +0000 (21:39 +0000)]
s390-protos.h (s390_split_access_reg): Add prototype.

* config/s390/s390-protos.h (s390_split_access_reg): Add prototype.
* config/s390/s390.c (s390_split_access_reg): New function.
(regclass_map): Add access registers.
(get_thread_pointer): Use access register instead of UNSPEC_TP.
* config/s390/s390.h (FIRST_PSEUDO_REGISTER): Set to 38.
(ACCESS_REGNO_P, ACCESS_REG_P): New macros.
(TP_REGNUM): New define.
(FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
REG_ALLOC_ORDER): Add access registers.
(HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS,
CANNOT_CHANGE_MODE_CLASS): Support access registers.
(enum reg_class): Add ACCESS_REGS.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
(REG_CLASS_FROM_LETTER): Add 't' constraint.
(REGISTER_NAMES): Add access registers.
* config/s390/s390.md (UNSPEC_TP): Remove.
("*movdi_64"): Add access register alternatives.  Provide splitters
to split DImode access register <-> GPR moves into SImode moves.
("*movsi_zarch", "*movsi_esa"): Add access register alternatives.
("movstrictsi"): Likewise.
("get_tp_64", "get_tp_31"): Reimplement using access registers.
("set_tp_64", "set_tp_31"): Likewise.
("*set_tp"): New insn.

From-SVN: r90036

20 years agotree-phinodes.c (resize_phi_node): Copy only a portion of the PHI node currently...
Kazu Hirata [Wed, 3 Nov 2004 21:23:54 +0000 (21:23 +0000)]
tree-phinodes.c (resize_phi_node): Copy only a portion of the PHI node currently in use.

* tree-phinodes.c (resize_phi_node): Copy only a portion of
the PHI node currently in use.

From-SVN: r90035

20 years agore PR middle-end/18231 (Nested inline function not inlined)
Andrew Pinski [Wed, 3 Nov 2004 19:55:30 +0000 (19:55 +0000)]
re PR middle-end/18231 (Nested inline function not inlined)

2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/18231
        * tree.c (staticp) <case FUNCTION_DECL>: Nested functions are static
        also.

From-SVN: r90033

20 years agore PR tree-optimization/18270 (internal compiler error: in tree_redirect_edge_and_bra...
Andrew MacLeod [Wed, 3 Nov 2004 18:56:35 +0000 (18:56 +0000)]
re PR tree-optimization/18270 (internal compiler error: in tree_redirect_edge_and_branch, at tree-cfg.c:4146)

2004-11-03  Andrew MacLeod  <amacleod@redhat.com>

PR tree-optimization/18270
* tree-outof-ssa.c (analyze_edges_for_bb): If a block has any incoming
abnormal edges, simply commit any pending stmts on all incoming edges.

From-SVN: r90031

20 years agotree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not cause extra costs.
Ulrich Weigand [Wed, 3 Nov 2004 17:56:48 +0000 (17:56 +0000)]
tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not cause extra costs.

* tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not
cause extra costs.  Generate canonical RTL.

From-SVN: r90030

20 years agolambda-code.c (lambda_compute_auxillary_space): Update comments.
Daniel Berlin [Wed, 3 Nov 2004 17:32:34 +0000 (17:32 +0000)]
lambda-code.c (lambda_compute_auxillary_space): Update comments.

2004-11-02  Daniel Berlin  <dberlin@dberlin.org>

* lambda-code.c (lambda_compute_auxillary_space): Update comments.
(lambda_compute_target_space). Ditto.
* lambda.h (lambda_trans_matrix): Ditto.
(lambda_linear_expression): Ditto.
(lambda_body_vector): Ditto.
(lambda_loopnest): Ditto.
* tree-loop-linear.c (gather_interchange_stats): Combine tests,
update comments, and remove pointless addition of 0.
(linear_transform_loops): Update comments.

From-SVN: r90029

20 years agotree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of CEIL_MOD_EXPR.
Sebastian Pop [Wed, 3 Nov 2004 15:28:08 +0000 (16:28 +0100)]
tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of CEIL_MOD_EXPR.

       * tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of
       CEIL_MOD_EXPR.

From-SVN: r90028

20 years agostmt.c (expand_case): Speed up code to detect duplicate case label targets and count...
Jeff Law [Wed, 3 Nov 2004 15:04:56 +0000 (08:04 -0700)]
stmt.c (expand_case): Speed up code to detect duplicate case label targets and count unique case...

        * stmt.c (expand_case): Speed up code to detect duplicate case
        label targets and count unique case label targets.

From-SVN: r90027

20 years agostl_numeric.h: Trivial formatting fixes.
Paolo Carlini [Wed, 3 Nov 2004 10:14:24 +0000 (10:14 +0000)]
stl_numeric.h: Trivial formatting fixes.

2004-11-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_numeric.h: Trivial formatting fixes.

From-SVN: r90024

20 years agoc++config: Spacing.
Benjamin Kosnik [Wed, 3 Nov 2004 04:07:22 +0000 (04:07 +0000)]
c++config: Spacing.

2004-11-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Spacing.
* libsupc++/del_op.cc: Include c++config.h.
* libsupc++/del_opnt.cc: Same.
* libsupc++/del_opv.cc: Same.
* libsupc++/del_opvnt.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/new_opv.cc: Same.
* libsupc++/new_opvnt.cc: Same.

From-SVN: r90021

20 years ago* cppdefault.c, cppdefault.h, timevar.h: Update copyright.
Kazu Hirata [Wed, 3 Nov 2004 03:23:49 +0000 (03:23 +0000)]
* cppdefault.c, cppdefault.h, timevar.h: Update copyright.

From-SVN: r90020

20 years ago* bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.
Kazu Hirata [Wed, 3 Nov 2004 03:19:12 +0000 (03:19 +0000)]
* bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.

From-SVN: r90019

20 years ago* config/os/bsd/darwin/os_defines.h
Aaron W. LaFramboise [Wed, 3 Nov 2004 03:00:00 +0000 (21:00 -0600)]
* config/os/bsd/darwin/os_defines.h
(_GLIBCXX_WEAK_DEFINITION): Define.
* include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define.
* libsupc++/del_op.cc (operator delete(void *)): Use
_GLIBCXX_WEAK_DEFINITION.
* libsupc++/del_opnt.cc
(operator delete(void *, const std::nothrow_t&)): Same.
* libsupc++/del_opv.cc (operator delete[](void *)): Same.
* libsupc++/del_opvnt.cc
(operator delete[](void *, const std::nothrow_t&)): Same.
* libsupc++/new_op.cc (operator new(std::size_t)): Same.
* libsupc++/new_opnt.cc
(operator new(std::size_t, const std::nothrow_t&)): Same
* libsupc++/new_opv.cc (operator new[](std::size_t)): Same.
* libsupc++/new_opvnt.cc
(operator new[](std::size_t, const std::nothrow_t&)): Same.

From-SVN: r90017

20 years agore PR c++/18124 (ICE with invalid template template parameter)
Mark Mitchell [Wed, 3 Nov 2004 02:48:44 +0000 (02:48 +0000)]
re PR c++/18124 (ICE with invalid template template parameter)

PR c++/18124
* parser.c (cp_parser_type_parameter): Robustify.

PR c++/18155
* parser.c (cp_parser_single_declaration): Disallow template
typedefs.

PR c++/18177
* typeck.c (build_const_cast): Use error_operand_p.

PR c++/18124
* g++.dg/template/crash25.C: New test.

PR c++/18155
* g++.dg/template/typedef2.C: New test.
* g++.dg/parse/crash13.C: Adjust error markers.

PR c++/18177
* g++.dg/conversion/const3.C: New test.

From-SVN: r90016

20 years agotree-cfg.c (find_taken_edge): Abort if we are given a statement that is neither COND_...
Kazu Hirata [Wed, 3 Nov 2004 01:40:56 +0000 (01:40 +0000)]
tree-cfg.c (find_taken_edge): Abort if we are given a statement that is neither COND_EXPR nor SWITCH_EXPR.

* tree-cfg.c (find_taken_edge): Abort if we are given a
statement that is neither COND_EXPR nor SWITCH_EXPR.

From-SVN: r90015

20 years agolocale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact strict minim...
Paolo Carlini [Wed, 3 Nov 2004 01:05:08 +0000 (01:05 +0000)]
locale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact strict minimum number of times...

2004-11-02  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::_M_extract_int):
Evaluate *__beg the exact strict minimum number of times; likewise
for __beg != __end; slightly simplify main parsing loop.

From-SVN: r90012

20 years agore PR fortran/17535 (gfortran with module procedures)
Tobias Schlüter [Wed, 3 Nov 2004 00:54:02 +0000 (01:54 +0100)]
re PR fortran/17535 (gfortran with module procedures)

fortran/
PR fortran/17535
PR fortran/17583
PR fortran/17713
* module.c (write_symbol1): Set module_name for dummy arguments.

testsuite/
PR fortran/17535
PR fortran/17583
PR fortran/17713
* gfortran.dg/generic_[123].f90: New testcases.

From-SVN: r90011

20 years agoDaily bump.
GCC Administrator [Wed, 3 Nov 2004 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90009.2

20 years agoDaily bump.
GCC Administrator [Wed, 3 Nov 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90007.2

20 years agore PR libstdc++/17627 (M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h)
Benjamin Kosnik [Tue, 2 Nov 2004 23:56:56 +0000 (23:56 +0000)]
re PR libstdc++/17627 (M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h)

2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>
       Lothar Werzinger  <lothar@xcerla.com>

PR libstdc++/17627
* src/debug.cc: Include concurrence, use mutexes.
(_Safe_iterator_base::_M_attach): Here.
(_Safe_iterator_base::_M_detach): Here.

Co-Authored-By: Lothar Werzinger <lothar@xcerla.com>
From-SVN: r90004

20 years ago* de.po: Update.
Joseph Myers [Tue, 2 Nov 2004 23:17:42 +0000 (23:17 +0000)]
* de.po: Update.

From-SVN: r90002

20 years agofold-const.c (fold): Reassociate also (x - mult) + mult and (mult - x) + mult.
Zdenek Dvorak [Tue, 2 Nov 2004 21:31:20 +0000 (22:31 +0100)]
fold-const.c (fold): Reassociate also (x - mult) + mult and (mult - x) + mult.

* fold-const.c (fold): Reassociate also (x - mult) + mult and
(mult - x) + mult.  Cast operands of expression after applying
distributive law to the correct types.  Apply distributive law
to a * c - b * c for all non-float types.

From-SVN: r90000

20 years agoconfigure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't want...
Geoffrey Keating [Tue, 2 Nov 2004 21:16:51 +0000 (21:16 +0000)]
configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't want to run them...

* configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just
because we don't want to run them now; instead, set them to
stmp-install-fixproto or stmp-install-fixinc.
* Makefile.in (stmp-install-fixproto): New.
(stmp-install-fixinc): New.
* configure: Regenerate.

From-SVN: r89999

20 years agoflow.c (init_propagate_block_info): Use bitmap_empty_p on result of bitmap_xor.
Nathan Sidwell [Tue, 2 Nov 2004 20:30:50 +0000 (20:30 +0000)]
flow.c (init_propagate_block_info): Use bitmap_empty_p on result of bitmap_xor.

        * flow.c (init_propagate_block_info): Use bitmap_empty_p on result
        of bitmap_xor.

From-SVN: r89998

20 years agoc-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.
Ziemowit Laski [Tue, 2 Nov 2004 20:29:21 +0000 (20:29 +0000)]
c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.

[gcc/ChangeLog]
2004-11-02  Ziemowit Laski  <zlaski@apple.com>

* c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.
(c_types_compatible_p): Move function definition...
* c-objc-common.c (c_types_compatible_p): ...here.
* c-objc-common.h (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from
c-lang.c.

[gcc/cp/ChangeLog]
2004-11-02  Ziemowit Laski  <zlaski@apple.com>

* cp-lang.c (cxx_types_compatible_p): Remove prototype and definition.
(LANG_HOOKS_TYPES_COMPATIBLE_P): Move to cp-objcp-common.h.
* cp-objcp-common.c (cxx_types_compatible_p): Moved definition here
from cp-lang.c.
* cp-objcp-common.h (cxx_types_compatible_p): Moved prototype here
from cp-lang.c.
(LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from cp-lang.c.

From-SVN: r89997

20 years agore PR libstdc++/17922 (Spurious warnings about std::ios_base::seekdir)
Benjamin Kosnik [Tue, 2 Nov 2004 19:00:19 +0000 (19:00 +0000)]
re PR libstdc++/17922 (Spurious warnings about std::ios_base::seekdir)

2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/17922
* include/bits/ios_base.h : Add enum values.
* testsuite/testsuite_hooks.h (bitmask_operators): Add function.
* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
* testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
* testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
* testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
* testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.

* config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
* src/ios.cc: Same.

* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

From-SVN: r89996

20 years agocfgloop.h (struct loop): Update comment.
Steven Bosscher [Tue, 2 Nov 2004 17:59:46 +0000 (17:59 +0000)]
cfgloop.h (struct loop): Update comment.

* cfgloop.h (struct loop): Update comment.
* cse.c (cse_main): Remove obsolete comment.

* expr.h (gen_cond_trap): Move prototype under functions provided
by optabs.c.
(canonicalize_condition, get_condition): Move to...
* rtl.h (canonicalize_condition, get_condition): ...here.
(branch_target_load_optimize): Add comment that this function is
in bt-load.c.
* loop.c (canonicalize_condition, get_condition): Move to...
* rtlanal.c (canonicalize_condition, get_condition): ...here.
* sched-deps.c (get_condition): Rename to sched_get_condition.
(add_dependence): Update this caller.

From-SVN: r89995

20 years agore PR java/17265 (Libjava doesn't build)
Bryce McKinlay [Tue, 2 Nov 2004 16:52:55 +0000 (16:52 +0000)]
re PR java/17265 (Libjava doesn't build)

2004-11-02  Bryce McKinlay  <mckinlay@redhat.com>

PR java/17265
* class.c: Reinstate 2004-08-18 patch.
(make_local_function_alias): Don't create an alias for extern (native)
functions.

From-SVN: r89993

20 years agouninit-C.c: Remove special-casing for SPARC.
Eric Botcazou [Tue, 2 Nov 2004 16:43:15 +0000 (17:43 +0100)]
uninit-C.c: Remove special-casing for SPARC.

* gcc.dg/uninit-C.c: Remove special-casing for SPARC.
* gcc.dg/uninit-H.c: Define to "sp" on SPARC.

From-SVN: r89991

20 years agore PR tree-optimization/16808 (verify_ssa failed: Missing definition for SSA_NAME)
Andrew Pinski [Tue, 2 Nov 2004 16:38:18 +0000 (16:38 +0000)]
re PR tree-optimization/16808 (verify_ssa failed: Missing definition for SSA_NAME)

2004-11-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/16808
        * gcc.c-torture/compile/pr16808.c: New test.

2004-11-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/16808
        * tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure
        that the vops get marked for renaming.

From-SVN: r89990

20 years agoCorrect the date in my changelog entry
Andrew Pinski [Tue, 2 Nov 2004 16:32:55 +0000 (08:32 -0800)]
Correct the date in my changelog entry

From-SVN: r89989

20 years agore PR ada/18228 (Ada uses the wrong file ending for its shared library on darwin)
Andrew Pinski [Tue, 2 Nov 2004 16:30:47 +0000 (16:30 +0000)]
re PR ada/18228 (Ada uses the wrong file ending for its shared library on darwin)

2004-10-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR ada/18228
        * Makefile.in (darwin): Set soext to .dylib.

From-SVN: r89988

20 years agos390.md ("movcc"): Set type attribute.
Andreas Krebbel [Tue, 2 Nov 2004 15:11:43 +0000 (15:11 +0000)]
s390.md ("movcc"): Set type attribute.

2004-11-02  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md ("movcc"): Set type attribute.

From-SVN: r89986

20 years agotree-phinodes.c (add_phi_arg): Add an assertion that the edge already exists.
Kazu Hirata [Tue, 2 Nov 2004 13:23:05 +0000 (13:23 +0000)]
tree-phinodes.c (add_phi_arg): Add an assertion that the edge already exists.

* tree-phinodes.c (add_phi_arg): Add an assertion that the
edge already exists.

From-SVN: r89985

20 years agotree-phinodes.c (remove_phi_arg_num): Do not zero the element that's being removed.
Kazu Hirata [Tue, 2 Nov 2004 13:18:32 +0000 (13:18 +0000)]
tree-phinodes.c (remove_phi_arg_num): Do not zero the element that's being removed.

* tree-phinodes.c (remove_phi_arg_num): Do not zero the
element that's being removed.

From-SVN: r89984

20 years agotree-ssa-threadupdate.c (copy_phis_to_block): Install PHI arguments using PENDING_STMT.
Kazu Hirata [Tue, 2 Nov 2004 12:51:09 +0000 (12:51 +0000)]
tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI arguments using PENDING_STMT.

* tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI
arguments using PENDING_STMT.
(thread_block): Call copy_phis_to_block after redirecting an
edge.

From-SVN: r89983

20 years agobitmap.h (bitmap_and, [...]): Produce void.
Nathan Sidwell [Tue, 2 Nov 2004 10:00:09 +0000 (10:00 +0000)]
bitmap.h (bitmap_and, [...]): Produce void.

* bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl,
bitmap_and_compl_into, bitmap_ior, bitmap_iot_into,
bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void.
(bitmap_ior_and_compl_into): Produce bool.
(bitmap_union_of_diff): Rename to ...
(bitmap_ior_and_compl): ... here. Produce bool.
* bitmap.c (bitmap_ior_and_compl_into): Return bool. Use
bitmap_operation directly.
(bitmap_union_of_diff): Rename to ...
(bitmap_ior_and_compl): ... here. Return bool, use
bitmap_operation directly.
* df.c (df_rd_transfer_function): Use bitmap_ior_and_compl.
(df_ru_transfer_function, df_lr_transfer_function): Likewise.
* global.c (modify_bb_reg_pav): Likewise.

From-SVN: r89982

20 years agobitmap.h (bitmap_equal_p): Return bool.
Nathan Sidwell [Tue, 2 Nov 2004 09:56:12 +0000 (09:56 +0000)]
bitmap.h (bitmap_equal_p): Return bool.

* bitmap.h (bitmap_equal_p): Return bool.
(bitmap_intersect_p, bitmap_intersect_compl_p): Declare.
* bitmap.c (bitmap_equal_p): Return bool. Compare directly.
(bitmap_intersect_p, bitmap_intersect_compl_p): New.
* flow.c (calculate_global_regs_live): Use bitmap_intersect_p and
bitmap_intersect_compl_p.
* ifcvt (dead_or_predicable): Likewise.

From-SVN: r89981

20 years agore PR rtl-optimization/17104 (Non-optimal code generation for bitfield initialization)
Nathan Sidwell [Tue, 2 Nov 2004 09:50:35 +0000 (09:50 +0000)]
re PR rtl-optimization/17104 (Non-optimal code generation for bitfield initialization)

.: PR rtl-optimization/17104
* config/rs6000/rs6000.c (rs6000_emit_move): Don't wrap small
loads in zero_extend.
testsuite:
PR rtl-optimization/17104
* gcc.dg/ppc-bitfield1.c: New.

From-SVN: r89980

20 years agore PR debug/18242 (Dignostic for unsupported debug format is incorrect)
Danny Smith [Tue, 2 Nov 2004 02:41:36 +0000 (02:41 +0000)]
re PR debug/18242 (Dignostic for unsupported debug format is incorrect)

PR debug/18242
* toplev.c (debug_type[_names): Remove "dwarf-1".

From-SVN: r89977

20 years agotimevar.h (timevar_get): Remove.
Ben Elliston [Tue, 2 Nov 2004 00:49:14 +0000 (00:49 +0000)]
timevar.h (timevar_get): Remove.

* timevar.h (timevar_get): Remove.
* timevar.c (timevar_get): Remove unused function.

From-SVN: r89975

20 years ago* doc/include/texinfo.tex: Update from Texinfo CVS.
Joseph Myers [Tue, 2 Nov 2004 00:39:52 +0000 (00:39 +0000)]
* doc/include/texinfo.tex: Update from Texinfo CVS.

From-SVN: r89973

20 years agocppdefault.h (cpp_SYSROOT): Remove.
Ben Elliston [Tue, 2 Nov 2004 00:31:44 +0000 (00:31 +0000)]
cppdefault.h (cpp_SYSROOT): Remove.

* cppdefault.h (cpp_SYSROOT): Remove.
* cppdefault.c (cpp_SYSROOT): Likewise.

From-SVN: r89972

20 years agointrinsic.c (check_intrinsic_standard): Include error locus.
Paul Brook [Tue, 2 Nov 2004 00:27:13 +0000 (00:27 +0000)]
intrinsic.c (check_intrinsic_standard): Include error locus.

* intrinsic.c (check_intrinsic_standard): Include error locus.
Remove VLA.
(gfc_intrinsic_func_interface, gfc_intrinsic_sub_interface): Pass
locus to check_intrinsic_standard.

From-SVN: r89971

20 years agore PR tree-optimization/16447 (out of ssa generates bloated code)
Andrew MacLeod [Tue, 2 Nov 2004 00:23:04 +0000 (00:23 +0000)]
re PR tree-optimization/16447 (out of ssa generates bloated code)

2004-11-01  Andrew MacLeod  <amacleod@redhat.com>

PR tree-optimization/16447
* tree-cfg.c (bsi_commit_one_edge_insert): Rename from
bsi_commit_edge_inserts_1, and make funtion external.  Return new block.
(bsi_commit_edge_inserts): Use renamed bsi_commit_one_edge_insert.
* tree-optimize.c (pass_cleanup_cfg_post_optimizing): Enable listing.
* tree-flow.h (bsi_commit_one_edge_insert): Extern decl.
* tree-outof-ssa.c (rewrite_trees): Don't commit edges here.
(same_stmt_list_p): New.  Return TRUE if edge is to be forwarded.
(identical_copies_p): New.  Return true is two copies are the same.
(identical_stmt_lists_p): New.  Return true if stmt lists are the same.
(analyze_edges_for_bb): New.  Determine how best to insert edge stmts
for a basic block.
(perform_edge_inserts): New.  Determine what to do with all stmts that
have been inserted on edges.
(remove_ssa_form):  Analyze and commit edges from here.

From-SVN: r89970

20 years agoDaily bump.
GCC Administrator [Tue, 2 Nov 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89968.2

20 years agoDaily bump.
GCC Administrator [Tue, 2 Nov 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89967.2

20 years agore PR libstdc++/18185 ([3.4 only] Unhandled exceptions leak)
Momchil Velikov [Mon, 1 Nov 2004 22:47:33 +0000 (00:47 +0200)]
re PR libstdc++/18185 ([3.4 only] Unhandled exceptions leak)

2004-11-01  Momchil Velikov  <velco@fadata.bg>

PR libstdc++/18185
* libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled
exceptions.
* testsuite/thread/18185.cc: New.

From-SVN: r89962

20 years agore PR tree-optimization/18232 (../../gcc/gcc/tree-ssa-operands.c:1624: warning: ...
Andrew Pinski [Mon, 1 Nov 2004 22:24:52 +0000 (22:24 +0000)]
re PR tree-optimization/18232 (../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function)

2004-11-01  Andrew Pinski  <pinskia@physics.uc.edu>

        PR bootstrap/18232
        * bitmap.h (bmp_iter_end_p): Take a const pointer instead of a struct.
        (EXECUTE_IF_SET_IN_BITMAP): Update call to bmp_iter_end_p.
        (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
        (EXECUTE_IF_AND_IN_BITMAP): Likewise.

From-SVN: r89961

20 years agofix typo
Jason Merrill [Mon, 1 Nov 2004 21:40:42 +0000 (16:40 -0500)]
fix typo

From-SVN: r89960

20 years agoconfigure.ac: (target_alias): Default to $host_alias, not $target.
Andreas Schwab [Mon, 1 Nov 2004 21:27:26 +0000 (21:27 +0000)]
configure.ac: (target_alias): Default to $host_alias, not $target.

* configure.ac: (target_alias): Default to $host_alias, not
$target.
* configure: Regenerated.

From-SVN: r89959

20 years ago* gcc.dg/uninit-H.c (ASM): Define to "$sp" on MIPS targets.
Richard Sandiford [Mon, 1 Nov 2004 20:24:10 +0000 (20:24 +0000)]
* gcc.dg/uninit-H.c (ASM): Define to "$sp" on MIPS targets.

From-SVN: r89958

20 years agomangle6.C: Run for all MIPS targets.
Richard Sandiford [Mon, 1 Nov 2004 20:10:13 +0000 (20:10 +0000)]
mangle6.C: Run for all MIPS targets.

* g++.dg/abi/mangle6.C: Run for all MIPS targets.  Provide dummy
strings for 32-bit code.

From-SVN: r89957

20 years agore PR c/18239 (ICE in get_parm_info with werid attribute)
Joseph Myers [Mon, 1 Nov 2004 19:49:55 +0000 (19:49 +0000)]
re PR c/18239 (ICE in get_parm_info with werid attribute)

PR c/18239
* c-decl.c (get_parm_info): Allow FUNCTION_DECLs to appear amongst
parameter declarations.

testsuite:
* gcc.dg/parm-impl-decl-1.c, gcc.dg/parm-impl-decl-2.c: New tests.

From-SVN: r89956

20 years agoinclhack.def (stdio_va_list): Break out clients from here...
Mike Stump [Mon, 1 Nov 2004 19:01:15 +0000 (19:01 +0000)]
inclhack.def (stdio_va_list): Break out clients from here...

        * inclhack.def (stdio_va_list): Break out clients from here...
        (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
        included or ifdef va_start.

From-SVN: r89954

20 years agos390.c (regclass_map): Put reg 33 (cc) to CC_REGS group.
Andreas Krebbel [Mon, 1 Nov 2004 18:50:20 +0000 (18:50 +0000)]
s390.c (regclass_map): Put reg 33 (cc) to CC_REGS group.

2004-11-01  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (regclass_map): Put reg 33 (cc) to CC_REGS group.
(s390_secondary_input_reload_class)
(s390_secondary_output_reload_class): Use GENERAL_REGS to reload a cc
register.
(s390_expand_cmpmem): Enable cmpmem implementation.
* config/s390/s390.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
Added three new classes: CC_REGS, ADDR_CC_REGS, GENERAL_CC_REGS.
(REG_CLASS_FROM_LETTER): New constraint 'c' added.
* config/s390/s390.md ("movcc"): New insn pattern.
* doc/md.texi: Document 'c' constraint for s390.

From-SVN: r89953

20 years agore PR c++/18064 (gcc accepts different pointer types as covariant return types)
Nathan Sidwell [Mon, 1 Nov 2004 18:24:33 +0000 (18:24 +0000)]
re PR c++/18064 (gcc accepts different pointer types as covariant return types)

cp:
PR c++/18064
* search.c (check_final_overrider): Deprecate gnu covariant extension.
doc:
PR c++/18064
* doc/extend.texi (Deprecated Features): Deprecate G++ covariant
extension.
testsuite:
PR c++/18064
* g++.old-deja/g++.mike/p811.C: Avoid covariant extension.

From-SVN: r89946