aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-07-23intl.c (gcc_init_libintl): Use PACKAGE for the text domain.Matthias Klose5-2/+19
2004-07-23 Matthias Klose <doko@debian.org> intl.c (gcc_init_libintl): Use PACKAGE for the text domain. configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE. config.h: Regenerate. configure: Likewise. From-SVN: r85072
2004-07-23dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on generated ↵Mark Mitchell8-541/+379
SYMBOL_REFs for labels. * dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on generated SYMBOL_REFs for labels. * config/darwin-protos.h (machopic_validate_stub_or_non_lazy_ptr): Change prototype. (machopic_stub_name): Remove. (machopic_indirection_name): New function. (machopic_mcount_stub_name): Likewise. (machopic_classify_name): Remove. (machopic_function_base_sym): New function. (machpoic_classify_symbol): Likewise. (machopic_classify_ident): Remove. (machopic_define_ident): Likewise. (machopic_define_name): Likewise. (machopic_name_defined_p): Likewise. (machopic_ident_defined_p): Likewise. (darwin_strip_name_encoding): Likewise. (machopic_define_symbol): New function. * config/darwin.c (hashtab.h): Include. (machopic_defined_list): Remove. (machopic_classify_ident): Likewise. (machopic_classify_name): Likewise. (machopic_ident_defined_p): Likewise. (machopic_define_ident): Likewise. (machopic_define_name): Likewise. (machopic_symbol_defined_p): New function. (machopic_classify_symbol): Likewise. (machopic_data_defined_p): Use machopic_classify_symbol. (machopic_define_symbol): New function. (machopic_function_base_sym): New function. (machopic_non_lazy_pointers): Remove. (machopic_non_lazy_ptr_name): Likewise. (machopic_stubs): Likewise. (machopic_stub_name): Likewise. (NON_LAZY_POINTER_SUFFIX): New macro. (STUB_SUFFIX): Likewise. (machopic_indirection): New structure. (machopic_indirections): New variable. (machopic_indirection_hash): New function. (machopic_indirection_eq): Likewise. (machopic_indirection_name): Likewise. (machopic_mcount_stub_name): New function. (machopic_validate_stub_or_non_lazy_pointer): Reimplement to use hash table. (machopic_indirect_data_reference): Rework to use new functions. (machopic_indirect_call_target): Likewise. (machopic_legitimize_pic_address): Likewise. (machopic_output_indirection): New function. (machopic_finish): Use it. (machopic_operand_p): Rework to use new functions. (darwin_encode_seciton_info): Use SYMBOL_REF_FLAGS. (darwin_strip_name_encoding): Remove. (update_non_lazy_ptrs): Remove. (update_stubs): Likewise. (darwin_non_lazy_pcrel): Use new functions. * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Likewise. (ASM_OUTPUT_LABELREF): Likewise. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. (MACHO_SYMBOL_FLAG_VARIABLE): New macro. (MACHO_SYMBOL_FLAG_DEFINED): Likewise. (TARGET_STRIP_NAME_ENCODING): Do not use darwin_strip_name_encoding. (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Do not use darwin_strip_name_encoding. * config/i386/darwin.h (FUNCTION_PROFILER): Use machopic_mcount_stub_name. * config/i386/i386.c (x86_output_mi_thunk): Use machopic_indirection_name, not machopic_stub_name. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Use machopic_function_base_sym. (print_operand): Use machopic_classify_symbol. (rs6000_emit_prologue): Use machopic_function_base_sym. (output_profile_hook): Do not use machopic_stub_name. (macho_branch_isalnds): Do not use darwin_strip_name_encoding. From-SVN: r85071
2004-07-23Daily bump.GCC Administrator1-1/+1
From-SVN: r85067
2004-07-22* g++.dg/parse/attr2.C: Simplify.Mark Mitchell2-4/+5
From-SVN: r85060
2004-07-22re PR c/7284 (incorrectly simplifies leftshift followed by signed power-of-2 ↵Joseph Myers4-1/+40
division) PR c/7284 * fold-const.c (extract_muldiv_1): Do not treat signed left shift as multiplication. testsuite: * gcc.c-torture/execute/pr7284-1.c: New test. From-SVN: r85059
2004-07-22implement-c.texi: New file.Joseph Myers5-401/+413
* doc/implement-c.texi: New file. * doc/extend.texi (C Implementation): Move to there. * doc/gcc.texi: Include implement-c.texi. * Makefile.in (TEXI_GCC_FILES): Add implement-c.texi. From-SVN: r85058
2004-07-22integrate.c (copy_decl_for_inlining): Remove invisible reference handling.Jason Merrill3-41/+11
* integrate.c (copy_decl_for_inlining): Remove invisible reference handling. * tree-inline.c (setup_one_parameter): Likewise. From-SVN: r85057
2004-07-22fix typo.Brian Booth1-1/+0
From-SVN: r85056
2004-07-22tree-ssa-ccp.c (latticevalue): Add UNKNOWN_VAL.Brian Booth4-41/+244
* tree-ssa-ccp.c (latticevalue): Add UNKNOWN_VAL. (substitute_and_fold): Propigate into VUSE operands when possible. (visit_phi_node): Handle UNKNOWN_VAL latticevalue. (cp_lattice_meet): Handle merging of latticevalues when UNKNOWN_VAL is present. (visit_stmt): Visit assignments with V_MUST_DEFs. (visit_assignment): Gather ccp information for V_MUST_DEF operands. (ccp_fold): Deal with RHS' that are constant and virtual. (evaluate_stmt): Handle UNKNOWN_VAL likely values. (dump_lattice_value): Dump UNKNOWN_VAL latticevalues. (initialize): Mark statements with V_MUST_DEFs as VARYING only if the V_MUST_DEF operand is VARYING. Fix comment and include VOPS when computing immediate uses. (set_lattice_value): Disallow a UNKNOWN_VAL->UNDEFINED state transition. (replace_vuse_in): New function. (likely_value): Add check of vuse operands. (get_default_value): Set the default value of virtually defined variables to UKNOWN_VAL instead of VARYING. testsuite: * gcc.dg/tree-ssa/20040721-1.c: New test. From-SVN: r85055
2004-07-22* expr.c (emit_push_insn): Don't use set_mem_attributes.Richard Henderson2-19/+18
From-SVN: r85054
2004-07-22tree-ssa-live.c (create_ssa_var_map): Avoid defined-but-not-used variables ↵Richard Henderson2-16/+15
due to conditional compilation. * tree-ssa-live.c (create_ssa_var_map): Avoid defined-but-not-used variables due to conditional compilation. From-SVN: r85053
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