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
Paolo Carlini [Thu, 21 Sep 2006 13:39:38 +0000 (13:39 +0000)]
sso_string_base.h (__sso_string_base<>::_M_max_size(), [...]): Use _M_get_allocator.
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
Ben Elliston [Thu, 21 Sep 2006 12:07:36 +0000 (12:07 +0000)]
crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of GLIBCXX_CHECK_COMPILER_FEATURES.
* 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
Paolo Carlini [Thu, 21 Sep 2006 10:34:48 +0000 (10:34 +0000)]
PR libstdc++/29134 (ext/vstring bits)
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
GCC Administrator [Thu, 21 Sep 2006 00:17:26 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117103
Paolo Carlini [Thu, 21 Sep 2006 00:11:52 +0000 (00:11 +0000)]
re PR libstdc++/29134 (Has there been a serious attempt to define the max_size() member functions?)
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
Keith Seitz [Thu, 21 Sep 2006 00:09:48 +0000 (00:09 +0000)]
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
Danny Smith [Wed, 20 Sep 2006 23:32:07 +0000 (23:32 +0000)]
re PR target/27650 (internal compiler error while compiling Gecode)
PR target/27650
* g++.dg/ext/dllimport12.C: New test.
From-SVN: r117097
Danny Smith [Wed, 20 Sep 2006 23:27:05 +0000 (23:27 +0000)]
re PR target/27650 (internal compiler error while compiling Gecode)
PR target/27650
* class.c (check_for_override): Remove dllimport from virtual
methods.
From-SVN: r117096
Richard Sandiford [Wed, 20 Sep 2006 21:09:42 +0000 (21:09 +0000)]
mips.c (CODE_FOR_mips_abs_ps): Delete.
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
Laurent GUERBY [Wed, 20 Sep 2006 20:46:28 +0000 (20:46 +0000)]
re PR ada/28716 (Ada: Bind_Socket doesn't bind to specified address)
2006-08-20 Laurent GUERBY <laurent@guerby.net>
PR ada/28716
g-socket.adb (Bind_Socket): Call Set_Address.
From-SVN: r117092
Josh Conner [Wed, 20 Sep 2006 18:57:46 +0000 (18:57 +0000)]
re PR middle-end/25505 (gcc uses way too much stack space for this code)
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
Paul Brook [Wed, 20 Sep 2006 17:30:20 +0000 (17:30 +0000)]
Remove stray gcc/ from ChangeLog.
From-SVN: r117088
Paul Brook [Wed, 20 Sep 2006 17:29:25 +0000 (17:29 +0000)]
unwind-arm.c (selfrel_offset31): Clear top bit for positive offsets.
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
Keith Seitz [Wed, 20 Sep 2006 16:56:53 +0000 (16:56 +0000)]
jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
* 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
Janis Johnson [Wed, 20 Sep 2006 16:48:21 +0000 (16:48 +0000)]
extend.texi (Decimal Float): Update for latest draft TR, clean up terminology.
* doc/extend.texi (Decimal Float): Update for latest draft TR,
clean up terminology.
From-SVN: r117085
Steve Ellcey [Wed, 20 Sep 2006 16:41:12 +0000 (16:41 +0000)]
re PR target/28574 (switch statement points to unreferenced label at -O2)
PR target/28574
* ifcvt.c (dead_or_predicable): Don't predicate then blocks
with tablejumps in them.
From-SVN: r117084
Benjamin Kosnik [Wed, 20 Sep 2006 13:49:46 +0000 (13:49 +0000)]
typelist_assoc_container.hpp: Remove, unused.
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
Gary Benson [Wed, 20 Sep 2006 11:47:14 +0000 (11:47 +0000)]
ChangeLog: Fix latest entry.
* ChangeLog: Fix latest entry.
From-SVN: r117080
Jakub Jelinek [Wed, 20 Sep 2006 08:22:04 +0000 (10:22 +0200)]
re PR middle-end/28046 (libgomp test pr27337.C fails intermittently)
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
Eric Christopher [Wed, 20 Sep 2006 08:11:19 +0000 (08:11 +0000)]
i386.c (x86_fisttp): Remove.
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
Gary Benson [Wed, 20 Sep 2006 07:55:26 +0000 (07:55 +0000)]
InetAddress.java: Mostly merged with Classpath.
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 [Wed, 20 Sep 2006 07:53:18 +0000 (07:53 +0000)]
InetAddress.java: Updated to latest.
2006-09-20 Gary Benson <gbenson@redhat.com>
* classpath/java/net/InetAddress.java: Updated to latest.
* classpath/java/net/Inet4Address.java: Likewise.
* classpath/java/net/Inet6Address.java: Likewise.
* classpath/java/net/ResolverCache.java: Likewise.
* classpath/java/net/SocketPermission.java: Likewise.
* classpath/java/net/Inet4Address.java
(AF_INET): Renamed to FAMILY.
(<init>, writeReplace): Reflect the above.
* classpath/java/net/Inet6Address.java
(AF_INET6): Renamed to FAMILY.
(<init>): Reflect the above.
From-SVN: r117074
Jack Howarth [Wed, 20 Sep 2006 00:59:45 +0000 (00:59 +0000)]
vect-5.f90: Don't xfail lp64.
2006-09-19 Jack Howarth <howarth@bromo.med.uc.edu>
* gfortran.dg/vect/vect-5.f90: Don't xfail lp64.
From-SVN: r117072
GCC Administrator [Wed, 20 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117070
Eric Christopher [Tue, 19 Sep 2006 23:56:17 +0000 (23:56 +0000)]
tm.texi (OBJC_JBLEN): Describe.
2006-09-19 Eric Christopher <echristo@apple.com>
* doc/tm.texi (OBJC_JBLEN): Describe.
* config/i386/darwin.h (OBJC_JBLEN): Define.
* config/rs6000/darwin.h: Ditto.
2006-09-19 Eric Christopher <echristo@apple.com>
* objc-act.c (JBLEN): Rename to OBJC_JBLEN,
default to something innocuous.
(build_next_objc_exception_stuff): Rename JBLEN.
From-SVN: r117066
Keith Seitz [Tue, 19 Sep 2006 23:28:29 +0000 (23:28 +0000)]
* testsuite/libjava.jvmti/jvmti.exp: New file.
From-SVN: r117065
Keith Seitz [Tue, 19 Sep 2006 23:12:17 +0000 (23:12 +0000)]
jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
* jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
(THREAD_CHECK_VALID): Likewise.
(THREAD_CHECK_ALIVE): Likewise.
(_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
jthread.
(_Jv_JVMTI_ResumeThread): Likewise.
(_Jv_JVMTI_InterruptThread): Likewise.
(_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
that was just freed.
From-SVN: r117064
Steven Bosscher [Tue, 19 Sep 2006 21:22:31 +0000 (21:22 +0000)]
re PR rtl-optimization/21299 (internal error on invalid asm statement)
PR rtl-optimization/21299
* reload1.c (reload): Purge invalid ASMs in the final pass.
From-SVN: r117061
Richard Sandiford [Tue, 19 Sep 2006 17:44:12 +0000 (17:44 +0000)]
pr28289.c (one): New variable.
gcc/testsuite/
* gcc.c-torture/execute/pr28289.c (one): New variable.
(main): Use it instead of argc.
* gcc.c-torture/execute/
20060102-1.c (one): New variable.
(main): Use it instead of argc.
From-SVN: r117060
Tom Tromey [Tue, 19 Sep 2006 16:23:34 +0000 (16:23 +0000)]
[multiple changes]
2006-09-19 Mark Wielaard <mark@klomp.org>
Fixes bug #29137
* java/util/logging/LogManager.java (addLogger): Always check for
existing children of a new Logger.
2006-09-19 Tom Tromey <tromey@redhat.com>
* java/util/logging/LogManager.java: Re-merged with Classpath.
From-SVN: r117058
Steve Ellcey [Tue, 19 Sep 2006 16:09:48 +0000 (16:09 +0000)]
re PR target/28490 (ICE in ia64_expand_move, at config/ia64/ia64.c:1088)
PR 28490
* config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
pointers as legitimate constants.
From-SVN: r117057
Paul Brook [Tue, 19 Sep 2006 13:19:24 +0000 (13:19 +0000)]
re PR target/28516 (arm_unwind_emit_set, at config/arm/arm.c:15419 with -fexceptions)
2006-09-19 Paul Brook <paul@codesourcery.com>
PR target/28516
gcc/
* config/arm/arm.c (arm_unwind_emit_set): Handle reg = sp + const.
gcc/testsuite/
* gcc.dg/nested-func-5.c: New test.
From-SVN: r117056
Paul Thomas [Tue, 19 Sep 2006 11:04:55 +0000 (11:04 +0000)]
re PR fortran/29101 (Memory leak in gfortran)
2006-09-19 Paul Thomas <pault@gcc.gnu.org>
Steven Bosscher <steven@gcc.gnu.org>
PR fortran/29101
* trans-stmt.c (gfc_trans_character_select): Store the label
from select_string and then clean up any temporaries from the
conversion of the select expression, before branching to the
selected case.
Co-Authored-By: Steven Bosscher <steven@gcc.gnu.org>
From-SVN: r117053
Paolo Carlini [Tue, 19 Sep 2006 09:07:56 +0000 (09:07 +0000)]
hashtable_policy.h: Uglify all the names.
2006-09-19 Paolo Carlini <pcarlini@suse.de>
* include/tr1/hashtable_policy.h: Uglify all the names.
* include/tr1/hashtable: Likewise.
* include/tr1/unordered_map: Likewise.
* include/tr1/unordered_set: Likewise.
* include/tr1/functional: Uglify struct hash names.
* include/tr1/cmath: Uglify namespace detail to __detail.
From-SVN: r117052
Andrew Pinski [Tue, 19 Sep 2006 05:08:41 +0000 (22:08 -0700)]
Fix some whitespace issues in the changelog.
From-SVN: r117051
Benjamin Kosnik [Tue, 19 Sep 2006 02:33:21 +0000 (02:33 +0000)]
res_mng: Remove.
2006-09-18 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/regression/res_mng: Remove.
* testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Merge..
* testsuite/util/regression/res_mng/forced_exception.hpp: Merge...
* testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Merge..
* testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Merge..
* testsuite/util/testsuite_allocator.h (throw_allocator): Merge...
* include/ext/throw_allocator.h (throw_allocator): ... into this.
* src/throw_allocator.cc: ...and this.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/Makefile.am (sources): New.
* src/Makefile.in: Regenerate.
* testsuite/lib/libstdc++.exp: Subtract dbg_ex_allocator_base.cc.
* include/ext/pb_ds/detail/map_debug_base.hpp: Adjust
includes, names, and namespaces.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
* testsuite/util/regression/rand/priority_queue/detail/
erase_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
constructor_destructor_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
insert_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
modify_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
split_join_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
operator_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
container_rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
subscript_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
operator_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
constructor_destructor_fn_imps.hpp
* testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
split_join_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.hpp: Same.
* testsuite/util/regression/priority_queue/common_type.hpp: Same.
* testsuite/util/regression/assoc/common_type.hpp: Same.
* testsuite/util/regression/basic_type.hpp: Same.
* testsuite/util/rng/twister_rand_gen.cc: Tweak.
From-SVN: r117050
Tom Tromey [Tue, 19 Sep 2006 01:48:06 +0000 (01:48 +0000)]
tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to GCC_ENABLE.
config
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.
libgomp
* configure: Rebuilt.
libstdc++-v3
* configure: Rebuilt.
libmudflap
* configure: Rebuilt.
libjava
* configure: Rebuilt.
From-SVN: r117049
GCC Administrator [Tue, 19 Sep 2006 00:17:26 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117047
Petr Salinger [Mon, 18 Sep 2006 23:30:15 +0000 (01:30 +0200)]
configure.host: Handle kfreebsd.
2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
* configure.host: Handle kfreebsd.
From-SVN: r117043
Ben Elliston [Mon, 18 Sep 2006 22:40:59 +0000 (22:40 +0000)]
target-supports.exp (check_effective_target_tls): Compile test stubs using ${tool}_target_compile, not just target_compile.
* lib/target-supports.exp (check_effective_target_tls): Compile
test stubs using ${tool}_target_compile, not just target_compile.
(check_effective_target_tls_runtime): Likewise.
From-SVN: r117041
Ben Elliston [Mon, 18 Sep 2006 22:25:46 +0000 (22:25 +0000)]
* gcc.c-torture/compile/
20030405-1.x: Remove.
From-SVN: r117040
Ben Elliston [Mon, 18 Sep 2006 22:24:13 +0000 (22:24 +0000)]
const2.C (main): Examine p to prevent an optimising linker from discarding it.
* g++.old-deja/g++.pt/const2.C (main): Examine p to prevent an
optimising linker from discarding it.
From-SVN: r117039
Tom Tromey [Mon, 18 Sep 2006 21:05:26 +0000 (21:05 +0000)]
SSLSocket.java (isBound, [...]): Removed old comment.
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
isConnected): Removed old comment.
(getRemoteSocketAddress): Uncommented.
(setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
setTrafficClass, getTrafficClass, setReuseAddress,
getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
isOutputShutdown): Uncommented.
From-SVN: r117035
Paul Thomas [Mon, 18 Sep 2006 20:19:50 +0000 (20:19 +0000)]
re PR fortran/28526 ('end' is recognized as a variable incorrectly)
2006-09-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28526
* primary.c (match_variable): If the compiler is in a module
specification block, an interface block or a contains section,
reset host_flag to force the changed symbols mechanism.
PR fortran/29101
* trans-stmt.c (gfc_trans_character_select): Add the post block
for the expression to the main block, after the call to
select_string and the last label.
2006-09-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28526
* gfortran.dg/keyword_symbol_1.f90: New test.
* gfortran.dg/spread_shape_1.f90: Add missing warning with
pedantic compilation option.
From-SVN: r117034
Petr Salinger [Mon, 18 Sep 2006 18:45:08 +0000 (20:45 +0200)]
configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8.
2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
* configure.ac: add support for GNU/kFreeBSD, accepted by upstream
for gc 6.8.
* dyn_load.c: Likewise.
* include/gc.h: Likewise.
* private/gcconfig.h: Likewise.
* configure: Regenerate.
* include/gc_config.h.in: Regenerate.
From-SVN: r117033
Petr Salinger [Mon, 18 Sep 2006 18:34:56 +0000 (20:34 +0200)]
configure: Rebuilt.
2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
* configure: Rebuilt.
* shlibpath.m4: Handle GNU/kFreeBSD.
From-SVN: r117032
Tom Tromey [Mon, 18 Sep 2006 17:10:36 +0000 (17:10 +0000)]
removed old conflict marker
From-SVN: r117030
Gerald Pfeifer [Mon, 18 Sep 2006 17:07:14 +0000 (17:07 +0000)]
* gcc_release (LC_ALL): Default to C.
From-SVN: r117029
Paolo Carlini [Mon, 18 Sep 2006 16:05:25 +0000 (16:05 +0000)]
locale_facets.tcc (_M_group_int): Remove redundant using-declaration.
2006-09-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (_M_group_int): Remove
redundant using-declaration.
From-SVN: r117028
Steven Bosscher [Mon, 18 Sep 2006 15:32:43 +0000 (15:32 +0000)]
re PR c++/29087 (More than 35000 switch cases crash cc1plus)
PR c++/29087
* parser.c (cp_parser_labeled_statement): Return nothing. Do
not take in_statement_expr and in_compound as arguments. Rename
to cp_parser_label_for_labeled_statement. Parse only the label,
not the statement.
(cp_parser_statement): Parse the statement of a labeled-statement
from here, using tail recursion.
From-SVN: r117026
Benjamin Kosnik [Mon, 18 Sep 2006 13:57:19 +0000 (13:57 +0000)]
typelist.h (cond_type): Remove, use __conditional_type.
2006-09-18 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/typelist.h (cond_type): Remove, use __conditional_type.
From-SVN: r117025
Benjamin Kosnik [Mon, 18 Sep 2006 13:30:56 +0000 (13:30 +0000)]
type_traits.h: New.
2006-09-18 Benjamin Kosnik <bkoz@redhat.com>
Peter Doerfler <gcc@pdoerfler.com>
Paolo Carlini <pcarlini@suse.de>
* include/ext/type_traits.h: New.
(__conditional_type): New.
(__numeric_traits): New.
(__add_unsigned): New.
(__remove_unsigned): New.
(__enable_if): New.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* include/ext/pb_ds/detail/type_utils.hpp: Use ext include,
remove duplicates.
* include/tr1/hashtable_policy.h (IF): Use __conditional_type.
(_Max_digits10): Same.
(identity): Use _Identity.
(extract1st): Use _Select1st.
* include/tr1/random (_Select): Use __conditional_type.
(_To_Unsigned_Type): Use __add_unsigned. Linebreak fixups.
* include/bits/locale_facets.tcc (__to_unsigned_type): Remove, use
__add_unsigned.
* include/tr1/random.tcc: Fixups as above.
* include/tr1/unordered_map: Same.
* include/tr1/hashtable: Same.
* include/tr1/unordered_set: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
standard_policies.hpp: Same.
* include/ext/pb_ds/detail/standard_policies.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
* include/ext/pb_ds/detail/type_utils.hpp: Same.
* include/ext/pb_ds/trie_policy.hpp: Same.
* docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.
* include/bits/cpp_type_traits.h (__enable_if): Move to ext, make
boolean argument first.
* include/bits/locale_facets.h: Fixups for __enable_if argument
and namespace switch.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/streambuf_iterator.h: Same.
* include/debug/safe_iterator.h: Same.
* include/tr1/hashtable_policy.h: Same.
* include/tr1/cmath: Same.
* include/tr1/functional: Same.
* include/tr1/functional_iterate.h: Same.
* include/std/std_streambuf.h: Same.
* include/c_std/std_cmath.h: Same.
* testsuite/util/testsuite_tr1.h: Same.
* testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
Co-Authored-By: Peter Doerfler <gcc@pdoerfler.com>
From-SVN: r117024
Paolo Carlini [Mon, 18 Sep 2006 09:19:36 +0000 (09:19 +0000)]
re PR libstdc++/29063 (valarray does not undefine all temp macros)
2006-09-18 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29063
* include/bits/valarray_array.h: Fix typo, undefine
_DEFINE_ARRAY_FUNCTION.
* include/std/std_valarray.h: Undefine _DEFINE_BINARY_OPERATOR.
From-SVN: r117019
Paul Thomas [Mon, 18 Sep 2006 06:24:54 +0000 (06:24 +0000)]
re PR fortran/29060 (spread causes ICE in gfc_trans_array_constructor)
2006-09-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29060
* iresolve.c (resolve_spread): Build shape for result if the
source shape is available and dim and ncopies are constants.
PR fortran/28817
PR fortran/21918
* trans-decl.c (generate_local_decl): Change from 'warning' to
'gfc_warning' to have line numbers correctly reported.
2006-09-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29060
* gfortran.dg/spread_shape_1.f90: New test.
From-SVN: r117014
Feng Wang [Mon, 18 Sep 2006 03:44:45 +0000 (03:44 +0000)]
Fix ChangeLog format: Add * before filename.
From-SVN: r117013
Roger Sayle [Mon, 18 Sep 2006 01:54:33 +0000 (01:54 +0000)]
re PR tree-optimization/28887 (rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays)
2006-09-17 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/28887
* tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
component parts from the reference.
(gather_memory_references_ref): Record the reference without the
nonaddressable component parts.
* gcc.dg/prefetch-loop-arrays-1.c: New test case.
From-SVN: r117012
GCC Administrator [Mon, 18 Sep 2006 00:17:33 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117010
Bernhard Fischer [Sun, 17 Sep 2006 22:13:26 +0000 (00:13 +0200)]
dg-cmp-results.sh (compare-$$.awk): Print name[old] and not non-existing nm[old].
2006-09-18 Bernhard Fischer <aldot@gcc.gnu.org>
* dg-cmp-results.sh (compare-$$.awk): Print name[old]
and not non-existing nm[old].
From-SVN: r117006
Steven Bosscher [Sun, 17 Sep 2006 13:14:53 +0000 (13:14 +0000)]
re PR c/25993 (-std= produces incorrect preprocessor output for .S)
gcc/
PR c/25993
* c-opts.c (c_common_handle_option): Ignore the -std options
if the input language is assembly.
testsuite/
PR c/25993
* gcc.dg/pr25993.c: New test.
From-SVN: r117005
Ira Rosen [Sun, 17 Sep 2006 09:17:51 +0000 (09:17 +0000)]
re PR tree-optimization/21591 (not vectorizing a loop with access to structs)
PR tree-opt/21591
* tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
tag first.
(ptr_ptr_may_alias_p): Likewise.
(record_record_differ_p): New function.
(base_object_differ_p): Call record_record_differ_p.
From-SVN: r117003
GCC Administrator [Sun, 17 Sep 2006 00:17:14 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117001
Andrew Pinski [Sat, 16 Sep 2006 22:52:11 +0000 (15:52 -0700)]
re PR tree-optimization/29059 (ICE: verify_stmts failed (invalid operand to unary operator ""[0];))
2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/29059
* gcc.c-torture/compile/strcpy-1.c: New test.
* gcc.c-torture/compile/strcpy-2.c: New test.
* gcc.c-torture/compile/memcpy-1.c: New test.
* gcc.c-torture/compile/memcpy-2.c: New test.
2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/29059
* tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
away for the expr argument.
From-SVN: r116997
Steven Bosscher [Sat, 16 Sep 2006 20:06:23 +0000 (20:06 +0000)]
tree-vectorizer.c (vectorize_loops): Clear vect_loop_location before using it for dumping after vectorizing loops.
* tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
before using it for dumping after vectorizing loops.
From-SVN: r116996
Andrew Pinski [Sat, 16 Sep 2006 09:01:16 +0000 (09:01 +0000)]
re PR target/29030 (gcc.dg/array-9.c produces internal compiler error on Darwin at -m64)
2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
Jack Howarth <howarth@bromo.med.uc.edu>
PR target/29030
* config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse)
skip on error_mark_node. (rs6000_darwin64_record_arg_recurse): Likewise.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r116994
Jack Howarth [Sat, 16 Sep 2006 08:55:54 +0000 (08:55 +0000)]
re PR testsuite/29055 (gcc.target/powerpc/darwin-bool-1.c fails on powerpc-apple-darwin8 at -m64)
2006-09-16 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/29055
* gcc.target/powerpc/darwin-bool-1.c: Skip -m64
From-SVN: r116993
Steven Bosscher [Sat, 16 Sep 2006 08:46:22 +0000 (08:46 +0000)]
rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
* rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
* doc/rtl.texi: Remove related documentation.
From-SVN: r116992
Paul Thomas [Sat, 16 Sep 2006 04:28:44 +0000 (04:28 +0000)]
select_6.f90: Change message.
2006-09-16 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/select_6.f90: Change message.
From-SVN: r116991
Kaveh R. Ghazi [Sat, 16 Sep 2006 02:54:29 +0000 (02:54 +0000)]
decNumber.c (decNumberPower): Constify.
* decNumber.c (decNumberPower): Constify.
* decNumber.h (decNumberPower): Likewise.
From-SVN: r116990
GCC Administrator [Sat, 16 Sep 2006 00:17:17 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116988
Bernd Schmidt [Fri, 15 Sep 2006 23:32:58 +0000 (23:32 +0000)]
loop-doloop.c (doloop_optimize): Remove bogus arg from debugging printf.
* loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
printf.
From-SVN: r116984
James E Wilson [Fri, 15 Sep 2006 23:05:40 +0000 (16:05 -0700)]
Short term fix for PR 28490.
* config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST):
Handle symbol offsets same as they are handled in ia64_expand_move
and move_operand.
From-SVN: r116983
Andreas Tobler [Fri, 15 Sep 2006 22:47:26 +0000 (22:47 +0000)]
loop-doloop.c (doloop_optimize): Change type of max_cost to int.
2006-09-16 Andreas Tobler <a.tobler@schweiz.org>
* loop-doloop.c (doloop_optimize): Change type of max_cost to int.
Add forgotten parameter to the fprintf call.
From-SVN: r116982
Eric Botcazou [Fri, 15 Sep 2006 18:32:24 +0000 (18:32 +0000)]
re PR ada/15802 (ICE at expr.c:6764 (placeholder mechanism))
PR ada/15802
* decl.c (same_discriminant_p): New static function.
(gnat_to_gnu_entity) <E_Record_Type>: When there is a parent
subtype and we have discriminants, fix up the COMPONENT_REFs
for the discriminants to make them reference the corresponding
fields of the parent subtype after it has been built.
From-SVN: r116981
Steve Ellcey [Fri, 15 Sep 2006 18:14:10 +0000 (18:14 +0000)]
* config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
From-SVN: r116980
Paul Thomas [Fri, 15 Sep 2006 16:30:52 +0000 (16:30 +0000)]
re PR fortran/29051 (segfault when too few values are in data statement of character array)
2006-09-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29051
* decl.c (match_old_style_init): Set the 'where' field of the
gfc_data structure 'newdata'.
* match.c (match_case_eos): Add a comprehensible error message.
2006-09-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29051
* gfortran.dg/oldstyle_3.f90: New test.
From-SVN: r116977
Jerry DeLisle [Fri, 15 Sep 2006 16:07:53 +0000 (16:07 +0000)]
re PR libfortran/29099 (secnds intrinsic gives wrong result)
2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29099
* gfortran.dg/secnds-1.f: New test.
From-SVN: r116976
Jerry DeLisle [Fri, 15 Sep 2006 16:03:52 +0000 (16:03 +0000)]
re PR libfortran/29099 (secnds intrinsic gives wrong result)
2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29099
* intrinsics/date_and_time.c (secnds): Fix case of zero time.
From-SVN: r116975
Uros Bizjak [Fri, 15 Sep 2006 15:59:33 +0000 (17:59 +0200)]
contrib.texi: Add my entry.
* doc/contrib.texi: Add my entry.
From-SVN: r116974
Nick Clifton [Fri, 15 Sep 2006 15:27:43 +0000 (15:27 +0000)]
md.texi (Processor pipeline description): Fix typo in example of how to use the absence_set directive and reword the...
* doc/md.texi (Processor pipeline description): Fix typo in
example of how to use the absence_set directive and reword the
description to make it slightly easier to read.
From-SVN: r116973
Bernd Schmidt [Fri, 15 Sep 2006 14:41:43 +0000 (14:41 +0000)]
bfin.c (struct loop_info): New members block_bitmap and bad.
* config/bfin/bfin.c (struct loop_info): New members block_bitmap and
bad.
(struct loop_work and related VEC declarations): Delete.
(bfin_dump_loops): Print out new member bad.
(bfin_bb_in_loop): Use plain bitmap test. Don't recurse.
(bfin_scan_loop): Don't recurse.
(bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
loops. No longer need to update outer loops if the current one is
found bad. Move some validitiy checks to bfin_discover_loop.
(bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
but changed not to check for nesting. Also changed to use the new bad
flag.
(bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
time. Use bitmap based test to discover loop nesting.
From-SVN: r116972
Jerry DeLisle [Fri, 15 Sep 2006 13:32:12 +0000 (13:32 +0000)]
re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up)
2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29053
* gfortran.dg/streamio_9.f90: New test.
* gfortran.dg/streamio_10.f90: New test.
From-SVN: r116971
Jerry DeLisle [Fri, 15 Sep 2006 13:16:15 +0000 (13:16 +0000)]
re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up)
2006-09-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29053
* io.h (gfc_unit): Add variable, strm_pos, to track
STREAM I/O file position.
* file_pos.c (st_rewind): Set strm_pos to beginning.
* open.c (new_unit): Initialize strm_pos.
* read.c (read_x): Bump strm_pos.
* inquire.c (inquire_via_unit): Return strm_pos value.
* transfer.c (read_block),(read_block_direct),(write_block)
(write_buf): Seek to strm_pos - 1. Update strm_pos when done.
(pre_position): Initialize strm_pos.
(data_transfer_init): Set strm_pos if DT_HAS_REC.
(finalize_transfer): Flush file, no need to update strm_pos.
From-SVN: r116970
Bernd Schmidt [Fri, 15 Sep 2006 12:41:08 +0000 (12:41 +0000)]
cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
From-SVN: r116969
Bernd Schmidt [Fri, 15 Sep 2006 12:35:43 +0000 (12:35 +0000)]
cfgrtl.c (emit_insn_at_entry): New function.
* cfgrtl.c (emit_insn_at_entry): New function.
* rtl.h (emit_insn_at_entry): Declare it.
* integrate.c (emit_initial_value_sets): Use it.
From-SVN: r116968
Bernd Schmidt [Fri, 15 Sep 2006 11:23:09 +0000 (11:23 +0000)]
bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
* config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
From-SVN: r116967
Bernd Schmidt [Fri, 15 Sep 2006 11:17:18 +0000 (11:17 +0000)]
params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* loop-doloop.c (doloop_optimize): Use it to limit costs of
expanding the number of iterations.
From-SVN: r116966
Roger Sayle [Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)]
re PR ada/18817 (ACATS
c380004 fails at run time)
PR ada/18817
* utils.c (max_size): Perform constant folding of (A ? B : C) - D
into A ? B - D : C - D when calculating the size of a MINUS_EXPR.
From-SVN: r116964
Andrew Pinski [Fri, 15 Sep 2006 04:50:04 +0000 (04:50 +0000)]
re PR c++/29002 (ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size)
2006-09-14 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/29002
* init.c (build_zero_init): If we have an error mark node for
the array size, return.
2006-09-14 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/29002
* g++.dg/init/array22.C: New test.
* g++.dg/init/array23.C: New test.
From-SVN: r116962
Kazu Hirata [Fri, 15 Sep 2006 02:13:04 +0000 (02:13 +0000)]
tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in one line.
* doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
one line.
From-SVN: r116961
GCC Administrator [Fri, 15 Sep 2006 00:17:14 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116959
Benjamin Kosnik [Thu, 14 Sep 2006 22:28:55 +0000 (22:28 +0000)]
concurrence.h (__mutex::__mutex): Pass address of mutex to *_MUTEX_INIT_FUNCTION.
2006-09-14 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/concurrence.h (__mutex::__mutex): Pass address of
mutex to *_MUTEX_INIT_FUNCTION.
From-SVN: r116954