aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-07-22tree-into-ssa.c (set_livein_block): Fix typo in comment.Diego Novillo12-170/+730
* tree-into-ssa.c (set_livein_block): Fix typo in comment. (rewrite_ssa_into_ssa): Start iterating over SSA names at 1. Release SSA names that have been re-renamed. * tree-phinodes.c (make_phi_node): Set same TREE_TYPE as the variable. * tree-ssa-alias.c (init_alias_info): If aliases have been computed before, clear existing alias information. (create_name_tags): Do no fixup PT_ANYTHING pointers. If the new name tag for a pointer is different than the one it had before, mark the old tag for renaming. (replace_may_alias): New function. (group_aliases): Call it. (setup_pointers_and_addressables): Always call get_tmt_for. (maybe_create_global_var): Don't create .GLOBAL_VAR more than once. (set_pt_anything): New local function. (set_pt_malloc): New local function. (merge_pointed_to_info): Don't merge pointed-to variables from the original pointer if the destination is pointing to an unknown location. (add_pointed_to_expr): Call set_pt_anything and set_pt_malloc. (add_pointed_to_var): Do not add a variable to the points-to set if the pointer is already pointing to anywhere. (collect_points_to_info_r): If the defining statement is a PHI node, only merge pointed-to information if the argument has already been visited. (get_tmt_for): Only create a new tag if the pointer didn't have one already. (dump_alias_info): Emit more information. (dump_points_to_info_for): Likewise. * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't try to get the annotation of an SSA_NAME. * tree-ssa-operands.c (add_stmt_operand): Only check for empty alias sets when checking is enabled. * tree-ssa-pre.c (need_eh_cleanup): New local variable. (eliminate): Mark basic blocks that will need EH information cleaned up. (init_pre): Split ENTRY_BLOCK->0 if block 0 has more than one predecessor. Initialize need_eh_cleanup. (fini_pre): Call tree_purge_all_dead_eh_edges and cleanup_tree_cfg if needed. Free need_eh_cleanup. * tree-ssa.c (verify_ssa_name): New function. (verify_def): Call it. Re-arrange to avoid printing too many error messages. (verify_use): Likewise. (verify_phi_args): Likewise. (verify_flow_insensitive_alias_info): New function. (verify_flow_sensitive_alias_info): New function. (verify_alias_info): New function. (verify_ssa): Call verify_alias_info. Clear TREE_VISITED on all the SSA_NAMEs before scanning the program. Re-arrange to avoid printing too many error messages. * tree-ssanames.c (make_ssa_name): Clear SSA_NAME_IN_FREE_LIST. (release_ssa_name): Never release a default definition. (release_defs): New function. * tree.h: Declare it. * tree-ssa-dce.c (remove_dead_stmt): Call it. * tree-ssa.c (walk_use_def_chains_1): Add new argument IS_DFS. If true, do a depth-first search. Do a breadht-first search, otherwise. (walk_use_def_chains): Add new argument IS_DFS. Update all users. * tree-flow.h (walk_use_def_chains): Update prototype. From-SVN: r85052
2004-07-22* pt.cNathan Sidwell4-0/+32
cp: * pt.c (get_template_base): Check type is completable. testsuite: * g++.dg/template/crash20.c: New. From-SVN: r85050
2004-07-222004-07-22 David Billinghurst (David.Billinghurst@riotinto.com)David Billinghurst3-1/+91
* gfortran.dg/g77/970625-2.f Copy from g77.f-torture/execute. Add dg-run directive. Declare variables as required. * gfortran.dg/g77/README: Update From-SVN: r85049
2004-07-22cris.md: Tweak formatting.Hans-Peter Nilsson2-314/+290
* config/cris/cris.md: Tweak formatting. (asrandb, asrandw, lsrandb, lsrandw, moversideqi, movemsideqi) (mover2side, moverside, movemside, movei, op3, andu): Replace live define_peephole:s with define_peephole2 near-equivalents. Delete the rest. ("*mov_sidesisf_biap"): Rename from "*mov_sidesi_biap". Match all word-size modes. ("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"): Similar for "*mov_sidesi", "*mov_sidesi_biap_mem" and "*mov_sidesi_mem" respectively. From-SVN: r85041
2004-07-22cris-peep2-xsrand.c, [...]: New tests.Hans-Peter Nilsson4-0/+111
* gcc.dg/cris-peep2-xsrand.c, gcc.dg/cris-peep2-andu1.c, gcc.dg/cris-peep2-andu2.c: New tests. From-SVN: r85040
2004-07-22tree-cfg.c (gimplify_val): Move from tree-complex.c.Paolo Bonzini18-173/+827
2004-07-22 Paolo Bonzini <bonzini@gnu.org> * tree-cfg.c (gimplify_val): Move from tree-complex.c. (gimplify_build1): Move from tree-complex.c do_unop. (gimplify_build2): Move from tree-complex.c do_binop. (gimplify_build3): New. * tree-complex.c (gimplify_val, do_unop, do_binop): Remove. Adjust throughout to call the functions above. * tree-flow.h: Declare the functions above. * tree-nested.c (gimplify_val): Rename to... (tsi_gimplify_val): ... this. * Makefile.in (tree_complex.o): Update dependencies. (stor-layout.o): Depend on regs.h. * c-common.c (handle_vector_size_attribute): Update for vector types without corresponding vector modes. * expr.c (expand_expr): Treat VECTOR_CST's like CONSTRUCTORS if a corresponding vector mode is not available. * print-tree.c (print_node): Print nunits for vector types * regclass.c (have_regs_of_mode): New. (init_reg_sets_1): Initialize it and use it instead of allocatable_regs_of_mode. * regs.h (have_regs_of_mode): Declare it. * stor-layout.c (layout_type): Pick a mode for vector types. * tree-complex.c (build_word_mode_vector_type, tree_vec_extract, build_replicated_const, do_unop, do_binop, do_plus_minus, do_negate, expand_vector_piecewise, expand_vector_parallel, expand_vector_addition, expand_vector_operations_1, expand_vector_operations, tree_lower_operations, pass_lower_vector_ssa, pass_pre_expand): New. (expand_complex_operations, pass_lower_complex): Remove. * tree-optimize.c (init_tree_optimization_passes): Adjust pass ordering for changes in tree-complex.c. * tree-pass.h: Declare new passes. * tree.c (finish_vector_type): Remove. (make_vector_type): New. (build_vector_type_for_mode, build_vector_type): Rewritten. * tree.def (VECTOR_TYPE): Document where the number of subparts is stored. * tree.h (TYPE_VECTOR_SUBPARTS): Use TYPE_PRECISION field. (make_vector): Remove declaration. From-SVN: r85039
2004-07-21gimple-low.c (expand_var_p): Don't look at TREE_ADDRESSABLE...Richard Henderson7-60/+97
* gimple-low.c (expand_var_p): Don't look at TREE_ADDRESSABLE, TREE_THIS_VOLATILE, may_aliases, or optimization level. (remove_useless_vars): Dump debugging info. (expand_used_vars): Move ... * cfgexpand.c (expand_used_vars): ... here. Make static. * tree-flow-inline.h (set_is_used): New. (set_default_def): Use get_var_ann. * tree-flow.h: Update decls. * tree-ssa-live.c (mark_all_vars_used_1, mark_all_vars_used): New. (create_ssa_var_map): Use it. * tree-ssa.c (set_is_used): Remove. From-SVN: r85034
2004-07-22* gdbinit.in: Set a breakpoint on internal_error.Ben Elliston2-0/+7
From-SVN: r85031
2004-07-21cfgexpand.c (expand_gimple_tailcall): Fix case where we need to create a new ↵Richard Henderson2-55/+78
basic block. * cfgexpand.c (expand_gimple_tailcall): Fix case where we need to create a new basic block. From-SVN: r85029
2004-07-22Daily bump.GCC Administrator1-1/+1
From-SVN: r85027
2004-07-22re PR c/15052 (gcc frontend accepts mismatched function declaration/defintion)Joseph Myers10-41/+82
PR c/15052 * c-decl.c (grokdeclarator): Only pedwarn for qualified void return type on function definitions. Move other warnings for qualified return type to -Wreturn-type. Do not condition any such warnings on -pedantic. Update comments. (start_function): Only copy function type from previous prototype declaration if return types are compatible. * c-typeck.c (function_types_compatible_p): Don't condition warning for incompatibility of volatile qualifiers on the return type on -pedantic. Update comment. * doc/invoke.texi (-Wreturn-type, -Wextra): Update. testsuite: * gcc.dg/noreturn-5.c: Test qualifiers on function type instead of on return type. * gcc.dg/qual-return-1.c: Use -Wreturn-type. Update expected messages. * gcc.dg/qual-return-2.c: Update expected messages. * gcc.dg/qual-return-3.c, gcc.dg/qual-return-4.c: New tests. From-SVN: r85024
2004-07-22c-typeck.c (set_init_index): Require designator to be of integer type.Joseph Myers6-1/+37
* c-typeck.c (set_init_index): Require designator to be of integer type. testsuite: * gcc.dg/c99-init-3.c, gcc.dg/gnu99-init-2.c: New tests. * gcc.dg/noncompile/921102-1.c: Update expected error message. From-SVN: r85023
2004-07-22re PR c/11250 (-pedantic accepts `char a[] = ("x");')Joseph Myers6-80/+216
PR c/11250 * c-parse.in (init): Change to exprtype. (primary): Set original_code for STRING to STRING_CST. Call maybe_warn_string_init for compound literals. (initdcl, notype_initdcl): Call maybe_warn_string_init. (initval): Update. * c-tree.h (maybe_warn_string_init): New. (pop_init_level, process_init_element): Use struct c_expr. (struct c_expr): Update comment. * c-typeck.c (maybe_warn_string_init): New function. (digest_init): Call it. Additional parameter strict_string. All callers changed. (output_init_element): Likewise. (struct constructor_stack): Use struct c_expr for replacement_value. (really_start_incremental_init, push_init_level): Update. (pop_init_level): Update. Return struct c_expr. (process_init_level): Update. Take struct c_expr argument. testsuite: * gcc.dg/init-string-1.c: New test. From-SVN: r85022
2004-07-21sparc.c (sparc_rtx_costs): Fix typo in previous commit.David S. Miller2-1/+6
2004-07-21 David S. Miller <davem@nuts.davemloft.net> * config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous commit. From-SVN: r85020
2004-07-21builtins.c (expand_builtin_setjmp_receiver): Fix comment for code removal.Eric Christopher10-512/+294
2004-07-21 Eric Christopher <echristo@redhat.com> * builtins.c (expand_builtin_setjmp_receiver): Fix comment for code removal. * c-decl.c (pop_scope): Ditto. * calls.c (expand_call): Remove call to current_nesting_level, update comment accordingly. Remove calls to expand_start_target_temps and expand_end_target_temps. * cfgexpand.c (construct_init_block): Remove call to expand_start_bindings_and_block. (construct_exit_block): Remove call to expand_end_bindings. * expr.c (safe_from_p): Remove BIND_EXPR handling. (expand_expr_real_1): Ditto. Fix formatting. (expand_vars): Delete. * stmt.c (POPSTACK): Remove block_stack. (stmt_status): Remove x_block_stack. (block_stack): Delete. (expand_start_bindings_and_block): Ditto. (expand_start_target_temps): Ditto. (expand_end_target_temps): Ditto. (current_nesting_level): Ditto. (warn_about_unused_variables): Ditto. (expand_end_bindings): Ditto. * tree.h: Remove declarations for above. 2004-07-21 Eric Christopher <echristo@redhat.com> * decl.c (poplevel): Inline unused variable checking. Change formatting. From-SVN: r85019
2004-07-21rtl.h (insn_note): Remove NOTE_INSN_PREDICTION.Steven Bosscher9-226/+20
* rtl.h (insn_note): Remove NOTE_INSN_PREDICTION. * rtl.c (note_insn_name): Likewise. * print-rtl.c (print_rtx): Don't print it. * cfgrtl.h (can_delete_note_p): Don't handle it. (rtl_delete_block): Likewise. * passes.c (rest_of_handle_guess_branch_prob): Remove. (rest_of_compilation): Don't call it. * predict.c (process_note_predictions, process_note_prediction, note_prediction_to_br_prob): Remove. * basic-block.c (note_prediction_to_br_prob): Remove prototype. * stmt.c (return_prediction): Remove. (expand_value_return): Don't call it. Don't add prediction notes for return statements. From-SVN: r85016
2004-07-21var-tracking.c (vt_find_locations): Set the in_pending bitmap at once.Josef Zlomek2-5/+7
* var-tracking.c (vt_find_locations): Set the in_pending bitmap at once. From-SVN: r85012
2004-07-21PR java/16431.Andrew Haley1-0/+1
From-SVN: r85010
2004-07-21verify.c (verify_jvm_instructions): Comment change only.Andrew Haley7-111/+339
2004-07-20 Andrew Haley <aph@redhat.com> * verify.c (verify_jvm_instructions): Comment change only. * typeck.c (build_java_array_type): Add size field to array name. * java-tree.h (LOCAL_SLOT_P): New. (update_aliases): Add PC argument. (pushdecl_function_level): New function. * java-gimplify.c (java_gimplify_expr): Handle VAR_DECL, MODIFY_EXPR, and SAVE_EXPR. (java_gimplify_modify_expr): New function. * expr.c (push_type_0): Call find_stack_slot() to create temporary. (expand_iinc): Pass PC to update_aliases(). (STORE_INTERNAL): Likewise. (process_jvm_instruction): Likewise. * decl.c (base_decl_map): New variable. (uniq): New variable. (update_aliases): Rewrite with more thorough checking. (debug_variable_p): New function. (push_jvm_slot): Don't initialize local variable. Don't pushdecl. (check_local_named_variable): Delete whole function. (initialize_local_variable): New function. (check_local_unnamed_variable): Add checks and comments. (find_local_variable): Rewrite. (java_replace_reference): New function. (function_binding_level): New variable. (pushdecl_function_level): New function. (maybe_pushlevels): Set DECL_LOCAL_END_PC. (maybe_pushlevels): Call pushdecl() on each of the new decls. (start_java_method): Reset uniq. Create base_decl_map. Set function_binding_level. (end_java_method): Null unused fields to save memory. From-SVN: r85009
2004-07-21Fix formatting.Paul Brook1-22/+22
From-SVN: r85004
2004-07-21c-common.c (vector_types_convertible_p): Use vector types' TYPE_SIZE and ↵Paolo Bonzini8-85/+171
TREE_TYPE instead of their mode. 2004-07-21 Paolo Bonzini <bonzini@gnu.org> * c-common.c (vector_types_convertible_p): Use vector types' TYPE_SIZE and TREE_TYPE instead of their mode. * convert.c (convert_to_integer): Likewise. (convert_to_vector): Likewise. * fold-const.c (fold_convert): Likewise. * varasm.c (output_constant): Likewise. * expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE. Allow a VECTOR_TYPE initializer to be made of several vectors. For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling of cleared and need_to_clear, and use fold_convert. * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for integer vectors. cp/ChangeLog: 2004-07-21 Paolo Bonzini <bonzini@gnu.org> * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for integer vectors. From-SVN: r85002
2004-07-21c-common.c (vector_types_convertible_p): Use vector types' TYPE_SIZE and ↵Paolo Bonzini1-0/+16
TREE_TYPE instead of their mode. 2004-07-21 Paolo Bonzini <bonzini@gnu.org> * c-common.c (vector_types_convertible_p): Use vector types' TYPE_SIZE and TREE_TYPE instead of their mode. * convert.c (convert_to_integer): Likewise. (convert_to_vector): Likewise. * fold-const.c (fold_convert): Likewise. * varasm.c (output_constant): Likewise. * expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE. Allow a VECTOR_TYPE initializer to be made of several vectors. For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling of cleared and need_to_clear, and use fold_convert. * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for integer vectors. cp/ChangeLog: 2004-07-21 Paolo Bonzini <bonzini@gnu.org> * c-typeck.c (build_binary_op): Do not use RDIV_EXPR for integer vectors. From-SVN: r85000
2004-07-21re PR middle-end/15345 ([non-unit-at-a-time] unreferenced nested inline ↵Jakub Jelinek2-0/+79
functions not optimized away) PR middle-end/15345 PR c/16450 * gcc.dg/torture/nested-fn-1.c: New test. From-SVN: r84999
2004-07-20re PR target/16559 (Incorrect code generated for function pointer)H.J. Lu2-0/+42
2004-07-20 H.J. Lu <hongjiu.lu@intel.com> PR target/16559 * gcc.dg/ia64-fptr-1.c: New file. From-SVN: r84995
2004-07-20Add parens so emacs will properly indent.Richard Kenner1-2/+2
From-SVN: r84994
2004-07-20cfgexpand.c (expand_gimple_cond_expr, [...]): Split,Richard Henderson2-147/+171
* cfgexpand.c (expand_gimple_cond_expr, expand_gimple_tailcall): Split, (expand_gimple_basic_block): out from here. Renamed from expand_block. From-SVN: r84993
2004-07-20sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL.David S. Miller2-0/+7
2004-07-20 David S. Miller <davem@nuts.davemloft.net> * config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL. From-SVN: r84992
2004-07-20re PR target/16557 (bootstrap failure of gcc-4.0-20040711 snapshot on ↵Andrew Pinski2-4/+10
i686-apple-darwin7.2.1) 2004-07-20 Andrew Pinski <apinski@apple.com> PR target/16557 * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ... (ASM_SPEC): here. From-SVN: r84991
2004-07-20fold-const.c (operand_equal_p): Temporarily support NULL args.Richard Kenner2-3/+31
* fold-const.c (operand_equal_p): Temporarily support NULL args. (operand_equal_p, case ARRAY_REF): Compare args 2 and 3. (operand_equal_p, case COMPONENT_REF): Likewise, for arg 2. From-SVN: r84990
2004-07-20Fix typo in comment.Richard Kenner1-1/+1
From-SVN: r84989
2004-07-21Daily bump.GCC Administrator1-1/+1
From-SVN: r84987
2004-07-21re PR c++/14497 (Accepts invalid specialization of member template missing ↵Giovanni Bajo5-69/+34
"template<>") PR c++/14497 * pt.c (check_explicit_specialization): Remove extension to accept specializations without template headers. Fall-through to normal processing. PR c++/14497 * g++.dg/template/spec16.C: New test. * g++.old-deja/g++.robertl/eb118.C: Remove. From-SVN: r84983
2004-07-21re PR c++/509 (G++ forbids template specialization as ambiguous)Giovanni Bajo4-4/+98
PR c++/509 * pt.c (determine_specialization): New parameter template_count. Disambiguate between member templates and member functions counting the template headers. (check_explicit_specialization): Update caller. (tsubst_friend_function): Likewise. PR c++/509 * g++.dg/template/spec15.C: New test. From-SVN: r84982
2004-07-21README: UpdateDavid Billinghurst1-59/+59
2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com) * gfortran.dg/g77/README: Update From-SVN: r84981
2004-07-21Copy cases from g77.f-torture/execute and add dg-run directive.David Billinghurst44-0/+1827
2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com) Copy cases from g77.f-torture/execute and add dg-run directive. Other changes as noted. * gfortran.dg/g77/13037.f * gfortran.dg/g77/1832.f * gfortran.dg/g77/19981119-0.f * gfortran.dg/g77/19990313-0.f * gfortran.dg/g77/19990313-1.f * gfortran.dg/g77/19990313-2.f * gfortran.dg/g77/19990313-3.f * gfortran.dg/g77/19990419-1.f * gfortran.dg/g77/19990826-0.f * gfortran.dg/g77/19990826-2.f * gfortran.dg/g77/20000503-1.f * gfortran.dg/g77/20001111.f * gfortran.dg/g77/20010116.f * gfortran.dg/g77/20010426-1.f: Renamed from 20010426-1.f * gfortran.dg/g77/20010430.f * gfortran.dg/g77/6177.f * gfortran.dg/g77/947.f * gfortran.dg/g77/970816-3.f * gfortran.dg/g77/971102-1.f * gfortran.dg/g77/980520-1.f * gfortran.dg/g77/980628-0.f * gfortran.dg/g77/980628-1.f * gfortran.dg/g77/980628-10.f * gfortran.dg/g77/980628-2.f * gfortran.dg/g77/980628-3.f * gfortran.dg/g77/980628-7.f * gfortran.dg/g77/980628-8.f * gfortran.dg/g77/980628-9.f * gfortran.dg/g77/980701-0.f * gfortran.dg/g77/980701-1.f * gfortran.dg/g77/cabs.f * gfortran.dg/g77/claus.f * gfortran.dg/g77/complex_1.f * gfortran.dg/g77/cpp3.F: Renamed from cpp3.F * gfortran.dg/g77/dcomplex.f * gfortran.dg/g77/dnrm2.f: Add dg-warnings as required. * gfortran.dg/g77/f90-intrinsic-mathematical.f * gfortran.dg/g77/f90-intrinsic-numeric.f * gfortran.dg/g77/int8421.f * gfortran.dg/g77/labug1.f * gfortran.dg/g77/large_vec.f * gfortran.dg/g77/le.f * gfortran.dg/g77/short.f * gfortran.dg/g77/README: Update From-SVN: r84980
2004-07-20* config/arm/arm.c (thumb_expand_prologue): Remove bogus GEN_INT.Paul Brook2-2/+6
From-SVN: r84979
2004-07-20cp-tree.def (TINST_LEVEL): Make it an 'x' node.Steven Bosscher8-11/+59
* cp-tree.def (TINST_LEVEL): Make it an 'x' node. * cp-tree.h (tinst_level_t): New tree type. (union lang_tree_node): Handle it. (TINST_LOCATION): New accessor macro. (make_tinst_level): New prototype. * cp-lang.c (cp_tree_size): Handle TINST_LEVEL. * decl.c (cp_tree_node_structure): Likewise. * error.c (print_instantiation_full_context): Use TINST_LOCATION. (print_instantiation_partial_context): Likewise. * pt.c (pop_tinst_level): Likewise. (push_tinst_level): Use make_tinst_level. * tree.c (make_tinst_level): New function. (cp_walk_subtrees): Walk TINST_DECL for a TINST_LEVEL node. From-SVN: r84977
2004-07-20rtl.h (plus_constant): Delete.Zack Weinberg9-39/+47
* rtl.h (plus_constant): Delete. (plus_constant_wide): Rename to plus_constant. (plus_constant_for_output_wide): Delete vestigial prototype. (GEN_INT): Remove unnecessary cast. * tree.h (build_int_2, size_int_type): Delete. (build_int_2_wide): Rename to build_int_2. (size_int_wide): Rename to size_int_kind. (size_int_type_wide): Rename to size_int_type. (size_int, ssize_int, bitsize_int, sbitsize_int): Use size_int_kind. Remove unnecessary cast. * tree.c (build_int_2_wide): Rename build_int_2; update comment. * explow.c (plus_constant_wide): Rename plus_constant; update comment. * fold-const.c (size_int_wide): Rename size_int_kind. Use size_int_type. (size_int_type_wide): Rename size_int_type. (int_const_binop): Use size_int_type. * c-lex.c (interpret_integer): Use build_int_2. * final.c (split_double): Remove unnecessary casts. * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use build_int_2. From-SVN: r84976
2004-07-20gimplify.c (is_gimple_tmp_var): Move to tree-gimple.c.Richard Henderson4-15/+44
* gimplify.c (is_gimple_tmp_var): Move to tree-gimple.c. (gimplify_compound_lval): Use is_gimple_tmp_reg. * tree-gimple.c (is_gimple_tmp_var): Move from gimplify.c. (is_gimple_tmp_reg): New. * tree-gimple.h (is_gimple_tmp_reg): Declare. From-SVN: r84975
2004-07-20tree-pretty-print.c (dump_generic_node): Dump CALL_EXPR_HAS_RETURN_SLOT_ADDR.Richard Henderson2-0/+7
* tree-pretty-print.c (dump_generic_node): Dump CALL_EXPR_HAS_RETURN_SLOT_ADDR. From-SVN: r84974
2004-07-20vec.h (VEC_T_length, [...]): Use unsigned, not size_t.Nathan Sidwell3-41/+51
* vec.h (VEC_T_length, VEC_T_index, VEC_T_iterate, VEC_T_truncate, VEC_T_replace, VEC_T_quick_insert, VEC_T_safe_insert, VEC_T_ordered_remove, VEC_T_unordered_remove): Use unsigned, not size_t. (struct VEC): Use unsigned for num and alloc. * vec.c (struct vec_prefix): Likewise. (vec_o_reserve): Adjust. From-SVN: r84973
2004-07-20tree-mudflap.c (mf_set_options_fndecl): New tree.Frank Ch. Eigler2-10/+43
2004-07-20 Frank Ch. Eigler <fche@redhat.com> * tree-mudflap.c (mf_set_options_fndecl): New tree. (mudflap_init): Set it. (mudflap_register_call): Remove __mf_init call. (mudflap_finish_file): Emit call to __mf_init here. Emit a call to to pass "-ignore-reads" option to libmudflap if needed. From-SVN: r84972
2004-07-20re PR c++/14607 (Duplicate symbol "vtable for node" in files div.o and env.o)John David Anglin7-40/+206
PR c++/14607 * config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY): Define. (MAKE_DECL_ONE_ONLY): Undefine. * pa-protos.h (som_text_section_asm_op, one_only_readonly_data_section, readonly_data, one_only_data_section, forget_section): New prototypes. * pa.c (pa_init_machine_status, som_text_section_asm_op): New functions. (pa_select_section): Add one-only (COMDAT) support. * pa.h (struct machine_function): Define. * som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete. (TEXT_SECTION_ASM_OP): Call som_text_section_asm_op. (DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP, ONE_ONLY_TEXT_SECTION_ASM_OP, ONE_ONLY_READONLY_DATA_SECTION_ASM_OP, ONE_ONLY_DATA_SECTION_ASM_OP): New defines. (EXTRA_SECTIONS): Add in_one_only_readonly_data and in_one_only_data. (EXTRA_SECTION_FUNCTIONS): Rework to use individual function macros. (READONLY_DATA_FUNCTION, ONE_ONLY_READONLY_DATA_SECTION_FUNCTION, ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New defines for EXTRA_SECTION_FUNCTIONS. * doc/install.texi: Update binutils requirements. From-SVN: r84970
2004-07-20* parser.c (cp_parser_simple_type_specifier): Fix typo.Mark Mitchell2-2/+5
From-SVN: r84966
2004-07-20re PR c++/16637 (syntax error on valid input code)Mark Mitchell4-2/+23
PR c++/16637 * parser.c (cp_parser_simple_type_specifier): Do not record usage of globally-qualified names. PR c++/16637 * g++.dg/parse/lookup4.C: New test. From-SVN: r84965
2004-07-20re PR c++/16175 (Wrong type reported in diagnostic)Kriang Lerdsuwanakij4-0/+33
PR c++/16175 * error.c (dump_type) <BOUND_TEMPLATE_TEMPLATE_PARM case>: Output cv qualifier. * g++.dg/template/ttp10.C: New test. From-SVN: r84961
2004-07-20re PR c++/16623 (g++ ICE in tsubst_decl:6081)Mark Mitchell5-4/+26
PR c++/16623 * cp-tree.h (lang_type_class): Add lazy_assignment_op. (CLASSTYPE_LAZY_ASSIGNMENT_OP): New macro. * class.c (add_implicitly_declared_members): Use CLASSTYPE_LAZY_ASSIGNMENT_OP. * method.c (lazily_declare_fn): Clear CLASSTYPE_LAZY_ASSIGNMENT_OP. * search.c (lookup_fnfields_1): Check it. From-SVN: r84956
2004-07-20* dbxout.c (dbxout_type): Fix printf format.Nathan Sidwell2-2/+3
From-SVN: r84955
2004-07-20* gcc.dg/pr12625-1.c: New test.Joseph Myers2-0/+17
From-SVN: r84953
2004-07-20tree.h (binfo_member): Remove.Nathan Sidwell6-33/+9
.: * tree.h (binfo_member): Remove. * tree.c (binfo_member): Remove. cp: * cp-tree.h (vec_binfo_member): Remove. * tree.c (vec_binfo_member): Remove. From-SVN: r84951