aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-11-05expmed.c (extract_force_align_mem_bit_field): New.Richard Henderson2-1/+153
* expmed.c (extract_force_align_mem_bit_field): New. (extract_split_bit_field): Call it. From-SVN: r90150
2004-11-05ia64.md (UNSPEC_SHRP): New.Richard Henderson3-0/+104
* ia64.md (UNSPEC_SHRP): New. (dshift_count_operand): New. (ashrti3, ashrti3_internal, lshrti3, lshrti3_internal, shrp): New. * ia64.c (rtx_needs_barrier): Handle UNSPEC_SHRP. From-SVN: r90149
2004-11-05be.po, [...]: Update.Joseph Myers12-30450/+28533
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update. From-SVN: r90148
2004-11-05c-typeck.c (output_init_element): Return early if value is error_mark_node.Joseph Myers4-1/+18
* c-typeck.c (output_init_element): Return early if value is error_mark_node. testsuite: * gcc.dg/init-undef-1.c: New test. From-SVN: r90146
2004-11-05Stop staying that -fno-guess-branch-probability produces random code changes.James E Wilson2-13/+13
* invoke.texi (-fno-guess-branch-probability): Rewrite. From-SVN: r90144
2004-11-05Fix 4 execute/va-arg-26.c gcc testsuite failures.James E Wilson2-1/+6
* config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change 1 to UNSPEC_GR_SPILL. From-SVN: r90141
2004-11-05* gfortranspec.c (lang_specific_driver): Change year to 2004.Tobias Schlüter2-1/+5
From-SVN: r90138
2004-11-05re PR fortran/18111 (spurious warnings with -W -Wunused)Tobias Schlüter2-0/+9
PR fortran/18111 * trans-decl.c (create_function_arglist): Set DECL_ARTIFICIAL for hidden parameters. From-SVN: r90136
2004-11-0520040910-1.c, [...]: Adjust expected messages for new parser.Joseph Myers9-16/+24
* gcc.dg/20040910-1.c, gcc.dg/cpp/digraph2.c, gcc.dg/cpp/direct2.c, gcc.dg/cpp/direct2s.c, gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/951123-1.c, gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c: Adjust expected messages for new parser. From-SVN: r90128
2004-11-05s390.c (s390_fixed_condition_code_regs): New function.Andreas Krebbel2-0/+20
2004-11-05 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_fixed_condition_code_regs): New function. (TARGET_FIXED_CONDITION_CODE_REGS): Macro defined. From-SVN: r90126
2004-11-05re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed)Tobias Schlüter2-2/+8
PR fortran/15164 * trans-decl.c (gfc_finish_var_decl): Don't declare arguments to module procedures as if they were module variables. From-SVN: r90125
2004-11-05bitmap.h (enum bitmap_bits): Remove.Nathan Sidwell3-161/+535
* bitmap.h (enum bitmap_bits): Remove. (bitmap_operation): Remove. (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor, bitmap_xor_into): Prototype. * bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New. (bitmap_operation): Remove. (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor, bitmap_xor_into): New. (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust. From-SVN: r90121
2004-11-05re PR tree-optimization/18307 (merge_pointed_to_info called incorrectly)Nathan Sidwell2-2/+17
PR tree-optimization/18307 * tree-ssa-alias.c (merge_pointed_to_info): Protected against DEST and ORIG being the same node. From-SVN: r90120
2004-11-05Index: ChangeLogGeoffrey Keating8-741/+41
2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.def: Build fixincludes for the host, too. * Makefile.in: Regenerate. * configure.in (host_tools): Add fixincludes. * configure: Regenerate. Index: fixincludes/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * configure.ac: Add code to determine noncanonical_target, local_prefix, gcc_version; process mkheaders.in to make mkheaders. * configure: Regenerate. * fixinc.in: Move here from gcc/; fix many cross-hosting bugs. * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in. * mkheaders.in: Move here from gcc/; remove some unnecessary macros; update for changes to fixinc.in. * Makefile.in: Add many new macros. (install): New target. (mkheaders): New target. (fixinc.sh): New target. (all): Add mkheaders and fixinc.sh. * README-fixinc: Move here from gcc/. Index: gcc/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory. (install-mkheaders): Install the version built for the host, not for the build machine. * configure.ac: Always run fixincludes. (all_outputs): Remove mkheaders. * configure: Regenerate. * fixinc.in: Move to fixincludes/. * mkfixinc.sh: Likewise. * mkheaders.in: Likewise. * README-fixinc: Likewise. From-SVN: r90117
2004-11-05re PR target/18263 ([3.4 only] Build broken for ARC.)Ramana Radhakrishnan2-1/+7
PR target/18263 * config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the equivalent on the A4. From-SVN: r90105
2004-11-05c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", ↵Joseph Myers24-352/+365
"e.g." and "i.e.". * doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi, doc/cppopts.texi, doc/extend.texi, doc/fragments.texi, doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi, doc/implement-c.texi, doc/install.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/passes.texi, doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi, doc/trouble.texi: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.". Use @code in various places where appropriate. From-SVN: r90101
2004-11-05c-tree.texi, [...]: Remove trailing whitespace.Joseph Myers12-108/+115
* doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing whitespace. From-SVN: r90100
2004-11-05arm.c (arm_handle_notshared_attribute): New function.Mark Mitchell5-0/+79
* config/arm/arm.c (arm_handle_notshared_attribute): New function. * doc/extend.texi: Document "notshared" attribute. * testsuite/g++.dg/ext/visibility/symbian1.C: New test. From-SVN: r90099
2004-11-05Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90096.2
2004-11-04tree-phinodes.c (make_phi_node): Make it static.Kazu Hirata3-2/+6
* tree-phinodes.c (make_phi_node): Make it static. * tree.h: Remove the prototypes for make_phi_node. From-SVN: r90093
2004-11-04stmt.c (expand_asm, [...]): Make them static.Kazu Hirata3-4/+8
* 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
2004-11-04passes.c (rest_of_compilation): Make it static.Kazu Hirata3-2/+6
* passes.c (rest_of_compilation): Make it static. * toplev.h: Remove the prototype for rest_of_compilation. From-SVN: r90091
2004-11-04jump.c (cleanup_barriers): Use delete_insn instead of delete_barrier.Kazu Hirata3-13/+8
* jump.c (cleanup_barriers): Use delete_insn instead of delete_barrier. (delete_barrier): Remove. * rtl.h: Remove the corresponding prototype. From-SVN: r90090
2004-11-04expr.c (mostly_zero_p): Make it static.Kazu Hirata3-2/+6
* expr.c (mostly_zero_p): Make it static. * tree.h: Remove the prototype for mostly_zeros_p. From-SVN: r90089
2004-11-04* cfgrtl.c (force_nonfallthru_and_redirect): Make it static.Kazu Hirata2-2/+5
From-SVN: r90088
2004-11-04builtins.c (expand_builtin_return_addr, [...]): Make them static.Kazu Hirata4-6/+11
* 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
2004-11-04tree-cfg.c (find_taken_edge): Reject VAL begin NULL.Kazu Hirata3-3/+10
* 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
2004-11-04pragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.Eric Botcazou2-0/+9
* gcc.dg/pragma-align.c (sixteen): Use 8-byte alignment on LP64 targets. From-SVN: r90082
2004-11-04cfghooks.c (delete_basic_block): Remove code to truncate edge vectors.Kazu Hirata2-3/+5
* cfghooks.c (delete_basic_block): Remove code to truncate edge vectors. From-SVN: r90081
2004-11-04flow.c (init_propagate_block_info): Change the type of i to unsigned.Andrew Pinski2-1/+6
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
2004-11-04re PR tree-optimization/18184 (Tree optimizers ignore pointer modes)Ulrich Weigand6-2/+30
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
2004-11-04asm-qual-1.c, [...]: New tests.Joseph Myers22-0/+221
* 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
2004-11-04gty.texi, [...]: Don't reference specific C parser files in examples.Joseph Myers4-4/+9
* doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don't reference specific C parser files in examples. From-SVN: r90065
2004-11-04c90-restrict-1.c, [...]: Adjust expected messages for new parser.Joseph Myers16-26/+37
* 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
2004-11-04re PR rtl-optimization/15342 ([arm-linux] internal compiler error: in ↵Richard Sandiford4-2/+33
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
2004-11-04bitmap.h: Fix a comment typo.Kazu Hirata3-12/+17
* bitmap.h: Fix a comment typo. Follow spelling conventions. * tree-vectorizer.c: Fix a comment typo. From-SVN: r90062
2004-11-04sdbout.c (SDB_GENERATE_FAKE): Remove.Kazu Hirata4-13/+9
* 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
2004-11-04* config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.Ulrich Weigand2-2/+6
From-SVN: r90060
2004-11-04DR 49, 100Giovanni Bajo13-345/+454
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
2004-11-04re PR other/18277 (libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' ↵Eric Botcazou2-4/+8
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
2004-11-04predict.c (propagate_freq): Make bitno unsigned.Nathan Sidwell2-11/+14
* predict.c (propagate_freq): Make bitno unsigned. Move npredecessors update out of loop. From-SVN: r90056
2004-11-04bitmap.h (bitmap_iterator): Remove word_bit and bit fields.Nathan Sidwell2-336/+315
* 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
2004-11-04bitmap.h (bitmap_a_or_b, [...]): Remove.Nathan Sidwell9-22/+27
* 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
2004-11-04bitmap.c (bitmap_print): Make bitno unsigned.Nathan Sidwell34-124/+156
* 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
2004-11-04re PR tree-optimization/18009 (ICE in vect_transform_stmt, at ↵Dorit Naishlos3-90/+215
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
2004-11-03timevar.c (timevar_enable): Change from static.Andrew Pinski3-12/+25
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
2004-11-03darwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries.Andrew Pinski2-0/+12
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
2004-11-04* g++.dg/rtti/tinfo1.C: Remove xfails.Ben Elliston2-4/+8
From-SVN: r90048
2004-11-03predict.c (struct block_info_def): Kill "tovisit" field.Jeff Law2-27/+46
* 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
2004-11-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90043.2