- 07 Jun, 2005 32 commits
-
-
2005-06-07 David Ayers <d.ayers@inode.at> * archive.c, init.c, selector.c: Include hash.h. * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c, init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: Include Objective-C headers with quotes and objc/ directory prefix. From-SVN: r100723
David Ayers committed -
* tree-ssa-threadupdate.c (struct thread_stats_d): Declare. (thread_stats): New local variable. (redirect_edges): Increment count of threaded edges. (thread_through_all_blocks): Initialize thread_stats. Display number of threaded jumps if TDF_STATS is enabled. From-SVN: r100722
Diego Novillo committed -
2005-06-07 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/21926 * m4/matmul.m4: Correct zeroing of result for non-packed arrays with lowest stride is one. * generated/matmul_c4.c: Regenerated. * generated/matmul_c8.c: Regenerated. * generated/matmul_i4.c: Regenerated. * generated/matmul_i8.c: Regenerated. * generated/matmul_r4.c: Regenerated. * generated/matmul_r8.c: Regenerated. 2005-06-07 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/21926 * gfortran.fortran-torture/execute/intrinsic_matmul.f90: Test case where the return array has lowest stride one, but isn't packed. From-SVN: r100721
Thomas Koenig committed -
* sbitmap.h (sbitmap_iter_init): Consistently treat bit_num as the current bit index with no modulo. From-SVN: r100720
Kazu Hirata committed -
From-SVN: r100719
Sebastian Pop committed -
* Makefile.in (tree-chrec.o): Depend on CFGLOOP_H and TREE_FLOW_H. * tree-chrec.c: Include cfgloop.h and tree-flow.h. (evolution_function_is_invariant_rec_p, evolution_function_is_invariant_p): New. (chrec_convert): Use an extra parameter AT_STMT for refining the information that is passed down to convert_step. Integrate the code that was in count_ev_in_wider_type. * tree-chrec.h (count_ev_in_wider_type): Removed. (chrec_convert): Modify its declaration. (evolution_function_is_invariant_p): Declared. (evolution_function_is_affine_p): Use evolution_function_is_invariant_p. * tree-flow.h (can_count_iv_in_wider_type): Renamed convert_step. (scev_probably_wraps_p): Declared. * tree-scalar-evolution.c (count_ev_in_wider_type): Removed. (follow_ssa_edge_in_rhs, interpret_rhs_modify_expr): Use an extra parameter AT_STMT for refining the information that is passed down to convert_step. (follow_ssa_edge_inner_loop_phi, follow_ssa_edge, analyze_scalar_evolution_1): Initialize AT_STMT with the current analyzed statement. (instantiate_parameters_1): Don't know yet how to initialize AT_STMT. * tree-ssa-loop-ivopts.c (idx_find_step): Update the use of can_count_iv_in_wider_type to use convert_step. * tree-ssa-loop-niter.c (can_count_iv_in_wider_type_bound): Move code that is independent of the loop over the known iteration bounds to convert_step_widening, the rest is moved to proved_non_wrapping_p. (scev_probably_wraps_p): New. (can_count_iv_in_wider_type): Renamed convert_step. * tree-vrp.c (adjust_range_with_scev): Take an extra AT_STMT parameter. Use scev_probably_wraps_p for computing init_is_max. (vrp_visit_assignment): Pass the current analyzed statement to adjust_range_with_scev. (execute_vrp): Call estimate_numbers_of_iterations for refining the information provided by scev analyzer. testsuite: * testsuite/gcc.dg/vect/vect-77.c: Remove xfail from lp64. * testsuite/gcc.dg/vect/vect-78.c: Same. From-SVN: r100718
Sebastian Pop committed -
2005-06-07 Adrian Straetling <straetling@de.ibm.com> * lib/target-supports.exp (check_effective_target_sync_int_long): Add s390 and s390x targets. From-SVN: r100717
Adrian Straetling committed -
2005-06-07 Eric Christopher <echristo@redhat.com> * config/mips/predicates.md (sleu_operand): Use IN_RANGE to specify range of operand. From-SVN: r100716
Eric Christopher committed -
missed entry * cp-tree.def (DEFAULT_ARG): Adjust documentation. * cp-tree.h (DEFARG_INSTANTIATIONS): New. (struct tree_default_arg): Add instantiations member. * parser.c (cp_parser_late_parsing_default_args): Adjust to use a VEC. * pt.c (tsubst_arg_types): Likewise. From-SVN: r100715
Nathan Sidwell committed -
PR tree-optimization/21847 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): With -fnon-call-exceptions, also mark statements inherently necessary if they may throw. From-SVN: r100714
Steven Bosscher committed -
2005-06-07 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex tests. * configure: Regenerated. From-SVN: r100713
Benjamin Kosnik committed -
2005-06-07 Adrian Straetling <straetling@de.ibm.com> gcc/ChangeLog: * config/s390/s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants. ("type"): Add "sem" to 'type' attribute. ("memory_barrier", "*memory_barrier", "sync_compare_and_swapdi", "sync_compare_and_swapsi", "sync_compare_and_swap_ccdi", "sync_compare_and_swap_ccsi", "*sync_compare_and_swap_ccdi", "*sync_compare_and_swap_ccsi"): New patterns. * config/s390/2064.md: ("z_sem"): New insn_reservation. * config/s390/2084.md: ("x_sem"): New insn_reservation. * config/s390/s390.c: (s390_compare_emitted): New global variable. (s390_emit_compare): Do not emit comparison again after cas. * config/s390/s390.h (s390_compare_emitted): Declare. libstdc++/ChangeLog: * config/cpu/s390/atomicity.h: (__exchange_and_add, __atomic_add): Use the builtins for atomic memory operations. From-SVN: r100711
Adrian Straetling committed -
* sbitmap.h (sbitmap_iterator, sbitmap_iter_init, sbitmap_iter_cond, sbitmap_iter_next): New. * bt-load.c, cfganal.c, combine.c, ddg.c, flow.c, modulo-sched.c, sbitmap.c, sched-rgn.c, tree-into-ssa.c, tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Update uses of EXECUTE_IF_SET_IN_SBITMAP to the new style. From-SVN: r100709
Kazu Hirata committed -
* tree-ssa-address.c: New file. * Makefile.in (tree-ssa-address.o): Add. * expr.c (expand_expr_real_1): Do not handle REF_ORIGINAL on INDIRECT_REFs. Handle TARGET_MEM_REFs. * tree-eh.c (tree_could_trap_p): Handle TARGET_MEM_REFs. * tree-flow.h (struct mem_address): New. (struct affine_tree_combination): Moved from tree-ssa-loop-ivopts.c. (create_mem_ref, addr_for_mem_ref, get_address_description, maybe_fold_tmr, multiplier_allowed_in_address_p, multiply_by_cost): Declare. * tree-mudflap.c (mf_xform_derefs_1): Handle TARGET_MEM_REFs. * tree-pretty-print.c (dump_generic_node): Ditto. * tree-ssa-loop-im.c (for_each_index): Ditto. * tree-ssa-loop-ivopts.c (may_be_unaligned_p, find_interesting_uses_address): Ditto. (rewrite_address_base, build_addr_strip_iref): Removed. (struct affine_tree_combination): Moved to tree-flow.h. (get_ref_tag, copy_ref_info): New functions. (rewrite_use_address): Produce TARGET_MEM_REFs. (tree_ssa_iv_optimize): Do not call update_ssa and rewrite_into_loop_closed_ssa. (tree_to_aff_combination): Use build_fold_addr_expr instead of build_addr_strip_iref. (unshare_aff_combination): New function. (fold_affine_sum): Removed. (get_computation_at): Use get_computation_aff. Unshare the result. (get_computation_aff, multiplier_allowed_in_address_p): New function. (multiply_by_cost): Exported. (get_address_cost): Use multiplier_allowed_in_address_p. * tree-ssa-operands.c (get_tmr_operands): New function. (get_expr_operands): Handle TARGET_MEM_REFs. * tree.c (copy_node_stat): Copy annotations for TARGET_MEM_REFs. (build): Handle 7 arguments. (build7_stat): New function. * tree.def (TARGET_MEM_DEF): New. * tree.h (REF_ORIGINAL): Removed. (TMR_SYMBOL, TMR_BASE, TMR_INDEX, TMR_STEP, TMR_OFFSET, TMR_ORIGINAL, TMR_TAG, build7): New macros. (build7_stat, tree_mem_ref_addr, copy_mem_ref_info): Declare. * tree-ssa-ccp.c (fold_stmt_r): Call maybe_fold_tmr. * doc/c-tree.texi: Document TARGET_MEM_REF. * doc/tree-ssa.texi: Add TARGET_MEM_REF to gimple grammar. * gcc.dg/tree-ssa/loop-2.c: Update outcome. * gcc.dg/tree-ssa/loop-3.c: Update outcome. * gcc.dg/tree-ssa/loop-4.c: Update outcome. * gcc.dg/tree-ssa/loop-9.c: New test. From-SVN: r100708
Zdenek Dvorak committed -
* cp-tree.def (DEFAULT_ARG): Adjust documentation. * cp-tree.h (DEFARG_INSTANTIATIONS): New. (struct tree_default_arg): Add instantiations member. * parser.c (cp_parser_late_parsing_default_args): Adjust to use a VEC. * pt.c (tsubst_arg_types): Likewise. From-SVN: r100707
Nathan Sidwell committed -
PR debug/21946 * dwarf2out.c (add_loc_descr_op_piece): New function. (multiple_reg_loc_descriptor, concat_loc_descriptor, loc_descriptor): Use it. * var-tracking.c: Include regs.h and expr.h. (emit_note_insn_var_location): Skip over pieces where offset is smaller than previous offset plus previous piece mode size. Optimize adjacent hard registers or memory locations. * Makefile.in (var-tracking.o): Depend on $(REGS_H) and $(EXPR_H). From-SVN: r100706
Jakub Jelinek committed -
2005-06-07 Richard Guenther <rguenth@gcc.gnu.org> * c-typeck.c (c_finish_if_stmt): Use void_type_node as type for COND_EXPR. * gimplify.c (gimplify_cond_expr): No need to fix up the type of COND_EXPRs. From-SVN: r100705
Richard Guenther committed -
2005-06-07 Richard Guenther <rguenth@gcc.gnu.org> * tree-ssa.c (tree_ssa_useless_type_conversion_1): Fix comments. From-SVN: r100704
Richard Guenther committed -
* configure.in <cris-*, crisv32-*>: Enable target-libffi again for *-*-linux* and *-*-elf. * configure: Regenerate. From-SVN: r100703
Hans-Peter Nilsson committed -
cp: * parser.c (cp_parser_late_parsing_default_args): Fix overeager assert in previous patch. testsuite: * g++.dg/parse/defarg10.C: New. From-SVN: r100702
Nathan Sidwell committed -
host-darwin.c (segv_handler): Widen the possible 'stwux' instructions that are considered to be stack decrements. * config/rs6000/host-darwin.c (segv_handler): Widen the possible 'stwux' instructions that are considered to be stack decrements. From-SVN: r100701
Geoffrey Keating committed -
* rtlanal.c (subreg_offset_representable_p): Handle objects with holes. From-SVN: r100700
Geoffrey Keating committed -
* btest-gcc.sh: Add support for option --add-passes-despite-regression. From-SVN: r100699
Hans-Peter Nilsson committed -
2005-06-07 Jerry DeLisle <jvdelisle@verizon.net> * ChangeLog: Fix date on last commit. From-SVN: r100698
Jerry DeLisle committed -
2005-06-03 Jerry DeLisle <jvdelisle@verizon.net> * intrinsic.texi: Add documentation for dcmplx, digits, dim, idim, ddim, dot_product, dprod, dreal, and dtime. From-SVN: r100697
Jerry DeLisle committed -
2005-06-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/21770 (cont: __gnu_debug::string) * include/debug/string: Use _Base typedefs for pointer, const_pointer, reference, const_reference, size_type, difference_type. * testsuite/21_strings/basic_string/2.cc: New. From-SVN: r100693
Paolo Carlini committed -
2005-06-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/21770 (cont: debug-mode) * include/debug/deque: Use _Base typedefs for pointer, const_pointer, reference, const_reference. * include/debug/list: Likewise. * include/debug/map.h: Likewise. * include/debug/multimap.h: Likewise. * include/debug/multiset.h: Likewise. * include/debug/set.h: Likewise. * include/debug/vector: Likewise. From-SVN: r100692
Paolo Carlini committed -
* mode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge_lcm. From-SVN: r100690
Uros Bizjak committed -
From-SVN: r100689
Rainer Orth committed -
From-SVN: r100688
Keith Seitz committed -
From-SVN: r100687
Keith Seitz committed -
[[Split portion of a mixed commit.]] From-SVN: r100683.2
GCC Administrator committed
-
- 06 Jun, 2005 8 commits
-
-
* config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5. (SH_DWARF_FRAME_PR, SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACL) (SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_PC, SH_DWARF_FRAME_FPUL): Likewise. (SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_FPSCR): Define to the correct dwarf register number for SHmedia. (shmedia_fallback_frame_state): New. (MD_FALLBACK_FRAME_STATE_FOR): Define to it for SH5. * config/sh/linux.h (FUNCTION_PROFILER): Provide SHMEDIA version. From-SVN: r100681
Kaz Kojima committed -
* configure.in (unsupported_languages): New macro. <mmix-knuth-mmixware>: Set unsupported_languages. Name explicit non-ported target libraries in noconfigdirs. <cris-*, crisv32-*> Ditto, except for non-aout, non-elf, non-linux-gnu. Remove libgcj_ex_libffi. <lang_frag loop>: Set add_this_lang=no if the language is in unsupported_languages. * configure: Regenerate. From-SVN: r100680
Hans-Peter Nilsson committed -
libiberty/ 2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> * libiberty.h (XOBFINISH): New. gcc/ 2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> * c-lex.c (lex_string): Use XOBFINISH. * collect2.c (extract_string, dump_file): Likewise. * dbxout.c (dbxout_finish_complex_stabs): Likewise. * gcc.c (init_spec, build_search_list, convert_filename, set_collect_gcc_options, do_spec_2, do_spec_1, main): * Likewise. * genpreds.c (write_predicate_subfunction): Likewise. * genflags.c (main): Likewise. * read-rtl.c (mode_attr_index, apply_macro_to_string, join_c_conditions, read_quoted_string, read_braced_string, read_rtx_1): Likewise. * stringpool.c (ggc_alloc_string): Likewise. * tlink.c (obstack_fgets, recompile_files): Likewise. From-SVN: r100678
Gabriel Dos Reis committed -
gcc/po/ * exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format. Because of xgettext bug, invoke xgettext once with --language=c, once with --language=GCC-source and then merge together. Fail if xgettext is not 0.14.5 or later. gcc/ * intl.h (G_): New macro. * rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid instead of msgid for argument name. * tree-ssa.c (warn_uninit): Likewise. * c-parser.c (c_parser_error): Likewise. * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. * config/darwin-c.c (BAD): Likewise. * config/c4x/c4x-c.c (BAD): Likewise. * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. * c-errors.c (pedwarn_c99, pedwarn_c90): Likewise. * c-common.c (c_parse_error): Likewise. * diagnostic.c (diagnostic_set_info, verbatim, inform, warning, warning0, pedwarn, error, sorry, fatal_error, internal_error): Likewise. (fnotice): Use cmsgid instead of msgid for argument name. * gcov.c (fnotice): Likewise. * protoize.c (notice): Likewise. * final.c (output_operand_lossage): Likewise. * gcc.c (fatal, notice): Likewise. (error): Use gmsgid instead of msgid for argument name. * collect2.c (notice, fatal_perror, fatal): Use cmsgid instead of msgid for argument name. (error): Use gmsgid instead of msgid for argument name. * c-decl.c (locate_old_decl, implicit_decl_warning): Use G_() instead of N_(). * c-typeck.c (readonly_error, convert_for_assignment): Likewise. * tree-inline.c (inline_forbidden_p_1): Likewise. * ABOUT-GCC-NLS: Require gettext 0.14.5 or later. Mention the new conventions for marking translations. * doc/install.texi: Mention gettext 0.14.5 or later requirement. gcc/cp/ * error.c (locate_error): Use gmsgid instead of msgid for argument name. (cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise. gcc/java/ * jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of msgid for argument name. * gjavah.c (error): Likewise. * java-tree.h (parse_error_context): Likewise. * parse.y (parse_error_context, parse_warning_context, issue_warning_error_from_context): Likewise. From-SVN: r100676
Jakub Jelinek committed -
* tree-chrec.c (reset_evolution_in_loop): Use build3 instead of build2. From-SVN: r100675
Jakub Jelinek committed -
* fold-const.c (operand_equal_p): Don't return 1, if element chains for 2 VECTOR_CSTs are not the same length. PR regression/21897 * fold-const.c (fold_ternary) <case BIT_FIELD_REF>: Don't crash if not all VECTOR_CST elements are given. * gcc.c-torture/execute/20050604-1.c: New test. From-SVN: r100674
Jakub Jelinek committed -
* combine.c (try_combine): Use hard_regno_nregs array instead of HARD_REGNO_NREGS macro. * config/rs6000/rs6000.c (rs6000_split_multireg_move, rs6000_register_move_cost, rs6000_memory_move_cost): Likewise. * config/ia64/ia64.c (mark_reg_gr_used_mask): Likewise. From-SVN: r100673
Jakub Jelinek committed -
2005-06-06 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-reassoc.o: New. (OBJS-common): Add tree-ssa-reassoc.o * timevar.def: Add TV_TREE_REASSOC * tree-optimize.c (pass_reassoc): Add call. * tree-pass.h (pass_reassoc): Add. * tree-ssa-reassoc.c: New file. From-SVN: r100671
Daniel Berlin committed
-