Commit Graph

76528 Commits

Author SHA1 Message Date
Gary Benson 884d9d372e 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
2006-09-20 07:53:18 +00:00
Jack Howarth 7c324b07c6 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
2006-09-20 00:59:45 +00:00
GCC Administrator a8ea16c5d4 Daily bump.
From-SVN: r117070
2006-09-20 00:17:28 +00:00
Eric Christopher 64ee94908d 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
2006-09-19 23:56:17 +00:00
Keith Seitz 83a4f4f746 * testsuite/libjava.jvmti/jvmti.exp: New file.
From-SVN: r117065
2006-09-19 23:28:29 +00:00
Keith Seitz af91f02dba 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
2006-09-19 23:12:17 +00:00
Steven Bosscher d63e138968 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
2006-09-19 21:22:31 +00:00
Richard Sandiford 9f0b9edcd7 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
2006-09-19 17:44:12 +00:00
Tom Tromey 19db9631bc [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
2006-09-19 16:23:34 +00:00
Steve Ellcey 7ab629664b 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
2006-09-19 16:09:48 +00:00
Paul Brook 758ed9b25f 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
2006-09-19 13:19:24 +00:00
Paul Thomas dc6c771432 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
2006-09-19 11:04:55 +00:00
Paolo Carlini 95cefe5f0e 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
2006-09-19 09:07:56 +00:00
Andrew Pinski b538773352 Fix some whitespace issues in the changelog.
From-SVN: r117051
2006-09-18 22:08:41 -07:00
Benjamin Kosnik a86151e10b 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
2006-09-19 02:33:21 +00:00
Tom Tromey 2fb3145567 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
2006-09-19 01:48:06 +00:00
GCC Administrator 5e29ad9e74 Daily bump.
From-SVN: r117047
2006-09-19 00:17:26 +00:00
Petr Salinger 2395bcd4d2 configure.host: Handle kfreebsd.
2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>

	* configure.host: Handle kfreebsd.

From-SVN: r117043
2006-09-18 23:30:15 +00:00
Ben Elliston 9b1f6e91a1 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
2006-09-19 08:40:59 +10:00
Ben Elliston 71e9f91522 * gcc.c-torture/compile/20030405-1.x: Remove.
From-SVN: r117040
2006-09-19 08:25:46 +10:00
Ben Elliston 6af7ed0853 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
2006-09-19 08:24:13 +10:00
Tom Tromey 838d497079 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
2006-09-18 21:05:26 +00:00
Paul Thomas fd2aa7ad9f 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
2006-09-18 20:19:50 +00:00
Petr Salinger eb496303d7 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
2006-09-18 18:45:08 +00:00
Petr Salinger 94ba45dfe2 configure: Rebuilt.
2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>

	* configure: Rebuilt.
	* shlibpath.m4: Handle GNU/kFreeBSD.

From-SVN: r117032
2006-09-18 18:34:56 +00:00
Tom Tromey 9721107704 removed old conflict marker
From-SVN: r117030
2006-09-18 17:10:36 +00:00
Gerald Pfeifer fad257c316 * gcc_release (LC_ALL): Default to C.
From-SVN: r117029
2006-09-18 17:07:14 +00:00
Paolo Carlini 17cdf08234 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
2006-09-18 16:05:25 +00:00
Steven Bosscher ddd039d56c 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
2006-09-18 15:32:43 +00:00
Benjamin Kosnik cbe5ba46e0 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
2006-09-18 13:57:19 +00:00
Benjamin Kosnik 105c6331b2 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
2006-09-18 13:30:56 +00:00
Paolo Carlini bcc4a44f6b 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
2006-09-18 09:19:36 +00:00
Paul Thomas 80f2bb6e3a 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
2006-09-18 06:24:54 +00:00
Feng Wang 9adc3dc789 Fix ChangeLog format: Add * before filename.
From-SVN: r117013
2006-09-18 03:44:45 +00:00
Roger Sayle aac8b8ed8a 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
2006-09-18 01:54:33 +00:00
GCC Administrator 8e77de24de Daily bump.
From-SVN: r117010
2006-09-18 00:17:33 +00:00
Bernhard Fischer c3382fba04 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
2006-09-18 00:13:26 +02:00
Steven Bosscher 69723be2b3 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
2006-09-17 13:14:53 +00:00
Ira Rosen 7a7d38044d 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
2006-09-17 09:17:51 +00:00
GCC Administrator 76c1a415eb Daily bump.
From-SVN: r117001
2006-09-17 00:17:14 +00:00
Andrew Pinski a9fdb86b72 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
2006-09-16 15:52:11 -07:00
Steven Bosscher 0c5e4273d3 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
2006-09-16 20:06:23 +00:00
Andrew Pinski 70fb00df82 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
2006-09-16 09:01:16 +00:00
Jack Howarth 3c40b0525e 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
2006-09-16 08:55:54 +00:00
Steven Bosscher 1049f47570 rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
* rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
        * doc/rtl.texi: Remove related documentation.

From-SVN: r116992
2006-09-16 08:46:22 +00:00
Paul Thomas 9769e9e0b3 select_6.f90: Change message.
2006-09-16  Paul Thomas  <pault@gcc.gnu.org>

	* gfortran.dg/select_6.f90: Change message.

From-SVN: r116991
2006-09-16 04:28:44 +00:00
Kaveh R. Ghazi e757d6b231 decNumber.c (decNumberPower): Constify.
* decNumber.c (decNumberPower): Constify.
	* decNumber.h (decNumberPower): Likewise.

From-SVN: r116990
2006-09-16 02:54:29 +00:00
GCC Administrator a22719c100 Daily bump.
From-SVN: r116988
2006-09-16 00:17:17 +00:00
Bernd Schmidt 405f05879e 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
2006-09-15 23:32:58 +00:00
James E Wilson d0970db2ad 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
2006-09-15 16:05:40 -07:00