1. 22 Sep, 2006 9 commits
  2. 21 Sep, 2006 16 commits
    • configure.ac: Don't use darwin-signal.h as signal handler for Darwin/i386. · 9af06953
      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 committed
    • os_dep.c: Port to Darwin/i386 · de7a014d
      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
      Sandro Tolaini committed
    • re PR c++/29016 (tree check: expected class 'expression', have 'exceptional'… · b76d34e9
      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
      Mark Mitchell committed
    • varasm.c (copy_constant): Fix reversed gcc_assert check. · 2801ed8e
      gcc/
      	* varasm.c (copy_constant): Fix reversed gcc_assert check.
      
      From-SVN: r117121
      Richard Sandiford committed
    • type_traits.h (__numeric_traits_integer): New. · a1adedd0
      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
      Benjamin Kosnik committed
    • re PR c++/28303 (ICE on invalid typedef) · 32273f9f
              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 committed
    • re PR c++/28861 (ICE on invalid in-class specialization) · d2a8ac2c
              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
      Lee Millward committed
    • hash_map: Remove forward declaration of equality operator... · 7ffb61d5
      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
      Paolo Carlini committed
    • decfloat.h (DEC*_DEN): Define using the correct builtins. · 6750b31e
      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
      Janis Johnson committed
    • re PR debug/29132 (Mips exception handling broken.) · 72478f32
      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
      Roger Sayle committed
    • sso_string_base.h (__sso_string_base<>::_M_max_size(), [...]): Use _M_get_allocator. · 6c331f73
      2006-09-21  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_max_size(),
      	_M_destroy, _M_create): Use _M_get_allocator.
      
      From-SVN: r117111
      Paolo Carlini committed
    • crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of GLIBCXX_CHECK_COMPILER_FEATURES. · 552afe9e
      	* crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of
      	GLIBCXX_CHECK_COMPILER_FEATURES.
      	* configure.ac: Always invoke GLIBCXX_CHECK_COMPILER_FEATURES.
      	Remove invocations elsewhere.
      	* configure: Regenerate.
      
      From-SVN: r117110
      Ben Elliston committed
    • PR libstdc++/29134 (ext/vstring bits) · 3ad70747
      2006-09-21  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/29134 (ext/vstring bits)
      	* include/ext/sso_string_base.h (__sso_string_base<>::_S_max_size):
      	Remove.
      	(__sso_string_base<>::_M_max_size): Use allocator' max_size.
      	(__sso_string_base<>::_M_create): Adjust.
      	* include/ext/vstring.h: Minor comment tweak.
      	* testsuite/ext/vstring/capacity/29134.cc: New.
      
      From-SVN: r117109
      Paolo Carlini committed
    • Daily bump. · 93c2177f
      From-SVN: r117103
      GCC Administrator committed
    • re PR libstdc++/29134 (Has there been a serious attempt to define the max_size() member functions?) · 1f9c69a9
      2006-09-20  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/29134
      	* include/bits/stl_list.h (list<>::max_size): Forward to allocator'
      	max_size.
      	* include/bits/stl_vector.h (vector<>::max_size): Likewise.
      	* include/bits/stl_deque.h (deque<>::max_size): Likewise.
      	* include/bits/stl_tree.h (_Rb_tree<>::max_size): Likewise.
      	* include/tr1/hashtable (_Hashtable<>::max_size): Likewise.
      	* testsuite/23_containers/vector/capacity/29134.cc: Add.
      	* testsuite/23_containers/deque/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/list/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/set/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/map/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/multimap/capacity/29134.cc: Likewise.	
      	* testsuite/tr1/6_containers/unordered/capacity/29134-set.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered/capacity/29134-map.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered/capacity/29134-multiset.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/unordered/capacity/29134-multimap.cc:
      	Likewise.
      
      	* include/bits/deque.tcc (deque<>::_M_new_elements_at_front,
      	deque<>::_M_new_elements_at_back): Check for length errors.
      	* testsuite/23_containers/deque/capacity/29134-2.cc: New.
      	* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
      
      	* include/tr1/hashtable (_Hashtable<>::_M_get_Value_allocator): Add.
      	(_Hashtable<>::_M_allocate_node, _M_deallocate_node): Use it.
      	* testsuite/tr1/6_containers/unordered/instantiate/set.cc: Add test.
      	* testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
      	Likewise.
      
      From-SVN: r117099
      Paolo Carlini committed
    • jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked and return… · e853e26e
      jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
      
              * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
              and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
              (_Jv_JVMTI_GetClassMethods): Likewise.
              (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
              (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
      
      From-SVN: r117098
      Keith Seitz committed
  3. 20 Sep, 2006 15 commits
    • re PR target/27650 (internal compiler error while compiling Gecode) · 209532d1
      	PR target/27650
      	* g++.dg/ext/dllimport12.C: New test.
      
      From-SVN: r117097
      Danny Smith committed
    • re PR target/27650 (internal compiler error while compiling Gecode) · 756ccd2a
      	PR target/27650
      	* class.c (check_for_override): Remove dllimport from virtual
      	methods.
      
      From-SVN: r117096
      Danny Smith committed
    • mips.c (CODE_FOR_mips_abs_ps): Delete. · 1bded8e1
      gcc/
      	* config/mips/mips.c (CODE_FOR_mips_abs_ps): Delete.
      	* config/mips/mips.md (UNSPEC_ABS_PS): New constant.
      	(UNSPEC_RSQRT1, UNSPEC_RSQRT2, UNSPEC_RECIP1, UNSPEC_RECIP2)
      	(UNSPEC_SINGLE_CC, UNSPEC_SCC): Bump values by 1.
      	(*nmadd<mode>, *nmadd<mode>_fastmath): Require !HONOR_NANS.
      	(*nmsub<mode>, *nmsub<mode>_fastmath): Likewise.
      	(abs<mode>2, neg<mode>2): Likewise.
      	* config/mips/mips-ps-3d.md (mips_abs_ps): New define_expand.
      	(*mips_abs_ps): New define_insn.
      
      gcc/testsuite/
      	* gcc.target/mips/mips-ps-type.c: Add -ffinite-math-only.
      	* gcc.target/mips/nmadd-2.c: Likewise.
      	* gcc.target/mips/mips-ps-6.c: New test.
      	* gcc.target/mips/neg-abs-1.c: Likewise.
      	* gcc.target/mips/neg-abs-2.c: Likewise.
      	* gcc.target/mips/nmadd-3.c: New test.
      
      From-SVN: r117093
      Richard Sandiford committed
    • re PR ada/28716 (Ada: Bind_Socket doesn't bind to specified address) · d2b40c09
      2006-08-20  Laurent GUERBY  <laurent@guerby.net>
      
              PR ada/28716
              g-socket.adb (Bind_Socket): Call Set_Address.
      
      From-SVN: r117092
      Laurent GUERBY committed
    • re PR middle-end/25505 (gcc uses way too much stack space for this code) · 1186ec8c
      2006-09-20  Josh Conner  <jconner@apple.com>
      
      	PR middle-end/25505
      	* calls.c (expand_call): Allow reuse of structure return stack
      	temp.
      
      From-SVN: r117091
      Josh Conner committed
    • Remove stray gcc/ from ChangeLog. · f8031312
      From-SVN: r117088
      Paul Brook committed
    • unwind-arm.c (selfrel_offset31): Clear top bit for positive offsets. · d0cd71a0
      2006-09-20  Paul Brook  <paul@codesourcery.com>
      
      	gcc/
      	* config/arm/unwind-arm.c (selfrel_offset31): Clear top bit for
      	positive offsets.
      
      From-SVN: r117087
      Paul Brook committed
    • jvmti.cc (_Jv_JVMTI_GetErrorName): New function. · 19289614
              * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
              (_Jv_JVMTI_Interface): Define GetErrorName member.
              * testsuite/libjava.jvmti/geterrorname.java: New file.
              * testsuite/libjava.jvmti/geterrorname.out: New file.
              * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
      
      From-SVN: r117086
      Keith Seitz committed
    • extend.texi (Decimal Float): Update for latest draft TR, clean up terminology. · 85a92f7e
      	* doc/extend.texi (Decimal Float): Update for latest draft TR,
      	clean up terminology.
      
      From-SVN: r117085
      Janis Johnson committed
    • re PR target/28574 (switch statement points to unreferenced label at -O2) · 4e60515f
      	PR target/28574
      	* ifcvt.c (dead_or_predicable): Don't predicate then blocks
      	with tablejumps in them.
      
      From-SVN: r117084
      Steve Ellcey committed
    • typelist_assoc_container.hpp: Remove, unused. · d7f245b1
      2006-09-20  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/pb_ds/detail/
      	typelist_assoc_container.hpp: Remove, unused.
      	* include/ext/pb_ds/detail/typelist/
      	typelist_assoc_container_find.hpp: Same.
      	* include/ext/pb_ds/detail/typelist: Remove.	
      	* include/ext/pb_ds/detail/typelist.hpp: Merge...
      	* include/ext/pb_ds/detail/typelist/typelist_flatten.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_contains.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_typelist_append.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_apply.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_append.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_at_index.hpp: Same.
      	* include/ext/pb_ds/detail/typelist/typelist_transform.hpp: Same.
      	* include/ext/typelist.h: ... into this.
      	* include/Makefile.am: Subtractions.
      	* include/Makefile.in: Regenerate.
      
      	* include/ext/pb_ds/assoc_container.hpp: Fixups for new includes,
      	namespaces, and names.	
      	* include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	hash_prime_size_policy_imp.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	cc_hash_max_collision_check_resize_trigger_imp.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	sample_resize_policy.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	sample_resize_trigger.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	hash_exponential_size_policy_imp.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	hash_load_check_resize_trigger_size_base.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	hash_load_check_resize_trigger_imp.hpp: Same.
      	* include/ext/pb_ds/detail/resize_policy/
      	hash_standard_resize_policy_imp.hpp: Same.
      	* include/ext/pb_ds/detail/container_base_dispatch.hpp: Same.
      	* testsuite/performance/ext/pb_ds/text_find_timing.cc
      	* testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc
      	* testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc
      	* testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc
      	* testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc
      	* testsuite/performance/ext/pb_ds/tree_split_join_timing.cc
      	* testsuite/performance/ext/pb_ds/random_int_find_timing.cc
      	* testsuite/performance/ext/pb_ds/
      	multimap_text_insert_mem_usage.hpp: Same.
      	* testsuite/performance/ext/pb_ds/
      	priority_queue_random_int_push_timing.cc
      	* 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
      	* testsuite/performance/ext/pb_ds/
      	priority_queue_text_push_pop_timing.cc
      	* testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc
      	* testsuite/performance/ext/pb_ds/
      	priority_queue_random_int_push_pop_timing.cc
      	* testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc
      	* testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc
      	* testsuite/performance/ext/pb_ds/
      	multimap_text_insert_timing.hpp: Same.
      	* testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc
      	* testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc
      	* testsuite/performance/23_containers/find/map.cc
      	* testsuite/performance/23_containers/create/map.cc
      	* testsuite/performance/23_containers/insert_erase/associative.cc
      	* testsuite/performance/23_containers/insert/sequence.cc
      	* testsuite/performance/23_containers/insert/associative.cc
      	* testsuite/performance/23_containers/create_from_sorted/set.cc
      	* testsuite/performance/23_containers/index/map.cc
      	* testsuite/performance/23_containers/insert_from_sorted/set.cc
      	* testsuite/performance/23_containers/create_sort/list.cc
      	* testsuite/performance/23_containers/sort_search/list.cc
      	* testsuite/performance/23_containers/producer_consumer/sequence.cc
      	* testsuite/performance/23_containers/producer_consumer/associative.cc
      	* 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/rand_regression_test.hpp: Same.
      	* testsuite/util/regression/assoc/common_type.hpp: Same.
      	* testsuite/util/native_type/assoc/native_multimap.hpp: Same.
      	* testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
      	* testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
      	* testsuite/util/native_type/assoc/native_set.hpp: Same.
      	* testsuite/util/native_type/assoc/native_map.hpp: Same.
      	* testsuite/util/native_type/assoc/native_hash_set.hpp: Same.
      	* testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
      	* testsuite/util/common_type/priority_queue/common_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/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/common_type.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/ext/pb_ds/example/hash_resize_neg.cc: Fixup line numbers.
      
      From-SVN: r117081
      Benjamin Kosnik committed
    • ChangeLog: Fix latest entry. · a186e616
      
      	* ChangeLog: Fix latest entry.
      
      From-SVN: r117080
      Gary Benson committed
    • re PR middle-end/28046 (libgomp test pr27337.C fails intermittently) · 66bb4f32
      	PR middle-end/28046
      	* c-omp.c (c_finish_omp_atomic): If ADDR is not simple enough,
      	wrap it into TARGET_EXPR.
      
      	* gcc.dg/gomp/atomic-10.c: New test.
      	* g++.dg/gomp/atomic-10.C: New test.
      
      From-SVN: r117077
      Jakub Jelinek committed
    • i386.c (x86_fisttp): Remove. · 1e993cb8
      2006-09-20  Eric Christopher  <echristo@apple.com>
      
              * config/i386/i386.c (x86_fisttp): Remove.
              * config/i386/i386.h (x86_fisttp): Ditto.
              (TARGET_FISTTP): Ditto.
      
      2006-09-20  Eric Christopher  <echristo@apple.com>
      
              * gcc.target/i386/sse3-not-fisttp.c: New.
      
      From-SVN: r117076
      Eric Christopher committed
    • InetAddress.java: Mostly merged with Classpath. · aac86978
      2006-09-20  Gary Benson  <gbenson@redhat.com>
      
      	* java/net/InetAddress.java: Mostly merged with Classpath.
      	* java/net/VMInetAddress.java: New file.
      	* sources.am, Makefile.in: Rebuilt.
      
      	* java/net/natVMNetworkInterfacePosix.cc
      	(getInterfaces): Create InetAddress objects using
      	InetAddress.getByAddress.
      	* gnu/java/net/natPlainSocketImplPosix.cc
      	(accept, getOption): Likewise.
      	* gnu/java/net/natPlainDatagramSocketImplPosix.cc
      	(peekData, receive, getLocalAddress): Likewise.
      
      From-SVN: r117075
      Gary Benson committed