summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* PR c/7284jsm282004-07-224-1/+40
| | | | | | | | | | | * fold-const.c (extract_muldiv_1): Do not treat signed left shift as multiplication. testsuite: * gcc.c-torture/execute/pr7284-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85059 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/implement-c.texi: New file.jsm282004-07-225-401/+413
| | | | | | | | | * doc/extend.texi (C Implementation): Move to there. * doc/gcc.texi: Include implement-c.texi. * Makefile.in (TEXI_GCC_FILES): Add implement-c.texi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85058 138bc75d-0d04-0410-961f-82ee72b054a4
* * integrate.c (copy_decl_for_inlining): Remove invisible referencejason2004-07-223-41/+11
| | | | | | | | handling. * tree-inline.c (setup_one_parameter): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85057 138bc75d-0d04-0410-961f-82ee72b054a4
* fix typo.bbooth2004-07-221-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85056 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-ccp.c (latticevalue): Add UNKNOWN_VAL.bbooth2004-07-224-41/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85055 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (emit_push_insn): Don't use set_mem_attributes.rth2004-07-222-19/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85054 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-live.c (create_ssa_var_map): Avoid defined-but-not-usedrth2004-07-222-16/+15
| | | | | | | variables due to conditional compilation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85053 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-into-ssa.c (set_livein_block): Fix typo in comment.dnovillo2004-07-2212-170/+730
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85052 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.cnathan2004-07-224-0/+32
| | | | | | | | | | cp: * pt.c (get_template_base): Check type is completable. testsuite: * g++.dg/template/crash20.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85050 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-22 David Billinghurst (David.Billinghurst@riotinto.com)billingd2004-07-223-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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85049 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.md: Tweak formatting.hp2004-07-222-314/+290
| | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85041 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/cris-peep2-xsrand.c, gcc.dg/cris-peep2-andu1.c,hp2004-07-224-0/+111
| | | | | | | gcc.dg/cris-peep2-andu2.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85040 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-22 Paolo Bonzini <bonzini@gnu.org>bonzini2004-07-2218-173/+827
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85039 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimple-low.c (expand_var_p): Don't look at TREE_ADDRESSABLE,rth2004-07-227-60/+97
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85034 138bc75d-0d04-0410-961f-82ee72b054a4
* * gdbinit.in: Set a breakpoint on internal_error.bje2004-07-222-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85031 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfgexpand.c (expand_gimple_tailcall): Fix case where we needrth2004-07-222-55/+78
| | | | | | | to create a new basic block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85029 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-07-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85027 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/15052jsm282004-07-2210-41/+82
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85024 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c (set_init_index): Require designator to be of integerjsm282004-07-216-1/+37
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85023 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/11250jsm282004-07-216-80/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85022 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 David S. Miller <davem@nuts.davemloft.net>davem2004-07-212-1/+6
| | | | | | | | * config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85020 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 Eric Christopher <echristo@redhat.com>echristo2004-07-2110-512/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85019 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.h (insn_note): Remove NOTE_INSN_PREDICTION.steven2004-07-219-226/+20
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85016 138bc75d-0d04-0410-961f-82ee72b054a4
* * var-tracking.c (vt_find_locations): Set the in_pending bitmap atzlomek2004-07-212-5/+7
| | | | | | | once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85012 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/16431.aph2004-07-211-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85010 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-20 Andrew Haley <aph@redhat.com>aph2004-07-217-111/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85009 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix formatting.pbrook2004-07-211-22/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85004 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 Paolo Bonzini <bonzini@gnu.org>bonzini2004-07-218-85/+171
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85002 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 Paolo Bonzini <bonzini@gnu.org>bonzini2004-07-211-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85000 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/15345jakub2004-07-212-0/+79
| | | | | | | | PR c/16450 * gcc.dg/torture/nested-fn-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84999 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-20 H.J. Lu <hongjiu.lu@intel.com>hjl2004-07-212-0/+42
| | | | | | | | PR target/16559 * gcc.dg/ia64-fptr-1.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84995 138bc75d-0d04-0410-961f-82ee72b054a4
* Add parens so emacs will properly indent.kenner2004-07-211-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84994 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfgexpand.c (expand_gimple_cond_expr, expand_gimple_tailcall): Split,rth2004-07-212-147/+171
| | | | | | | (expand_gimple_basic_block): out from here. Renamed from expand_block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84993 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-20 David S. Miller <davem@nuts.davemloft.net>davem2004-07-212-0/+7
| | | | | | | | * config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84992 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-20 Andrew Pinski <apinski@apple.com>pinskia2004-07-212-4/+10
| | | | | | | | | PR target/16557 * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ... (ASM_SPEC): here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84991 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (operand_equal_p): Temporarily support NULL args.kenner2004-07-212-3/+31
| | | | | | | | (operand_equal_p, case ARRAY_REF): Compare args 2 and 3. (operand_equal_p, case COMPONENT_REF): Likewise, for arg 2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84990 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in comment.kenner2004-07-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84989 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-07-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84987 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14497giovannibajo2004-07-215-69/+34
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84983 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/509giovannibajo2004-07-214-4/+98
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84982 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com)billingd2004-07-211-59/+59
| | | | | | | * gfortran.dg/g77/README: Update git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84981 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com)billingd2004-07-2144-0/+1827
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84980 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (thumb_expand_prologue): Remove bogus GEN_INT.pbrook2004-07-202-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84979 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.def (TINST_LEVEL): Make it an 'x' node.steven2004-07-208-11/+59
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84977 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.h (plus_constant): Delete.zack2004-07-209-39/+47
| | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84976 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimplify.c (is_gimple_tmp_var): Move to tree-gimple.c.rth2004-07-204-15/+44
| | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84975 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-pretty-print.c (dump_generic_node): Dumprth2004-07-202-0/+7
| | | | | | | CALL_EXPR_HAS_RETURN_SLOT_ADDR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84974 138bc75d-0d04-0410-961f-82ee72b054a4
* * vec.h (VEC_T_length, VEC_T_index, VEC_T_iterate, VEC_T_truncate,nathan2004-07-203-41/+51
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84973 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-20 Frank Ch. Eigler <fche@redhat.com>fche2004-07-202-10/+43
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84972 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14607danglin2004-07-207-40/+206
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84970 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud