aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-24[multiple changes]Paolo Carlini89-3/+5219
2005-05-24 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/equal.cc: Move to... * testsuite/25_algorithms/equal: ... here. * testsuite/25_algorithms/lower_bound.cc: Move to... * testsuite/25_algorithms/lower_bound: ... here. 2005-05-24 Paolo Carlini <pcarlini@suse.de> Port from libstdcxx_so_7-branch: 2005-20-05 Chris Jefferson <chris@bubblescope.net> * testsuite/25_algorithms/heap.cc: Move to... * testsuite/25_algorithms/heap/heap.cc: ...here. * testsuite/25_algorithms/partition.cc: Move to... * testsuite/25_algorithms/partition/partition.cc: ...here. 2005-03-29 Christopher Jefferson <chris@bubblescope.net> * testsuite/25_algorithms/includes/1.cc: Add tests. * testsuite/25_algorithms/search/1.cc: Likewise. * testsuite/25_algorithms/unique_copy/1.cc: Likewise. * testsuite/25_algorithms/swap_ranges/1.cc: New. * testsuite/25_algorithms/swap_ranges/check_type.cc: New. * testsuite/25_algorithms/rotate.cc: Move to... * testsuite/25_algorithms/rotate/rotate.cc: ... here. * testsuite/25_algorithms/rotate/1.cc: New. * testsuite/25_algorithms/rotate/check_type.cc: New. * testsuite/25_algorithms/search_n/iterator.cc: Fix typo. 2005-03-14 Christopher Jefferson <chris@bubblescope.net> * include/bits/stl_algo.h (replace_copy, replace_copy_if): Don't assume that __new_value and *__first are convertible to each other. * testsuite/25_algorithms/find/1.cc: New. * testsuite/25_algorithms/find/check_type.cc: New. * testsuite/25_algorithms/find_if/1.cc: New. * testsuite/25_algorithms/find_if/check_type.cc: New. * testsuite/25_algorithms/replace/1.cc: New. * testsuite/25_algorithms/replace/check_type.cc: New. * testsuite/25_algorithms/replace_if/1.cc: New. * testsuite/25_algorithms/replace_if/check_type.cc: New. * testsuite/25_algorithms/replace_copy/1.cc: New. * testsuite/25_algorithms/replace_copy/check_type.cc: New. * testsuite/25_algorithms/replace_copy_if/1.cc: New. * testsuite/25_algorithms/replace_copy_if/check_type.cc: New. * testsuite/25_algorithms/remove/1.cc: New. * testsuite/25_algorithms/remove/check_type.cc: New. * testsuite/25_algorithms/remove_if/1.cc: New. * testsuite/25_algorithms/remove_if/check_type.cc: New. * testsuite/25_algorithms/count/1.cc: New. * testsuite/25_algorithms/count/check_type.cc: New. * testsuite/25_algorithms/count_if/1.cc: New. * testsuite/25_algorithms/count_if/check_type.cc: New. 2005-02-27 Christopher Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> * testsuite/ext/is_heap/check_type.cc: New. 2005-02-27 Paolo Carlini <pcarlini@suse.de> * testsuite/ext/is_heap/1.cc: New. 2005-02-01 Christopher Jefferson <chris@bubblescope.net> * testsuite/ext/median.cc: New. * testsuite/25_algorithms/adjacent_find/1.cc: New. * testsuite/25_algorithms/adjacent_find/check_type.cc: New. * testsuite/25_algorithms/search/1.cc: New. * testsuite/25_algorithms/search/check_type.cc: New. * testsuite/25_algorithms/unique_copy/1.cc: New. * testsuite/25_algorithms/unique_copy/check_type.cc: New. * testsuite/25_algorithms/partial_sort/1.cc: New. * testsuite/25_algorithms/partial_sort/check_type.cc: New. * testsuite/25_algorithms/partial_sort_copy/1.cc: New. * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New. * testsuite/25_algorithms/lower_bound/1.cc: New. * testsuite/25_algorithms/lower_bound/check_type.cc: New. * testsuite/25_algorithms/upper_bound/1.cc: New. * testsuite/25_algorithms/upper_bound/check_type.cc: New. * testsuite/25_algorithms/merge/1.cc: New. * testsuite/25_algorithms/merge/check_type.cc: New. * testsuite/25_algorithms/inplace_merge/1.cc: New. * testsuite/25_algorithms/inplace_merge/check_type.cc: New. * testsuite/25_algorithms/stable_sort/1.cc: New. * testsuite/25_algorithms/stable_sort/check_type.cc: New. * testsuite/25_algorithms/nth_element/1.cc: New. * testsuite/25_algorithms/nth_element/check_type.cc: New. * testsuite/25_algorithms/equal_range/1.cc: New. * testsuite/25_algorithms/equal_range/check_type.cc: New. * testsuite/25_algorithms/binary_search/1.cc: New. * testsuite/25_algorithms/binary_search/check_type.cc: New. * testsuite/25_algorithms/includes/1.cc: New. * testsuite/25_algorithms/includes/check_type.cc: New. * testsuite/25_algorithms/set_union/1.cc: New. * testsuite/25_algorithms/set_union/check_type.cc: New. * testsuite/25_algorithms/set_intersection/1.cc: New. * testsuite/25_algorithms/set_intersection/check_type.cc: New. * testsuite/25_algorithms/set_difference/1.cc: New. * testsuite/25_algorithms/set_difference/check_type.cc: New. * testsuite/25_algorithms/set_symmetric_difference/1.cc: New. * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New. * testsuite/25_algorithms/min_element/1.cc: New. * testsuite/25_algorithms/min_element/check_type.cc: New. * testsuite/25_algorithms/max_element/1.cc: New. * testsuite/25_algorithms/max_element/check_type.cc: New. * testsuite/25_algorithms/prev_permutation/1.cc: New. * testsuite/25_algorithms/prev_permutation/check_type.cc: New. * testsuite/25_algorithms/next_permutation/1.cc: New. * testsuite/25_algorithms/next_permutation/check_type.cc: New. * testsuite/25_algorithms/find_first_of/1.cc: New. * testsuite/25_algorithms/find_first_of/check_type.cc: New. * testsuite/25_algorithms/find_end/1.cc: New. * testsuite/25_algorithms/find_end/check_type.cc: New. * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type. * testsuite/25_algorithms/lexicographical_compare/check_type.cc: Likewise. 2005-01-10 Christopher Jefferson <chris@bubblescope.net> * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New. * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise. * testsuite/25_algorithms/mismatch/check_type.cc: Likewise. * testsuite/25_algorithms/mismatch/1.cc: Likewise. * testsuite/25_algorithms/equal/check_type.cc: New. * testsuite/25_algorithms/equal/1.cc: New. From-SVN: r100127
2005-05-24c-common.h (objc_comptypes): Remove prototype.Ziemowit Laski5-78/+114
* c-common.h (objc_comptypes): Remove prototype. (objc_compare_types): New prototype. (objc_volatilized_decl): Likewise. (objc_type_quals_match): Likewise. * c-decl.c (objc_mark_locals_volatile): Streamline by calling objc_volatilize_decl(). * c-typeck.c (comp_target_types): Remove third parameter; do not call objc_comptypes(). (comptypes): Remove calls to objc_comptypes(). (build_function_call): Extend compatible prototype check to ObjC. (build_conditional_expr): Adjust call to comp_target_types(). (convert_for_assignment): Call objc_compare_types() instead of objc_comptypes(); adjust calls to comp_target_types(); call objc_type_quals_match() before issuing qualifier mismatch warnings. (build_binary_op): Call objc_compare_types() before issuing pointer mismatch warnings; adjust calls to comp_target_types(). * stub-objc.c (objc_comptypes): Remove stub. (objc_compare_types): New stub. (objc_volatilized_decl): Likewise. (objc_type_quals_match): Likewise. From-SVN: r100126
2005-05-24class.c (layout_class_type): Do not issue C++ ABI warnings for ObjC structs.Ziemowit Laski6-66/+72
* class.c (layout_class_type): Do not issue C++ ABI warnings for ObjC structs. * decl.c (objc_mark_locals_volatile): Streamline by calling objc_volatilize_decl(). * parser.c (cp_parser_objc_message_expression): Allow simple type specifiers (instead of merely type names) as message receivers. * pt.c (template_args_equal): Do not call objc_comptypes(). * typeck.c (composite_pointer_type): If both pointers are ObjC-esque, arbitrarily choose the first; do not call objc_comptypes(). (comptypes): Do not call objc_comptypes(). (convert_for_assignment): Call objc_compare_types(). (comp_ptr_ttypes_real): Call objc_type_quals_match() before concluding that types do not match. From-SVN: r100125
2005-05-24objc-act.c (objc_build_struct): New function.Ziemowit Laski4-380/+611
* objc-act.c (objc_build_struct): New function. (objc_derived_from_p): Likewise. (objc_build_component_ref): Likewise. (objc_copy_binfo): Likewise. (objc_xref_basetypes): Likewise. (objc_lookup_protocol): Likewise. (objc_compare_protocols): Likewise. (objc_volatilize_decl): Likewise. (encode_aggregate_fields): Likewise. (volatilized_hash): Likewise. (volatilized_eq): Likewise. (objc_compare_types): Likewise. (objc_type_quals_match): Likewise. (DERIVED_FROM_P): New ObjC macro, corresponding to C++ macro of same name. (get_class_ivars): Add second parameter indicating if entire hierarchy is desired. (struct volatilized_type): New type. (volatilized_htab): New hash table. (objc_types_compatible_p, objc_comptypes): Remove functions. (synth_module_prologue): Do not initialize 'unused_list'. (objc_get_class_reference): Fix ObjC++ impedance mismatches. (objc_declare_alias): Implement as a typedef. (objc_substitute_decl, objc_gimplify_expr): Reformat. (objc_get_class_ivars): Adjust call to get_class_ivars(). (next_sjlj_build_enter_and_setjmp, synth_forward_declarations, build_ivar_reference, get_super_receiver): Call objc_build_component_ref() instead of build_component_ref(). (objc_begin_catch_clause): Use DERIVED_FROM_P() instead of objc_comptypes(). (build_private_template): Call objc_build_struct() instead of start_struct() and finish_struct(). (hash_init): Initialize volatilized_htab. (objc_is_public): Adjust calls to objc_get_ivars(); adjust ObjC++ impedance mismatches. (encode_aggregate_within): Streamline by calling encode_aggregate_fields(). * objc-act.h (objc_types_compatible_p): Remove prototype. (OCTI_UNUSED_LIST, unused_list): Remove slot. * objc-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. From-SVN: r100123
2005-05-24objcp-decl.c (objcp_start_struct, [...]): Adjust call to xref_tag().Ziemowit Laski4-16/+13
* objcp-decl.c (objcp_start_struct, objcp_xref_tag): Adjust call to xref_tag(). (objcp_build_component_ref): Remove function. * objcp-decl.h (objcp_build_component_ref): Remove prototype. (build_component_ref): Remove macro. * objcp-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. From-SVN: r100122
2005-05-24bitfield-[1-5].mm: New.Ziemowit Laski50-29/+2448
* obj-c++.dg/bitfield-[1-5].mm: New. * obj-c++.dg/class-protocol-1.mm: New. * obj-c++.dg/comp-types-1[0-1].mm: New. * obj-c++.dg/comp-types-[2-9].mm: New. * obj-c++.dg/encode-[4-8].mm: New. * obj-c++.dg/layout-1.mm: New. * obj-c++.dg/method-1[0-9].mm: New. * obj-c++.dg/method-2[0-1].mm: New. * obj-c++.dg/method-[8-9].mm: New. * obj-c++.dg/objc-gc-3.mm: New. * obj-c++.dg/try-catch-10.mm: New. * objc.dg/bitfield-5.m: New. * objc.dg/comp-types-10.m: New. * objc.dg/comp-types-9.m: New. * objc.dg/layout-1.m: New. * objc.dg/objc-gc-4.m: New. * objc.dg/try-catch-9.m: New. * objc.dg/class-protocol-1.m: Tweak diagnostics. * objc.dg/comp-types-1.m: Likewise. * objc.dg/comp-types-[5-6].m: Likewise. * objc.dg/method-9.m: Likewise. From-SVN: r100121
2005-05-24altivec-vec-merge.c: Make test usable on GNU/Linux targets and on hardware ↵Janis Johnson2-1/+9
without VMX support. * gcc.dg/altivec-vec-merge.c: Make test usable on GNU/Linux targets and on hardware without VMX support. From-SVN: r100120
2005-05-24* gcc.dg/altivec-vec-merge.c: Renamed from ppc-vec-merge.c.Janis Johnson2-0/+2
From-SVN: r100119
2005-05-24* gcc.dg/ppc64-abi-2.c: Remove code that is now invalid.Janis Johnson2-3/+2
From-SVN: r100118
2005-05-24profopt.exp (dg-final-generate, [...]): New.Janis Johnson2-9/+128
* lib/profopt.exp (dg-final-generate, dg-final-use, profopt-final-code, profopt-get-options): New. (profopt-execute): Process test directives. From-SVN: r100117
2005-05-24gcc-dg.exp (cleanup-ipa-dump): New.Janis Johnson2-11/+35
* lib/gcc-dg.exp (cleanup-ipa-dump): New. (cleanup-coverage-files, cleanup-repo-files, cleanup-rtl-dump, cleanup-tree-dump, cleanup-saved-temps): Update comments. From-SVN: r100116
2005-05-24libiberty.h (ACONCAT): Properly cast value of alloca().Gabriel Dos Reis38-155/+651
include/ 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> * libiberty.h (ACONCAT): Properly cast value of alloca(). * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if __cplusplus. libiberty/ 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> * configure.ac: Check declarations for calloc(), getenv(), malloc(), realloc() and sbrk(). * config.in: Regenerate. * configure: Likewise. * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC instead of xmalloc. * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc. * concat.c (liiberty_concat_ptr): Surround definition with an extern "C" block, if __cplusplus. (concat): Use XNEWVEC instead of xmalloc. (reconcat): Likewise. * cp-demangle.c (struct d_print_template): Rename member "template" to "template_decl". Adjust use throughout the file. (d_print_resize): Properly cast return value of realloc(). (cplus_demangle_print): Same for malloc(). (d_demangle): Likewise. * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter "typename" to "type_name". * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc(). (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc(). (demangle_template_value_parm): Likewise. (demangle_template): Likewise. (recursively_demangle): Likewise. (do_hpacc_template_literal): Likewise. (do_arg): Likewise. (remember_type): Likewise. (remember_Ktype): Likewise. (register_Btype): Likewise. (string_need): Use XRESIZEVEC instead of xrealloc(). * dyn-string.c (dyn_string_init): Use XNEWVEC. (dyn_string_new): Use XNEW. (dyn_string_resize): Use XRESIZEVEC. * fnmatch.c (fnmatch): Rename local variable "not" to "negate". * getopt.c (getenv): Declare only if !__cplusplus and !getenv. Otherwise include <stdlib.h>. (exchange): Cast return value of malloc(). * hashtab.c (htab_size): Define as both macro and non-inline function. (htab_elements): Likewise. * getpwd.c (getpwd): Use XNEWVEC. (htab_create_alloc_ex): Use C90 prototype-style. * lrealpath.c (lrealpath): Appropriately cast return value of malloc(). * make-relative-prefix.c (save_string): Likewise. * make-temp-file.c (try_dir): Rename from "try". Adjust use in the file. (choose_tmpdir): Use XNEWVEC. * mkstemps.c (mkstemps): Rename parameter "template" to "pattern". * pex-common.c (pex_init_common): Use XNEW. (pex_add_remove): Use XRESIZEVEC. (pex_run): Likewise. (pex_get_status_and_time): Likewise. * pex-djgpp.c (pex_djgpp_exec_child): Likewise. * pex-msdos.c (pex_init): Use XNEW. (pex_msdos_exec_child): Likewise. (pex_msdos_exec_child): Use XRESIZEVEC. * pex-unix.c (pex_wait): Use XNEW. * pex-win32.c (fix_argv): Use XNEWVEC. * pexecute.c (pwait): Likewise. * setenv.c (setenv): Properly cast return value of malloc(). * sigsetmask.c (sigsetmask): Rename local variables "old" and "new" to "old_sig" and "new_sig". * sort.c (main): Use XNEWVEC. * spaces.c (spaces): Cast return value of malloc(). * strndup.c (strndup): Likewise. * ternary.c (ternary_insert): Use XNEW. * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration with an extern "C" block if __cplusplus. * xstrdup.c (xstrdup): Cast return value of memcpy(). * xstrerror.c (strerror): Enclose declaration in an extern "C" block if __cplusplus. * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy(). From-SVN: r100115
2005-05-24* libgfortran/ChangeLog: Corrected author name.Peter Wainwright1-1/+1
From-SVN: r100114
2005-05-24ia64intrin.h: Define nothing for C++: overloaded builtins have been ported ↵Paolo Carlini2-91/+7
to C++. 2005-05-24 Paolo Carlini <pcarlini@suse.de> * config/ia64/ia64intrin.h: Define nothing for C++: overloaded builtins have been ported to C++. From-SVN: r100112
2005-05-24allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator.Benjamin Kosnik7-14/+24
2005-05-24 Benjamin Kosnik <bkoz@redhat.com> * include/bits/allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator. * config/allocator/bitmap_allocator_base.h: Same. * config/allocator/malloc_allocator_base.h: Same. * config/allocator/mt_allocator_base.h: Same. * config/allocator/new_allocator_base.h: Same. * config/allocator/pool_allocator_base.h: Same. From-SVN: r100111
2005-05-24tree-nested.c (build_addr): New "context" argument.Jeff Law5-16/+44
* tree-nested.c (build_addr): New "context" argument. Temporarily set current_function_decl around the call to build the ADDR_EXPR. (get_static_chain): Pass proper context to build_addr. (convert_nl_goto_reference): Likewise. (convert_tramp_reference): Likewise. (final_nesting_tree_1): Likewise. * tree-profile.c (tree_gen_interval_profiler): Likewise. (tree_gen_pow2_profiler): Likewise. (tree_gen_one_value_profiler): Likewise. * tree-ssa-loop-ivopts.c (build_addr_strip_iref): Likewise. * tree.h (build_addr): Update prototype. From-SVN: r100110
2005-05-24tree-flow.h (bb_ann_d): Remove has_escape_site.Kazu Hirata3-7/+6
* tree-flow.h (bb_ann_d): Remove has_escape_site. * tree-ssa-alias.c (compute_points_to_addr_escape): Don't write to has_escape_site. From-SVN: r100109
2005-05-24builtins.c (define_builtin): Don't call make_decl_rtl.Richard Henderson8-38/+31
* builtins.c (define_builtin): Don't call make_decl_rtl. * constants.c (build_constant_data_ref): Likewise. * class.c (build_utf8_ref): Likewise. (build_fieldref_cache_entry, build_static_field_ref): Likewise. (get_dispatch_table, layout_class_method): Likewise. (build_class_ref): Likewise. Don't set DECL_SIZE or DECL_SIZE_UNIT by hand. (make_local_function_alias): Don't SET_DECL_ASSEMBLER_NAME. (make_method_value): Use METHOD_ABSTRACT instead of DECL_RTL_SET_P to determine if we need a non-zero address. * decl.c (builtin_function): Don't call make_decl_rtl. (give_name_to_locals): Don't SET_DECL_ASSEMBLER_NAME. * expr.c (build_known_method_ref): Don't call make_decl_rtl. * resource.c (compile_resource_data): Likewise. * parse.y (resolve_field_access): Re-word comment to avoid building DECL_RTL. From-SVN: r100108
2005-05-24class.c (registered_class): Take it out of class_roots; turn into a vec of ↵Richard Henderson3-31/+39
trees. * class.c (registered_class): Take it out of class_roots; turn into a vec of trees. (register_class): Make static. Don't duplicate decl node. Use VEC_safe_push. (emit_register_classes): Use VEC_iterate. Use output_constant instead of assemble_integer. Don't call mark_decl_referenced directly. * java-tree.h (register_class): Remove decl. From-SVN: r100107
2005-05-24re PR c++/21645 (C++ ICE in cxx_types_compatible_p)Andrew Pinski4-0/+29
2005-05-24 Andrew Pinski <pinskia@physics.uc.edu> PR C++/21645 * g++.dg/init/ctor5.C: New test. 2005-05-24 Andrew Pinski <pinskia@physics.uc.edu> PR C++/21645 * optimize.c (update_cloned_parm): Copy the TYPE also from the original one. From-SVN: r100106
2005-05-24Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.Jeff Law3-1/+17
* Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h. * tree-cfg.c: Include tree-ssa-propagate.h. (replace_uses_by): Call recompute_tree_invarant_for_addr_expr as needed. From-SVN: r100103
2005-05-24vect-none.c: Split into vect-106.c...Ira Rosen11-191/+363
* gcc.dg/vect/vect-none.c: Split into vect-106.c, vect-107.c, vect-108.c, vect-109.c, vect-110.c, vect-111.c, vect-112.c, vect-113.c, vect-114.c. From-SVN: r100102
2005-05-24[multiple changes]Paolo Carlini5-26/+124
2005-05-24 Jonathan Wakely <redi@gcc.gnu.org> * include/debug/string (class basic_string): Add missing default template arguments; provide typedefs for char and wchar_t. (operator[]): Allow s[s.size()] in debug mode, but not pedantic mode. 2005-05-24 Paolo Carlini <pcarlini@suse.de> Port from libstdcxx_so_7-branch: 2005-04-25 Christopher Jefferson <chris@bubblescope.net> * include/bits/stl_algo.h (count): Correct concept checks. (search_n) : Likewise. * testsuite/25_algorithms/search_n/check_type.cc: New. * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::operator+): Move out of class to external function, and add symmetric version. 2005-03-14 Christopher Jefferson <chris@bubblescope.net> * testsuite/testsuite_iterators.h (WritableObject::WritableObject): Add const. 2005-02-01 Christopher Jefferson <chris@bubblescope.net> * testsuite/testsuite_iterators.h (random_access_iterator_wrapper:: operator--): Fix typo. (OutputContainer::OutputContainer): Correct zeroing array. (WritableObject::operator==): Fix typo. (WritableObject::operator=): make operator= templated to allow differing types to be assigned. (WritableObject::operator++): Fix checking if iterator is written to multiple times. (random_access_iterator_wrapper::operator+): Add const. (random_access_iterator_wrapper::operator-): Likewise. (random_access_iterator_wrapper::operator[]): Add dereference. From-SVN: r100101
2005-05-24(rs6000_cpu_cpp_builtins): Define __NO_FPRS__ when 'f' class registers willNick Clifton2-0/+9
not be available. From-SVN: r100097
2005-05-24m32r.c (m32r_expand_block_move): Return 0 if nothing was done.Kazuhiro Inaoka4-8/+22
* config/m32r/m32r.c (m32r_expand_block_move): Return 0 if nothing was done. * config/m32r/m32r.md (movmemsi): If m32r_expand_block_move did nothing then FAIL. * config/m32r/m32r/m32r-protos.h (m32r_expand_block_move): Update prototype. From-SVN: r100095
2005-05-24* gcc.dg/const-elim-1.c: Remove xfails.Adam Nemet2-7/+5
From-SVN: r100093
2005-05-23tree-ssa-dom.c (cprop_into_stmt): Do not call ↵Jeff Law7-10/+68
recompute_tree_invariant_for_addr_expr here. * tree-ssa-dom.c (cprop_into_stmt): Do not call recompute_tree_invariant_for_addr_expr here. (optimize_stmt): Call it here instead and do so if anything at all has changed in the statement and the RHS is an ADDR_EXPR. * tree-ssa-forwprop.c (tidy_after_forward_propagate_addr): If needed, call recompute_tree_invariant_for_addr_expr. * tree-ssa-propagate.c (substitute_and_fold): Call recompute_tree_invariant_for_addr_expr as needed. * gcc.c-torture/compile/pr21638.c: New test. * gcc.c-torture/compile/20050520-1.c: New test. From-SVN: r100092
2005-05-24Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100090.2
2005-05-23tweak commentJason Merrill1-9/+12
From-SVN: r100088
2005-05-23debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC had to be defined for ↵Jonathan Wakely2-1/+9
pedantic mode in 3.4... * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC had to be defined for pedantic mode in 3.4 and 4.0.0. From-SVN: r100087
2005-05-23s390.c (s390_optimize_prologue): Don't replace an insn saving less registers ↵Andreas Krebbel2-22/+17
than the replacement. 2005-05-23 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_optimize_prologue): Don't replace an insn saving less registers than the replacement. From-SVN: r100081
2005-05-23* tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.Jan Hubicka2-1/+5
From-SVN: r100080
2005-05-2320020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*.Nick Clifton3-2/+8
* gcc.c-torture/execute/20020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*. * g++.old-deja/g++.jason/thunk3.C: Likewise. From-SVN: r100078
2005-05-23sparc-protos.h (sparc_expand_move): New prototype.Eric Botcazou5-435/+181
* config/sparc/sparc-protos.h (sparc_expand_move): New prototype. * config/sparc/sparc.c (sparc_expand_move): New function. (sparc_emit_set_const64): Rewrite assert condition on entry. (legitimate_constant_p) <CONST_VECTOR>: New case. (legitimize_pic_address): Use TARGET_ARCH64 to select the mode. * config/sparc/sparc.md (movqi, movhi, movsi, movdi, movV32, movV64, movtf): Use nonimmediate_operand for the first operand. Rewrite. Only invoke sparc_expand_move. * config/sparc/predicates.md (input_operand): Reorder tests. From-SVN: r100077
2005-05-23gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return ↵Jan Beulich2-0/+6
statement. gcc/ 2005-05-23 Jan Beulich <jbeulich@novell.com> * gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return statement. From-SVN: r100075
2005-05-23* gfortran.texi: Document some more GNU extensions.Roger Sayle2-0/+70
From-SVN: r100074
2005-05-23Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100072.2
2005-05-22* error.c (gfc_warning): Fix typo in comment.Francois-Xavier Coudert2-1/+5
From-SVN: r100070
2005-05-22re PR libfortran/21376 (libfortran "E" output format causes FPE)Peter Wainwright2-2/+11
PR libfortran/21376 * io/write.c (output_float): Rework logic to avoid call to log10 with argument equal to zero. From-SVN: r100068
2005-05-22re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))Danny Smith2-0/+7
PR target/21683 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC. From-SVN: r100066
2005-05-22sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode ↵Eric Botcazou2-2/+7
stack slots. * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack slots. From-SVN: r100058
2005-05-22mprec.c (mult, [...]): Add parenthesis to avoid warnings.Andreas Jaeger2-21/+25
* java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to avoid warnings. From-SVN: r100057
2005-05-22Give credit, where credit is due.Ziemowit Laski1-1/+1
From-SVN: r100056
2005-05-22Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100053.2
2005-05-21crontab: Spread snapshot building more evenly throughout the week.Gerald Pfeifer2-3/+8
* crontab: Spread snapshot building more evenly throughout the week. From-SVN: r100051
2005-05-21re PR middle-end/21331 (Incorrect folding of comparison)Andrew Pinski3-0/+34
2004-05-21 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/21331 PR tree-opt/21293 * gcc.c-torture/compile/pr21293.c: New test. * gcc.c-torture/execute/pr21331.c: New test. From-SVN: r100045
2005-05-21* testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.Ranjit Mathew2-1/+4
From-SVN: r100044
2005-05-21tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the ↵Richard Guenther2-5/+24
form &va[0]. 2005-05-21 Richard Guenther <rguenth@gcc.gnu.org> * tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the form &va[0]. From-SVN: r100043
2005-05-21configure.ac: Check for trunc and truncf in libm.Eric Botcazou6-1/+191
* configure.ac: Check for trunc and truncf in libm. * configure: Regenerate. * config.h.in: Likewise. * intrinsics/c99_functions.c (trunc, truncf): New functions. * c99_protos.h (trunc, truncf): Declare them. From-SVN: r100040
2005-05-21Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100038.2