Commit Graph

76615 Commits

Author SHA1 Message Date
GCC Administrator 66c975fe00 Daily bump.
From-SVN: r117242
2006-09-27 00:17:22 +00:00
Jakub Jelinek a70ad3bb3e 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
2006-09-26 20:10:58 +02:00
Jakub Jelinek 9b9e4cd6a9 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
2006-09-26 20:06:55 +02:00
Jack Howarth ec14aed23b 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
2006-09-26 17:21:32 +00:00
Thiemo Seufer 1ee4c5a08a 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
2006-09-26 16:37:56 +00:00
Andrew Pinski e91de072ad 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
2006-09-26 08:36:21 -07:00
Paolo Carlini 32d662aa80 2006-09-25 Paolo Carlini <pcarlini@suse.de>
* Fix date of last ChangeLog entry.

From-SVN: r117224
2006-09-26 01:05:48 +00:00
Howard Hinnant 21c9e2b609 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
2006-09-26 00:59:37 +00:00
GCC Administrator 79c0cc65b3 Daily bump.
From-SVN: r117219
2006-09-26 00:17:23 +00:00
Matthias Klose bc49e3719f invoke.texi: Add missing full stop.
2006-09-25  Matthias Klose  <doko@debian.org>

        * doc/invoke.texi: Add missing full stop.

From-SVN: r117211
2006-09-25 21:19:58 +00:00
Tom Tromey 3e212b0fb7 Makefile.in: Rebuilt.
* native/jni/gconf-peer/Makefile.in: Rebuilt.
	* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
	variable.

From-SVN: r117210
2006-09-25 21:06:04 +00:00
Tom Tromey a7bf80389a 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
2006-09-25 21:04:01 +00:00
Lee Millward 9b910171a0 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
2006-09-25 19:58:10 +00:00
Lee Millward 60feef2c2d 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
2006-09-25 19:45:34 +00:00
Tom Tromey 6b61b95739 mprec.c (mprec_calloc): Renamed.
* native/fdlibm/mprec.c (mprec_calloc): Renamed.
	(Balloc): Updated.

From-SVN: r117204
2006-09-25 18:28:11 +00:00
Richard Henderson 6aa5c6ba9b 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
2006-09-25 10:50:25 -07:00
Mark Wielaard 902f7d1afb 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
2006-09-25 17:30:21 +00:00
Keith Seitz 291ad36e62 * 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
2006-09-25 17:08:05 +00:00
Paolo Carlini 47de6f6d2a 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
2006-09-25 10:05:27 +00:00
Tobias Schluter 582df53e2a * ChangeLog: attribute change to its author :)
From-SVN: r117192
2006-09-25 09:24:08 +00:00
Tobias Schluter fc29d5c4e8 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
2006-09-25 09:19:36 +00:00
GCC Administrator 3c4f2df1c6 Daily bump.
From-SVN: r117189
2006-09-25 00:17:05 +00:00
Bruce Korb 4b70772b2e Clarify how tests are handled
From-SVN: r117185
2006-09-24 20:12:50 +00:00
Paolo Carlini c8bd30ddb3 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
2006-09-24 19:42:34 +00:00
Zdenek Dvorak af17634547 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
2006-09-24 19:11:16 +00:00
Zdenek Dvorak b67102aebd 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
2006-09-24 19:03:57 +00:00
Kazu Hirata ab1e659cf7 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
2006-09-24 18:47:25 +00:00
Graeme Peterson 5997afc39f * MAINTAINERS (Write After Approval): Remove myself.
From-SVN: r117179
2006-09-24 10:04:33 +00:00
Francois-Xavier Coudert 41e41397de Makefile.am: Remove dependency on gfortypes.h.
* Makefile.am: Remove dependency on gfortypes.h.
	* Makefile.in: Regenerate.

From-SVN: r117178
2006-09-24 08:55:52 +00:00
GCC Administrator ee95c13b8f Daily bump.
From-SVN: r117176
2006-09-24 00:17:18 +00:00
Revital Eres 88a65e64ee 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
2006-09-23 16:45:25 +00:00
Uros Bizjak d4d7a132ab 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
2006-09-23 16:40:07 +02:00
Uros Bizjak 895016f635 driver-i386.c (host_detect_local_cpu): Add prototype.
* config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.

From-SVN: r117169
2006-09-23 12:33:27 +02:00
Jakub Jelinek fcb99e7b22 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
2006-09-23 09:15:37 +02:00
Danny Smith 6a7c793f3e 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
2006-09-23 01:56:55 +00:00
Mike Stump 45163b1afc * obj-c++.dg/encode-3.mm: Fix for 64-bit support.
From-SVN: r117165
2006-09-23 00:27:26 +00:00
GCC Administrator be66ce1fb3 Daily bump.
From-SVN: r117163
2006-09-23 00:17:23 +00:00
Geoffrey Keating 682cd44241 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
2006-09-22 23:50:51 +00:00
Geoffrey Keating 9281e73dd6 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
2006-09-22 23:38:42 +00:00
Geoffrey Keating aaf50ff29c 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
2006-09-22 23:26:20 +00:00
Marco Trudel f8e0488413 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
2006-09-22 21:31:15 +00:00
Mike Stump d1ea761665 darwin.h (PROFILE_HOOK): Reassociate comment with code.
* config/rs6000/darwin.h (PROFILE_HOOK): Reassociate comment with
	code.

From-SVN: r117152
2006-09-22 19:47:53 +00:00
Mike Stump c0e8f5d3f5 Fix up whitespacing
From-SVN: r117151
2006-09-22 19:14:35 +00:00
Chao-ying Fu 0c5028980b * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r117150
2006-09-22 18:54:44 +00:00
David Daney 17bdf398eb 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
2006-09-22 18:45:14 +00:00
Paolo Carlini 3b83e64bd3 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
2006-09-22 17:51:01 +00:00
Paolo Carlini dcd400b56f 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
2006-09-22 15:54:52 +00:00
Richard Guenther 79f802f532 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
2006-09-22 15:43:27 +00:00
Paolo Carlini 459f9f82ec 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
2006-09-22 14:22:21 +00:00
Ian Lance Taylor 53e3e587a9 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
2006-09-22 13:52:29 +00:00