Steven G. Kargl [Fri, 29 Sep 2006 17:39:52 +0000 (17:39 +0000)]
nearest_1.f90: Add -ffloat-store to defeat extra precision on some archs.
2006-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/nearest_1.f90: Add -ffloat-store to defeat extra
precision on some archs.
From-SVN: r117309
Benjamin Kosnik [Fri, 29 Sep 2006 13:38:58 +0000 (13:38 +0000)]
type_traits.h (__remove_unsigned): Fix up for signed char, bool, wchar_t, and floating point types.
2006-09-29 Benjamin Kosnik <bkoz@redhat.com>
Howard Hinnant <hhinnant@apple.com>
Paolo Carlini <pcarlini@suse.de>
* include/ext/type_traits.h (__remove_unsigned): Fix up for signed
char, bool, wchar_t, and floating point types.
(__add_unsigned): Same.
* testsuite/ext/type_traits: New.
* testsuite/ext/type_traits.cc: Move...
* testsuite/ext/type_traits/numeric_traits.cc: ...here.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: New.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: New.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: New.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: New.
* testsuite/ext/type_traits/add_unsigned.cc: New.
* testsuite/ext/type_traits/remove_unsigned.cc: New.
Co-Authored-By: Howard Hinnant <hhinnant@apple.com>
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r117303
Joseph Myers [Fri, 29 Sep 2006 12:19:45 +0000 (13:19 +0100)]
acinclude.m4 (enable_symvers): Default to no if unable to link.
* acinclude.m4 (enable_symvers): Default to no if unable to link.
* configure: Regenerate.
From-SVN: r117301
Eric Botcazou [Fri, 29 Sep 2006 06:52:47 +0000 (06:52 +0000)]
Fix nits.
From-SVN: r117300
Eric Botcazou [Fri, 29 Sep 2006 06:52:04 +0000 (06:52 +0000)]
decl.c (gnat_to_gnu_entity): Do not set "const" flag on "pure" Ada subprograms if SJLJ exceptions are used.
* decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not set "const" flag
on "pure" Ada subprograms if SJLJ exceptions are used.
* trans.c (Handled_Sequence_Of_Statements_to_gnu): Set TREE_NO_WARNING
on the declaration node of JMPBUF_SAVE.
* utils.c (init_gigi_decls): Set DECL_IS_PURE on the declaration nodes
of Get_Jmpbuf_Address_Soft and Get_GNAT_Exception.
* utils2.c (build_call_0_expr): Do not set TREE_SIDE_EFFECTS.
From-SVN: r117299
Eric Botcazou [Fri, 29 Sep 2006 06:32:58 +0000 (06:32 +0000)]
builtins.c (expand_builtin_setjmp): Delete.
* builtins.c (expand_builtin_setjmp): Delete.
(expand_builtin) <BUILT_IN_SETJMP>: Mark as unreachable.
<BUILT_IN_SETJMP_SETUP>: New case.
<BUILT_IN_SETJMP_DISPATCHER>: Likewise.
<BUILT_IN_SETJMP_RECEIVER>: Likewise.
* builtins.def (BUILT_IN_SETJMP_SETUP): New built-in stub.
(BUILT_IN_SETJMP_DISPATCHER): Likewise.
(BUILT_IN_SETJMP_RECEIVER): Likewise.
* gimple-low.c (struct lower_data): New field calls_builtin_setjmp.
(lower_function_body): Initialize it to false. If it is set to true
at the end of the processing, emit the setjmp dispatcher.
(lower_stmt) <CALL_EXPR>: Invoke lower_builtin_setjmp if the callee
is __builtin_setjmp and set calls_builtin_setjmp to true as well.
<MODIFY_EXPR>: Fall through to above case if there is a CALL_EXPR
on the rhs of the assignment.
(lower_builtin_setjmp): New function.
* tree.c (build_common_builtin_nodes): Build BUILT_IN_SETJMP_SETUP,
BUILT_IN_SETJMP_DISPATCHER and BUILT_IN_SETJMP_RECEIVER nodes.
* tree-cfg.c (make_exit_edges) <CALL_EXPR>: Use specific predicate
to detect calls that can go to non-local labels. Use specific
helper to create the abnormal edges associated with them.
<MODIFY_EXPR>: Likewise.
(make_abnormal_goto_edges): New function extracted from...
(make_goto_expr_edges): ...here. Call it for computed gotos.
(simple_goto_p): Minor tweak.
(tree_can_make_abnormal_goto): New predicate.
(tree_redirect_edge_and_branch): Return zero on all abnormal edges.
(tree_purge_dead_abnormal_call_edges): New function.
* tree-flow.h (tree_can_make_abnormal_goto): Declare.
(tree_purge_dead_abnormal_call_edges): Likewise.
(make_abnormal_goto_edges): Likewise.
* tree-inline.c (expand_call_inline): Simplify statement frobbing.
Purge all dead abnormal edges if the call was in the last statement.
* tree-optimize.c (has_abnormal_outgoing_edge_p): New predicate.
(execute_fixup_cfg): If there are non-local labels in the function,
scan the basic blocks and split them at calls that can go to non-local
labels or add missing abnormal call edges. Write down the CFG in the
dump file.
(pass_fixup_cfg): Remove TODO_dump_func flag.
* unwind-sjlj.c: Poison setjmp.
* doc/install.texi (enable-sjlj-exceptions): Use more general wording.
* doc/tm.texi (DWARF2_UNWIND_INFO): Likewise.
(TARGET_UNWIND_TABLES_DEFAULT): Fix typo.
(DONT_USE_BUILTIN_SETJMP): Document it.
From-SVN: r117298
Steven G. Kargl [Fri, 29 Sep 2006 04:51:53 +0000 (04:51 +0000)]
arith.c (gfc_check_integer_range): Disable range checking via -fno-range-check.
2006-09-28 Steven G. Kargl <kargl@gcc.gnu.org>
fortran/29147
* arith.c (gfc_check_integer_range): Disable range checking via
-fno-range-check.
From-SVN: r117297
Geoffrey Keating [Fri, 29 Sep 2006 01:21:14 +0000 (01:21 +0000)]
re PR target/28617 (___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8)
PR target/28617
* config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define
to 1 when __ppc64__ is defined.
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and
darwin-64.c.
* config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined.
From-SVN: r117296
GCC Administrator [Fri, 29 Sep 2006 00:17:20 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117294
Steve Ellcey [Thu, 28 Sep 2006 20:58:33 +0000 (20:58 +0000)]
t-hpux (LIB2FUNCS_EXTRA): Remove unwind-hpux.c.
* config/ia64/t-hpux (LIB2FUNCS_EXTRA): Remove unwind-hpux.c.
* config/ia64/unwind-hpux.c: Delete.
From-SVN: r117290
Steven G. Kargl [Thu, 28 Sep 2006 19:31:37 +0000 (19:31 +0000)]
arith.c: Change conditional test for inclusion of arctangent().
2006-09-28 Steven G. Kargl <kargl@gcc.gnu.org>
* arith.c: Change conditional test for inclusion of arctangent().
(gfc_check_real_range): Change conditional test for use of
mpfr_subnormalize.
* simplify.c (gfc_simplify_atan2): Fix conditional for use of
mpfr_atan2() instead of arctangent().
(gfc_simplify_exponent): Fix conditional for use of mpfr_get_exp().
(gfc_simplify_log): Fix conditional for use of mpfr_atan2() instead
of arctangent().
(gfc_simplify_nearest): Fix conditional for use of mpfr_nextafter().
From-SVN: r117289
Eric Botcazou [Thu, 28 Sep 2006 19:14:05 +0000 (19:14 +0000)]
gimplify.c (gimplify_init_ctor_preeval): Call maybe_with_size_expr on the element before gimplifying it...
* gimplify.c (gimplify_init_ctor_preeval): Call maybe_with_size_expr
on the element before gimplifying it, instead of punting if it is of
variable size.
From-SVN: r117288
Paolo Carlini [Thu, 28 Sep 2006 18:55:21 +0000 (18:55 +0000)]
stl_uninitialized.h (__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&, allocator<>)): Inline.
2006-09-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_uninitialized.h
(__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&,
allocator<>)): Inline.
From-SVN: r117285
Benjamin Kosnik [Thu, 28 Sep 2006 13:40:07 +0000 (13:40 +0000)]
erase_store_hash_fn_imps.hpp: Formatting fixes.
2006-09-28 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_store_hash_fn_imps.hpp: Formatting fixes.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
policy_access_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
entry_list_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
find_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
debug_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
cond_key_dtor_entry_dealtor.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
debug_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
iterators_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/cond_dtor_entry_dealtor.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
policy_access_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
iterator_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
find_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
find_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
debug_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/
policy_access_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
entry_metadata_base.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
iterators_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
From-SVN: r117281
Paolo Carlini [Thu, 28 Sep 2006 12:57:47 +0000 (12:57 +0000)]
boost_shared_ptr.h: Use __atomic_add_dispatch and __exchange_and_add_dispatch everywhere.
2006-09-28 Paolo Carlini <pcarlini@suse.de>
* include/tr1/boost_shared_ptr.h: Use __atomic_add_dispatch and
__exchange_and_add_dispatch everywhere.
From-SVN: r117280
Zdenek Dvorak [Thu, 28 Sep 2006 12:02:11 +0000 (14:02 +0200)]
loop.texi: New file.
* doc/loop.texi: New file.
* doc/gccint.texi: Reference loop.texi.
* Makefile.in (loop.texi): Add.
From-SVN: r117277
Geoffrey Keating [Thu, 28 Sep 2006 07:03:59 +0000 (07:03 +0000)]
darwin.h (ENABLE_EXECUTE_STACK): New, use getpagesize not __sysctl.
* config/darwin.h (ENABLE_EXECUTE_STACK): New, use getpagesize not
__sysctl.
* config/rs6000/darwin.h (ENABLE_EXECUTE_STACK): Remove.
* config/i386/darwin.h (ENABLE_EXECUTE_STACK): Remove.
From-SVN: r117274
Francois-Xavier Coudert [Thu, 28 Sep 2006 05:39:00 +0000 (07:39 +0200)]
Makefile.am: Install libgfortranbegin inside compiler libraries directory instead of system...
* Makefile.am: Install libgfortranbegin inside compiler libraries
directory instead of system libraries directory.
* Makefile.in: Regenerate.
From-SVN: r117273
Kaz Kojima [Thu, 28 Sep 2006 02:34:09 +0000 (02:34 +0000)]
sh.md (divsi_inv_m0): Remove unused variable.
* config/sh/sh.md (divsi_inv_m0): Remove unused variable.
From-SVN: r117272
Matthew Sachs [Thu, 28 Sep 2006 02:03:46 +0000 (02:03 +0000)]
* compareSumTests3: POD syntax fix.
From-SVN: r117271
Bruce Korb [Thu, 28 Sep 2006 01:59:08 +0000 (01:59 +0000)]
Clarify the fix application tests
From-SVN: r117270
Matthew Sachs [Thu, 28 Sep 2006 01:50:45 +0000 (01:50 +0000)]
dglib.pm: Initial commit.
* dglib.pm: Initial commit.
* compareSumTests3: Initial commit.
From-SVN: r117269
Benjamin Kosnik [Thu, 28 Sep 2006 01:23:58 +0000 (01:23 +0000)]
typelist.h (type_to_type): Remove.
2006-09-27 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/typelist.h (type_to_type): Remove.
* include/ext/throw_allocator.h (assert_allocatod): Remove.
(check_allocated(label)): New.
(print_to_string): Print numerical output correctly.
* testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.
* testsuite/util/regression/rand/priority_queue/detail/
operator_fn_imps.hpp: Set and clear label, throw
probability. Check only allocations of the marked label.
* testsuite/util/regression/rand/assoc/detail/
operator_fn_imps.hpp: Same.
* testsuite/performance/ext/pb_ds/text_find_timing.cc: Adjustments for
removal of type_to_type.
* testsuite/performance/ext/pb_ds/
hash_random_int_erase_mem_usage.cc: Same.
* testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_push_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
random_int_subscript_find_timing.cc: Same.
* testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
* testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
multimap_text_insert_mem_usage.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_random_int_push_timing.cc: Same.
* testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_modify_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
tree_order_statistics_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_push_pop_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_join_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_random_int_push_pop_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
random_int_subscript_insert_timing.cc: Same.
* testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
multimap_text_insert_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_pop_mem_usage.cc: Same.
* testsuite/performance/ext/pb_ds/
hash_zlob_random_int_find_timing.cc: Same.
* testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
constructor_destructor_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.hpp: Same.
* testsuite/util/regression/assoc/common_type.hpp: Same.
* testsuite/util/regression/basic_type.hpp: Same.
* testsuite/util/common_type/assoc/common_type.hpp: Same.
* testsuite/util/common_type/assoc/string_form.hpp: Same.
* testsuite/util/common_type/assoc/template_policy.hpp: Same.
* testsuite/util/common_type/assoc/native_set.hpp: Same.
* testsuite/util/performance/priority_queue/mem_usage/
pop_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/
push_pop_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/
modify_test.hpp: Same.
* testsuite/util/performance/assoc/mem_usage/
multimap_insert_test.hpp: Same.
* testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
multimap_insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
subscript_find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
subscript_insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_order_statistics_test.hpp: Same.
* testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_split_join_test.hpp: Same.
* testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
* testsuite/util/testsuite_common_types.h: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Typedef
normalization, consistency in member names between cc and gp hash
tables, formatting fixes.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/assoc_container.hpp: Formatting fixes.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/types_traits.hpp: Same.
* include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/
direct_mod_range_hashing_imp.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/
direct_mask_range_hashing_imp.hpp: Same.
From-SVN: r117268
Kaveh R. Ghazi [Thu, 28 Sep 2006 00:45:56 +0000 (00:45 +0000)]
inclhack.def (solaris_once_init_2): New fix.
* inclhack.def (solaris_once_init_2): New fix.
* tests/base/pthread.h: Update.
* fixincl.x: Regenerate.
From-SVN: r117265
GCC Administrator [Thu, 28 Sep 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117263
Jack Howarth [Wed, 27 Sep 2006 21:24:23 +0000 (21:24 +0000)]
re PR target/26792 (need to use autoconf when using newly-added libgcc functions)
2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/26792:
* exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
if HAVE_GETIPINFO not defined.
* stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
(_Jv_StackTrace::getLineNumberForFrame): Likewise.
* configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
* aclocal.m4, configure, include/config.h.in, Makefile.in:
Rebuilt.
From-SVN: r117259
Steven G. Kargl [Wed, 27 Sep 2006 20:15:22 +0000 (20:15 +0000)]
re PR fortran/28276 (EXPONENT() broken for real constants)
* configure.in: Check for GMP 4.1 or newer. Check for MPFR 2.2.0
or newer.
* configure: Regenerated.
* doc/install.texi: Document required versions of GMP and MPFR.
* fortran/arith.c: Conditionally include arctangent2().
(gfc_check_real_range): Use mpfr_subnormalize in preference to local
hack.
* fortran/trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Append
l for long double functions.
* fortran/simplify.c: Wrap Copyright to new line.
(gfc_simplify_atan2): Use mpfr_atan2 in preference to arctangent2().
(gfc_simplify_log): Ditto.
PR fortran/28276
* fortran/simplify.c (gfc_simplify_exponent): Use mpfr_get_exp in
preference to broken local hack.
PR fortran/27021
* fortran/simplify.c (gfc_simplify_nearest): Use mpfr_nexttoward and
mpfr_subnormalize to handle numbers near zero in preference to broken
local hack.
PR fortran/28276
* testsuite/gfortran.dg/exponent_1.f90: New test.
PR fortran/27021
* testsuite/gfortran.dg/nearest_1.f90: New test.
From-SVN: r117257
Dave Brolley [Wed, 27 Sep 2006 19:42:24 +0000 (15:42 -0400)]
configure.in (RUNTEST): Look for 'runtest' in the source tree by using $s instead of $r.
2006-09-27 Dave Brolley <brolley@redhat.com>
* configure.in (RUNTEST): Look for 'runtest' in the source tree by using
$s instead of $r.
* configure: Regenerated.
From-SVN: r117256
Paul Brook [Wed, 27 Sep 2006 17:09:40 +0000 (17:09 +0000)]
re PR target/29230 (gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3)
2006-09-27 Paul Brook <paul@codesourcery.com>
PR target/29230
gcc/
* config/arm/arm.md (arith_adjacentmem): Handle large offsets.
From-SVN: r117253
Richard Sandiford [Wed, 27 Sep 2006 15:27:38 +0000 (15:27 +0000)]
reload1.c (alter_reg): Require the alignment of the stack slot to be at least reg_max_ref_width bytes.
gcc/
* reload1.c (alter_reg): Require the alignment of the stack slot to
be at least reg_max_ref_width bytes.
(scan_paradoxical_subregs): Record the largest width in
reg_max_ref_width.
From-SVN: r117252
Alan Modra [Wed, 27 Sep 2006 09:21:52 +0000 (09:21 +0000)]
Makefile.in (distclean): Delete config files.
* Makefile.in (distclean): Delete config files.
From-SVN: r117250
Tom Tromey [Wed, 27 Sep 2006 07:58:11 +0000 (07:58 +0000)]
Locale.java (hashcode): No longer transient.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
* java/util/Locale.java (hashcode): No longer transient.
(writeObject): Use ObjectOutputStream.PutField and
defaultWriteObject.
(readObject): Use defaultReadObject.
From-SVN: r117248
Paolo Carlini [Wed, 27 Sep 2006 07:08:13 +0000 (07:08 +0000)]
re PR libstdc++/29217 (locale confusion with time/collate categories)
2006-09-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29217
* src/localename.cc (locale::_Impl::_M_replace_categories)):
Compensate for the inconsistent numerical encodings of the
collate and time categories vs the corresponding names.
* testsuite/22_locale/locale/cons/29217.cc: New.
* testsuite/22_locale/locale/cons/2.cc: Enable and split
out the few ENC_TRAITS bits to...
* testsuite/22_locale/locale/cons/unicode/1.cc... here.
From-SVN: r117247
Kaveh R. Ghazi [Wed, 27 Sep 2006 04:25:34 +0000 (04:25 +0000)]
inclhack.def (solaris_mutex_init_2): Remove test for PTHREAD_RWLOCK_INITIALIZER.
* inclhack.def (solaris_mutex_init_2): Remove test for
PTHREAD_RWLOCK_INITIALIZER.
(solaris_rwlock_init_1): New.
* tests/base/pthread.h: Update.
* inclhack.def (solaris_once_init_1): New.
* tests/base/pthread.h: Adjust for new fix.
* fixincl.x: Regenerate.
From-SVN: r117244
GCC Administrator [Wed, 27 Sep 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117242
Jakub Jelinek [Tue, 26 Sep 2006 18:10:58 +0000 (20:10 +0200)]
re PR middle-end/25261 ([gomp] Nested function calls in #pragma omp parallel blocks)
PR middle-end/25261
PR middle-end/28790
* tree-nested.c (struct nesting_info): Added static_chain_added.
(convert_call_expr): Set static_chain_added when adding static
chain. Handle OMP_PARALLEL and OMP_SECTION.
* gcc.dg/gomp/nestedfn-1.c: New test.
* testsuite/libgomp.c/nestedfn-4.c: New test.
* testsuite/libgomp.c/nestedfn-5.c: New test.
* testsuite/libgomp.fortran/nestedfn3.f90: New test.
From-SVN: r117235
Jakub Jelinek [Tue, 26 Sep 2006 18:06:55 +0000 (20:06 +0200)]
re PR fortran/29097 (!$ include 'omp_lib.h' does not work)
PR fortran/29097
* scanner.c (include_line): Handle conditional include.
* testsuite/libgomp.fortran/condinc1.f: New test.
* testsuite/libgomp.fortran/condinc2.f: New test.
* testsuite/libgomp.fortran/condinc3.f90: New test.
* testsuite/libgomp.fortran/condinc4.f90: New test.
* testsuite/libgomp.fortran/condinc1.inc: New file.
From-SVN: r117234
Jack Howarth [Tue, 26 Sep 2006 17:21:32 +0000 (17:21 +0000)]
re PR boehm-gc/29180 (boehm-gc/darwin_stop_world.c not 64-bit clean)
2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/29180
* darwin_stop_world.c: Make stack_start unsigned long.
From-SVN: r117232
Thiemo Seufer [Tue, 26 Sep 2006 16:37:56 +0000 (16:37 +0000)]
configure.in: Remove redundant handling of mips*-dec-bsd*.
* configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
for mipstx39-*-*. Disable libgloss for mips64*-*-linux*.
* configure: Regenerate.
From-SVN: r117230
Andrew Pinski [Tue, 26 Sep 2006 15:36:21 +0000 (08:36 -0700)]
re PR objc/29195 (ICE in expand_expr_real_1, at expr.c:6932)
2006-09-26 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/29195
* objc-act.c (objc_push_parm): If we change the type of the
decl, relayout the decl.
2006-09-26 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/29195
* objc/compile/method-1.m: New test.
From-SVN: r117229
Paolo Carlini [Tue, 26 Sep 2006 01:05:48 +0000 (01:05 +0000)]
2006-09-25 Paolo Carlini <pcarlini@suse.de>
* Fix date of last ChangeLog entry.
From-SVN: r117224
Howard Hinnant [Tue, 26 Sep 2006 00:59:37 +0000 (00:59 +0000)]
re PR libstdc++/29224 (-Wshadow causing warning in <tr1/functional>)
2006-09-26 Howard Hinnant <hhinnant@apple.com>
PR libstdc++/29224
* include/tr1/functional_iterate.h: Avoid -Wshadow warnings.
From-SVN: r117222
GCC Administrator [Tue, 26 Sep 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117219
Matthias Klose [Mon, 25 Sep 2006 21:19:58 +0000 (21:19 +0000)]
invoke.texi: Add missing full stop.
2006-09-25 Matthias Klose <doko@debian.org>
* doc/invoke.texi: Add missing full stop.
From-SVN: r117211
Tom Tromey [Mon, 25 Sep 2006 21:06:04 +0000 (21:06 +0000)]
Makefile.in: Rebuilt.
* native/jni/gconf-peer/Makefile.in: Rebuilt.
* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
variable.
From-SVN: r117210
Tom Tromey [Mon, 25 Sep 2006 21:04:01 +0000 (21:04 +0000)]
re PR libgcj/29178 (CharsetEncoder.canEncode() gives different results than Sun version)
PR libgcj/29178:
* gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
(Encoder.canEncode): Likewise.
(Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
* gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
* gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
From-SVN: r117209
Lee Millward [Mon, 25 Sep 2006 19:58:10 +0000 (19:58 +0000)]
re PR c++/27667 (ICE with in-class specialization)
PR c++/27667
* cp-tree.h (begin_specialization): Return bool instead of void.
* pt.c (check_specialization_scope): Likwise. Adjust comment.
Return false if a specialization isn't permitted in the current scope,.
(begin_specialization): Use the return value of
check_specialization_scope.
* parser.c (cp_parser_explicit_specialization): If
begin_specialization returned false, skip the rest of the
specialization.
* g++.dg/template/spec33.C: New test.
* g++.old-deja/g++.pt/spec20.C: Adjust error markers.
From-SVN: r117206
Lee Millward [Mon, 25 Sep 2006 19:45:34 +0000 (19:45 +0000)]
re PR c++/27329 (ICE with misplaced expression)
PR c++/27329
PR c++/26938
* cp-tree.h (redeclare_class_template): Adjust declaration
to return bool instead of void.
* pt.c (redeclare_class_template): Update definition. Return
false on error.
* decl.c (xref_tag): Return error_mark_node if redeclare_class_template
returned false.
* g++.dg/template/crash58.C: New test.
* g++.dg/template/crash59.C: New test.
* g++.dg/parse/crash28.C: Adjust error markers.
* g++.dg/template/crash34.C: Likewise.
* g++.dg/template/friend31.C: Likewise.
* g++.dg/template/crash32.C: Likewise.
From-SVN: r117205
Tom Tromey [Mon, 25 Sep 2006 18:28:11 +0000 (18:28 +0000)]
mprec.c (mprec_calloc): Renamed.
* native/fdlibm/mprec.c (mprec_calloc): Renamed.
(Balloc): Updated.
From-SVN: r117204
Richard Henderson [Mon, 25 Sep 2006 17:50:25 +0000 (10:50 -0700)]
cgraph.c (dump_cgraph_varpool_node): Don't crash if called before cgraph_function_flags_ready.
* cgraph.c (dump_cgraph_varpool_node): Don't crash if called
before cgraph_function_flags_ready.
From-SVN: r117203
Mark Wielaard [Mon, 25 Sep 2006 17:30:21 +0000 (17:30 +0000)]
Suggested by Aaron M.
2006-09-25 Mark Wielaard <mark@klomp.org>
Suggested by Aaron M. Ucko <ucko@debian.org>
Fixes bug #29203
* native/fdlibm/mprec.c (ulp): Define L as int32_t.
From-SVN: r117197
Keith Seitz [Mon, 25 Sep 2006 17:08:05 +0000 (17:08 +0000)]
* gnu/classpath/jdwp/VMVirtualMachine.java
(_jdwp_suspend_counts): New private variable.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(initialize): Initialize _jdwp_suspend_counts.
(suspendThread): Implement.
(resumeThread): Implement.
(getSuspendCount): Implement.
From-SVN: r117196
Paolo Carlini [Mon, 25 Sep 2006 10:05:27 +0000 (10:05 +0000)]
re PR libstdc++/29179 (bugs in mt_allocator)
2006-09-25 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29179
* include/ext/mt_allocator.h (__pool_base): Adjust/extend
documentation in comments.
From-SVN: r117193
Tobias Schluter [Mon, 25 Sep 2006 09:24:08 +0000 (09:24 +0000)]
* ChangeLog: attribute change to its author :)
From-SVN: r117192
Tobias Schluter [Mon, 25 Sep 2006 09:19:36 +0000 (09:19 +0000)]
re PR fortran/21203 (gfortran doesn't work on targets/variants without two floating point types)
PR fortran/21203
* error.c (show_loci): No need to risk an ICE to output a
slightly nicer error message.
From-SVN: r117191
GCC Administrator [Mon, 25 Sep 2006 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117189
Bruce Korb [Sun, 24 Sep 2006 20:12:50 +0000 (20:12 +0000)]
Clarify how tests are handled
From-SVN: r117185
Paolo Carlini [Sun, 24 Sep 2006 19:42:34 +0000 (19:42 +0000)]
boost_shared_ptr.h (shared_ptr<>::shared_ptr(const __shared_ptr<>&), [...]): Remove.
2006-09-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/boost_shared_ptr.h (shared_ptr<>::shared_ptr(const
__shared_ptr<>&), shared_ptr(const __weak_ptr<>&),
shared_ptr(const __shared_ptr<>&, __static_cast_tag),
shared_ptr(const __shared_ptr<>&, __const_cast_tag),
shared_ptr(const __shared_ptr<>&, __dynamic_cast_tag),
weak_ptr<>::weak_ptr(const __shared_ptr<>&), weak_ptr(const
__weak_ptr<>&)): Remove.
(shared_ptr<>::shared_ptr(const shared_ptr<>&),
shared_ptr(const weak_ptr<>&), shared_ptr(const shared_ptr<>&,
__static_cast_tag), shared_ptr(const shared_ptr<>&,
__const_cast_tag), shared_ptr(const shared_ptr<>&,
__dynamic_cast_tag), static_pointer_cast(const shared_ptr<>&),
const_pointer_cast(const shared_ptr<>&), dynamic_pointer_cast(const
shared_ptr<>&), weak_ptr<>::weak_ptr(const shared_ptr<>&),
weak_ptr(const weak_ptr<>&), weak_ptr<>::lock(),
__enable_shared_from_this_helper(const __shared_count<>&, const
enable_shared_from_this<>*, const _Tp2*)): Add.
(class enable_shared_from_this): Add.
* testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
1.cc: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/casts/1.cc:
Likewise.
* testsuite/tr1/2_general_utilities/memory/weak_ptr/lock/1.cc:
Likewise.
* include/tr1/boost_shared_ptr.h: Further formatting and
uglification fixes.
From-SVN: r117184
Zdenek Dvorak [Sun, 24 Sep 2006 19:11:16 +0000 (21:11 +0200)]
ivopts-1.c: New test.
* gcc.dg/tree-ssa/ivopts-1.c: New test.
* gcc.dg/tree-ssa/ivopts-2.c: New test.
Co-Authored-By: Adam Nemet <anemet@caviumnetworks.com>
From-SVN: r117183
Zdenek Dvorak [Sun, 24 Sep 2006 19:03:57 +0000 (21:03 +0200)]
tree-ssa-loop-ivopts.c (aff_combination_convert, [...]): New functions.
* tree-ssa-loop-ivopts.c (aff_combination_convert,
determine_common_wider_type): New functions.
(get_computation_aff): Use them to simplify arithmetic between
UBASE and CBASE if they are shortened from the same type.
Co-Authored-By: Adam Nemet <anemet@caviumnetworks.com>
From-SVN: r117182
Kazu Hirata [Sun, 24 Sep 2006 18:47:25 +0000 (18:47 +0000)]
re PR target/28911 (Cross compiler build for m68k--elf fails on x86_64-linux-gnu)
gcc/
PR target/28911
* config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
-
2147483647 - 1 instead of 0x80000000.
gcc/testsuite/
PR target/28911
* gcc.dg/pr28911.c: New.
From-SVN: r117181
Graeme Peterson [Sun, 24 Sep 2006 10:04:33 +0000 (10:04 +0000)]
* MAINTAINERS (Write After Approval): Remove myself.
From-SVN: r117179
Francois-Xavier Coudert [Sun, 24 Sep 2006 08:55:52 +0000 (10:55 +0200)]
Makefile.am: Remove dependency on gfortypes.h.
* Makefile.am: Remove dependency on gfortypes.h.
* Makefile.in: Regenerate.
From-SVN: r117178
GCC Administrator [Sun, 24 Sep 2006 00:17:18 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117176
Revital Eres [Sat, 23 Sep 2006 16:45:25 +0000 (16:45 +0000)]
flags.h (HONOR_NANS): Fix typo in comment.
gcc/
2001-01-01 Revital1 Eres <ERES@il.ibm.com>
* flags.h (HONOR_NANS): Fix typo in comment.
From-SVN: r117172
Uros Bizjak [Sat, 23 Sep 2006 14:40:07 +0000 (16:40 +0200)]
re PR target/29169 (sse3-not-fisttp.c scan-assembler-not fisttp FAILs on i386-pc-solaris2.10)
PR target/29169
* gcc.target/i386/sse-21.c: Rename from sse3-not-fisttp.c.
(dg-options): Add -mfpmath=387.
From-SVN: r117171
Uros Bizjak [Sat, 23 Sep 2006 10:33:27 +0000 (12:33 +0200)]
driver-i386.c (host_detect_local_cpu): Add prototype.
* config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
From-SVN: r117169
Jakub Jelinek [Sat, 23 Sep 2006 07:15:37 +0000 (09:15 +0200)]
re PR c/28706 (Compile failure with --combine and explicitly aligned structures)
PR c/28706
PR c/28712
* tree.c (merge_attributes, attribute_list_contained): If both
TREE_VALUEs are TREE_LISTs, use simple_cst_list_equal instead of
simple_cst_equal.
* c-typeck.c (comptypes_internal): Don't consider aggregates
in different TUs as compatible if there one set of attributes is
not a subset of the other type's attributes.
(composite_type): Try harder not to create a new aggregate type.
* gcc.dg/pr28706.c: New test.
* gcc.dg/pr28712.c: New test.
From-SVN: r117167
Danny Smith [Sat, 23 Sep 2006 01:56:55 +0000 (01:56 +0000)]
re PR libfortran/27964 (Wrong line ends on windows (XP))
PR libfortran/27964
* configure.ac: Check for setmode() function.
* configure: Regenerate.
* config.h.in: Regenerate.
* io/unix.c (output_stream): Force stdout to binary mode.
(error_stream): Force stderr to binary mode.
From-SVN: r117166
Mike Stump [Sat, 23 Sep 2006 00:27:26 +0000 (00:27 +0000)]
* obj-c++.dg/encode-3.mm: Fix for 64-bit support.
From-SVN: r117165
GCC Administrator [Sat, 23 Sep 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117163
Geoffrey Keating [Fri, 22 Sep 2006 23:50:51 +0000 (23:50 +0000)]
driver-i386.c: Always define host_detect_local_cpu.
* config/i386/driver-i386.c: Always define host_detect_local_cpu.
* config/i386/i386.h: Define EXTRA_SPEC_FUNCTIONS on any i386
or x86_64 host. Define HAVE_LOCAL_CPU_DETECT.
(CC1_CPU_SPEC): Make conditional on HAVE_LOCAL_CPU_DETECT rather
than replicating condition above.
* config.host (i[34567]86-*-*): Always use driver-i386.o.
From-SVN: r117159
Geoffrey Keating [Fri, 22 Sep 2006 23:38:42 +0000 (23:38 +0000)]
darwin.h (LINK_SYSROOT_SPEC): New.
* config/darwin.h (LINK_SYSROOT_SPEC): New.
(LINK_SPEC): If TARGET_SYSTEM_ROOT is defined, pass it to
the linker by default.
From-SVN: r117158
Geoffrey Keating [Fri, 22 Sep 2006 23:26:20 +0000 (23:26 +0000)]
configure.ac: Make need_64_bit_hwint case for x86-darwin match exactly the glob in gcc/config.gcc.
* configure.ac: Make need_64_bit_hwint case for x86-darwin
match exactly the glob in gcc/config.gcc.
* configure: Regenerate.
From-SVN: r117156
Marco Trudel [Fri, 22 Sep 2006 21:31:15 +0000 (23:31 +0200)]
jvmti.cc (_Jv_JVMTI_GetErrorName): Now static.
2006-09-22 Marco Trudel <mtrudel@gmx.ch>
* jvmti.cc (_Jv_JVMTI_GetErrorName): Now static. Marked JNICALL.
From-SVN: r117153
Mike Stump [Fri, 22 Sep 2006 19:47:53 +0000 (19:47 +0000)]
darwin.h (PROFILE_HOOK): Reassociate comment with code.
* config/rs6000/darwin.h (PROFILE_HOOK): Reassociate comment with
code.
From-SVN: r117152
Mike Stump [Fri, 22 Sep 2006 19:14:35 +0000 (19:14 +0000)]
Fix up whitespacing
From-SVN: r117151
Chao-ying Fu [Fri, 22 Sep 2006 18:54:44 +0000 (18:54 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r117150
David Daney [Fri, 22 Sep 2006 18:45:14 +0000 (18:45 +0000)]
re PR classpath/28661 (HTTP Header differs b/w java and classpath)
PR classpath/28661
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
default content-type for POST method.
From-SVN: r117149
Paolo Carlini [Fri, 22 Sep 2006 17:51:01 +0000 (17:51 +0000)]
PR libstdc++/29134 (vector<bool> bits)
2006-09-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29134 (vector<bool> bits)
* include/bits/stl_bvector.h (vector<bool>::max_size):
Use allocator' max_size.
* testsuite/23_containers/vector/bool/capacity/29134.cc: New.
* testsuite/23_containers/deque/capacity/29134-2.cc: Minor tweak.
* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
From-SVN: r117148
Paolo Carlini [Fri, 22 Sep 2006 15:54:52 +0000 (15:54 +0000)]
type_traits (add_reference): Robustify vs reference to void.
2006-09-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (add_reference): Robustify vs
reference to void.
* testsuite/tr1/4_metaprogramming/reference_modifications/
add_reference.cc: Add test.
* include/tr1/memory: include <tr1/type_traits>.
* include/tr1/boost_shared_ptr.h (__shared_ptr<>::operator*):
Use add_reference instead.
* testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
explicit_instantiation/1.cc: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/
explicit_instantiation/1.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/weak_ptr/
explicit_instantiation/1.cc: Likewise.
* testsuite/util/testsuite_tr1.h: Tweak; avoid empty enum.
* include/tr1/type_traits_fwd.h: Spelling fix.
* include/tr1/boost_shared_ptr.h: Obvious stylistic fixes.
From-SVN: r117147
Richard Guenther [Fri, 22 Sep 2006 15:43:27 +0000 (15:43 +0000)]
re PR middle-end/28964 (partition_stack_vars uses unstable sort)
2006-09-22 Richard Guenther <rguenther@suse.de>
PR middle-end/28964
* cfgexpand.c (stack_var_size_cmp): Use DECL_UID to make
sort of stack variables stable.
From-SVN: r117146
Paolo Carlini [Fri, 22 Sep 2006 14:22:21 +0000 (14:22 +0000)]
boost_shared_ptr.h: Trivial formatting fixes.
2006-09-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
From-SVN: r117145
Ian Lance Taylor [Fri, 22 Sep 2006 13:52:29 +0000 (13:52 +0000)]
re PR other/29176 (Seg fault in demangler)
PR other/29176
* cp-demangle.c (d_substitution): Check for overflow when
computing substitution index.
From-SVN: r117144
Peter Bergner [Fri, 22 Sep 2006 13:42:51 +0000 (08:42 -0500)]
Set REG_POINTER flag according to MEM_POINTER flag.
From-SVN: r117143
Sven de Marothy [Fri, 22 Sep 2006 13:04:22 +0000 (15:04 +0200)]
[multiple changes]
2006-08-02 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
(remove): Force event on removing item 0 when it's selected.
(handleEvent): Always call Choice.selected().
* java/awt/Choice.java:
(remove): Simplify and correct.
2006-07-30 Sven de Marothy <sven@physto.se>
* java/awt/Choice.java:
(accessibleAction): Call select() directly.
(add, insert, remove): Reimplement.
(dispatchEventImpl): Always call super.
(processItemEvent): Does not set the index.
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(append): removed.
(nativeAdd): Name changed to add.
(selection_changed_cb): Simplify callback.
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
(selected): New field.
(add): Replaced with native impl.
(handleEvent): New method.
From-SVN: r117142
Zdenek Dvorak [Fri, 22 Sep 2006 10:02:47 +0000 (10:02 +0000)]
re PR tree-optimization/28888 (ICE in tree check: expected cond_expr, have label_expr in simplify_using_initial_conditions, at tree-ssa-loop-niter.c)
PR tree-optimization/28888
* tree-if-conv.c (combine_blocks): Rewritten.
* tree-cfg.c (tree_verify_flow_info): Check that edges with
EDGE_TRUE/FALSE_VALUE follow COND_EXPR.
* gcc.dg/pr28888.c: New test.
From-SVN: r117135
Jakub Jelinek [Fri, 22 Sep 2006 08:32:45 +0000 (10:32 +0200)]
tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if needed.
* tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
needed.
From-SVN: r117134
Keith Seitz [Fri, 22 Sep 2006 02:12:12 +0000 (02:12 +0000)]
jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled events.
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
events.
(check_enabled_event): New function.
(check_enabled_events): New function.
(post_event): New function.
(_Jv_JVMTI_SetEventNotificationMode): New function.
(_Jv_JVMTI_SetEventCallbacks): New function.
(_Jv_JVMTI_Interface): Define SetEventNotificationMode and
SetEventCallbacks members.
* include/jvmti-int.h: New file.
* include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
(_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
* testsuite/libjava.jvmti/events.java: New file.
* testsuite/libjava.jvmti/events.out: New file.
* testsuite/libjava.jvmti/natevents.cc: New file.
From-SVN: r117133
GCC Administrator [Fri, 22 Sep 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117131
Sandro Tolaini [Thu, 21 Sep 2006 23:50:50 +0000 (01:50 +0200)]
configure.ac: Don't use darwin-signal.h as signal handler for Darwin/i386.
2006-09-21 Sandro Tolaini <tolaini@libero.it>
* configure.ac: Don't use darwin-signal.h as signal handler for
Darwin/i386.
* configure.host: Enable Darwin/i386 as a supported host, with no
signal unwinding.
From-SVN: r117127
Sandro Tolaini [Thu, 21 Sep 2006 23:47:30 +0000 (01:47 +0200)]
os_dep.c: Port to Darwin/i386
2006-09-21 Sandro Tolaini <tolaini@libero.it>
* os_dep.c: Port to Darwin/i386
* darwin_stop_world.c: Likewise
* include/private/gcconfig.h: Likewise
From-SVN: r117126
Mark Mitchell [Thu, 21 Sep 2006 22:18:54 +0000 (22:18 +0000)]
re PR c++/29016 (tree check: expected class 'expression', have 'exceptional' (baselink) in get_base_var, at ipa-utils.c:224)
PR c++/29016
* typeck.c (build_unary_op): Don't form an ADDR_EXPR around a
BASELINK.
PR c++/29016
* g++.dg/init/ptrfn1.C: New test.
From-SVN: r117123
Richard Sandiford [Thu, 21 Sep 2006 21:52:23 +0000 (21:52 +0000)]
varasm.c (copy_constant): Fix reversed gcc_assert check.
gcc/
* varasm.c (copy_constant): Fix reversed gcc_assert check.
From-SVN: r117121
Benjamin Kosnik [Thu, 21 Sep 2006 20:07:10 +0000 (20:07 +0000)]
type_traits.h (__numeric_traits_integer): New.
2006-09-21 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/type_traits.h (__numeric_traits_integer): New.
(__numeric_traits_floating): New.
(__numeric_traits): Use them.
* testsuite/ext/type_traits.cc: New.
From-SVN: r117119
Lee Millward [Thu, 21 Sep 2006 18:33:49 +0000 (18:33 +0000)]
re PR c++/28303 (ICE on invalid typedef)
PR c++/28303
* decl.c (grokdeclarator): Return error_mark_node on
declaration with two or more data types.
* g++.dg/template/typedef6.C: New test.
* g++.dg/init/error1.C: Adjust error markers.
* g++.dg/parse/crash9.C: Likewise.
* g++.dg/template/crash55.C: Likewise.
From-SVN: r117118
Lee Millward [Thu, 21 Sep 2006 18:22:11 +0000 (18:22 +0000)]
re PR c++/28861 (ICE on invalid in-class specialization)
PR c++/28861
* decl.c (shadow_tag): Return error_mark_node
if maybe_process_partial_specialization failed.
* g++.dg/template/spec32.C: New test.
* g++.dg/parse/crash9.C: Adjust error markers.
From-SVN: r117117
Paolo Carlini [Thu, 21 Sep 2006 17:54:50 +0000 (17:54 +0000)]
hash_map: Remove forward declaration of equality operator...
2006-09-21 Paolo Carlini <pcarlini@suse.de>
* include/ext/hash_map: Remove forward declaration of equality
operator, not needed for friendship of all its instances.
* include/ext/hash_set: Likewise.
* include/bits/stl_set.h: Likewise for equality operator and
operator less.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise for copy.
* include/std/std_streambuf.h: Likewise for __copy_aux and find.
* include/tr1/boost_shared_ptr.h: Likewise for get_deleter.
* include/tr1/random: Likewise, remove all forward declarations
of inserters and extractors.
From-SVN: r117116
Janis Johnson [Thu, 21 Sep 2006 17:34:47 +0000 (17:34 +0000)]
decfloat.h (DEC*_DEN): Define using the correct builtins.
gcc:
* ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins.
testsuite:
* gcc.dg/dfp/decfloat-constants.c: Remove 'dg-do compile', fix typo.
From-SVN: r117115
Roger Sayle [Thu, 21 Sep 2006 17:13:33 +0000 (17:13 +0000)]
re PR debug/29132 (Mips exception handling broken.)
2006-09-21 Roger Sayle <roger@eyesopen.com>
PR debug/29132
* dwarf2out.c (dwarf2out_begin_prologue): Initialise the current label,
dw_fde_current_label, to be the start of the function, i.e. the same
value as dw_fde_begin.
From-SVN: r117114