Commit Graph

76843 Commits

Author SHA1 Message Date
Paul Thomas
982186b1be re PR fortran/29373 (implicit type declaration and contained function clash)
2006-10-13 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/29373
	* decl.c (get_proc_name, gfc_match_function_decl): Add
	attr.implicit_type to conditions that throw error for
	existing explicit interface and that allow new type-
	spec to be applied.

	PR fortran/29407
	* resolve.c (resolve_fl_namelist): Do not check for
	namelist/procedure conflict, if the symbol corresponds
	to a good local variable declaration.

	PR fortran/27701
	* decl.c (get_proc_name): Replace the detection of a declared
	procedure by the presence of a formal argument list by the
	attributes of the symbol and the presence of an explicit
	interface.

	PR fortran/29232
	* resolve.c (resolve_fl_variable): See if the host association
	of a derived type is blocked by the presence of another type I
	object in the current namespace.

	PR fortran/29364
	* resolve.c (resolve_fl_derived): Check for the presence of
	the derived type for a derived type component.

	PR fortran/24398
	* module.c (gfc_use_module): Check that the first words in a
	module file are 'GFORTRAN module'.

	PR fortran/29422
	* resolve.c (resolve_transfer): Test functions for suitability
	for IO, as well as variables.

	PR fortran/29428
	* trans-expr.c (gfc_trans_scalar_assign): Remove nullify of
	rhs expression.


2006-10-13 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/29373
	* gfortran.dg/implicit_9.f90: New test.

	PR fortran/29407
	* gfortran.dg/namelist_25.f90: New test.

	PR fortran/27701
	* gfortran.dg/same_name_2.f90: New test.

	PR fortran/29232
	* gfortran.dg/host_assoc_types_1.f90: New test.

	PR fortran/29364
	* gfortran.dg/missing_derived_type_1.f90: New test.
	* gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL.

	PR fortran/29422
	* gfortran.dg/alloc_comp_constraint_4.f90: New test.

	PR fortran/29428
	* gfortran.dg/alloc_comp_assign_5.f90: New test.

From-SVN: r117692
2006-10-13 12:51:07 +00:00
Francois-Xavier Coudert
ac677cc889 re PR fortran/29391 ([4.2/4.1 only] LBOUND and UBOUND are broken)
PR fortran/29391

	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
	code for LBOUND and UBOUND intrinsics.

	* gfortran.dg/bound_2.f90: New test.

From-SVN: r117691
2006-10-13 12:20:28 +00:00
Paolo Carlini
ec2061a9bf PR libstdc++/28277 (partial: ostream bits 2)
2006-10-13  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/28277 (partial: ostream bits 2)
	* include/std/std_ostream.h (basic_ostream<>::_M_insert(const
	char_type*, streamsize)): New.
	(basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
	(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
	char), operator<<(basic_ostream<>&, const _CharT*),
	operator<<(basic_ostream<>&, const char*)): Use the latter.
	* include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
	char_type*, streamsize)): Define.
	(operator<<(basic_ostream<>&, const char*)): Use the latter.
	(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
	char), operator<<(basic_ostream<>&, const _CharT*),
	operator<<(basic_ostream<>&, const char*),
	operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
	const basic_string<>&)): Use the latter, implement DR 586.
	* config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
	* docs/html/ext/howto.html: Add an entry for DR 586.
	* testsuite/21_strings/basic_string/inserters_extractors/char/
	28277.cc: New.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
	28277.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/
	28277-3.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/
	28277-4.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	28277-2.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	28277-3.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	28277-4.cc: Likewise.

From-SVN: r117689
2006-10-13 09:00:31 +00:00
Francois-Xavier Coudert
7d6df107ae defined_operators_1.f90: Add cleanup-modules dg directive.
* gfortran.dg/defined_operators_1.f90: Add cleanup-modules dg
	directive.
	* gfortran.dg/module_private_array_refs_1.f90: Likewise.
	* gfortran.dg/module_proc_external_dummy.f90: Likewise.
	* gfortran.dg/gomp/omp_threadprivate1.f90: Likewise.
	* gfortran.dg/gomp/reduction3.f90: Likewise.
	* gfortran.dg/derived_constructor_comps_1.f90: Likewise.
	* gfortran.dg/dummy_procedure_2.f90: Likewise.
	* gfortran.dg/interface_derived_type_1.f90: Likewise.
	* gfortran.dg/forall_4.f90: Likewise.
	* gfortran.dg/spec_expr_4.f90: Likewise.
	* gfortran.dg/unused_artificial_dummies_1.f90: Likewise.
	* gfortran.dg/forall_5.f90: Likewise.
	* gfortran.dg/open_access_append_2.f90: Add check for
	compile-time warning.

From-SVN: r117688
2006-10-13 08:56:25 +00:00
Mark Mitchell
0b45aeddd8 re PR c++/28506 (ICE with initializers for functions)
PR c++/28506
	* parser.c (function_declarator_p): New function.
	(cp_parser_init_declarator): Use it.
	(cp_parser_member_declaration): Likewise.
	PR c++/28506
	* g++.dg/parse/pure1.C: New test.

From-SVN: r117687
2006-10-13 08:38:43 +00:00
François-Xavier Coudert
16dbbd9957 re PR fortran/21435 (fails to open nonexisting file with status scratch)
PR fortran/21435

	* io.c (compare_to_allowed_values): New function.
	(gfc_match_open): Add checks for constant values of specifiers.
	(gfc_match_close): Add checks for constant values of the STATUS
	specifier.

	* gcc/testsuite/gfortran.dg/io_constraints_3.f90: New test.
	* gcc/testsuite/gfortran.dg/open_access_append_1.f90: Add checks
	for compile-time warnings.
	* gcc/testsuite/gfortran.dg/pr20163-2.f: Likewise.
	* gcc/testsuite/gfortran.dg/iostat_2.f90: Likewise.
	* gcc/testsuite/gfortran.dg/label_4.f90: Delete the temporary
	file.
	* gcc/testsuite/gfortran.dg/direct_io_2.f90: Add a FILE=
	specifier.
	* gcc/testsuite/gfortran.dg/iomsg_1.f90: Add check for
	compile-time warning.

From-SVN: r117685
2006-10-13 08:18:50 +00:00
Jan Hubicka
1a4259dca6 re PR c/28419 (ICE using __FUNCTION__ in invalid code)
PR c/28419
	* c-decl.c (c_make_fname_decl): Do not segfault in case where
	current_function_decl is set but current_function_scope is not.

	* gcc.dg/pr28319.c: New test.

From-SVN: r117684
2006-10-13 07:41:53 +00:00
Mark Mitchell
f19218e504 re PR c++/29318 (ICE: type_info of pointer to VLA)
PR c++/29318
	* rtti.c (get_tinfo_decl): Refuse to create type info objects for
	variably modified types.
	PR c++/29318
	* g++.dg/ext/vla4.C: New test.

From-SVN: r117683
2006-10-13 04:09:41 +00:00
GCC Administrator
fc6fabdfda Daily bump.
From-SVN: r117681
2006-10-13 00:17:15 +00:00
Brooks Moses
680600846d intrinsic.texi (STAT): Fixed a format typo in sample code.
* intrinsic.texi (STAT): Fixed a format typo in sample code.

From-SVN: r117676
2006-10-12 16:22:16 -07:00
Brooks Moses
25f3257418 intrinsic.texi (STAT): Shortened lines in sample code.
* intrinsic.texi (STAT): Shortened lines in sample code.

From-SVN: r117675
2006-10-12 16:13:30 -07:00
Lee Millward
34daf61d57 re PR c++/27961 (ICE on invalid template declaration)
PR c++/27961
	* g++.dg/template/crash60.C: New test.

From-SVN: r117672
2006-10-12 20:06:36 +00:00
Lee Millward
650fcd0729 re PR c++/27961 (ICE on invalid template declaration)
PR c++/27961
       * decl.c (start_decl): Return error_mark_node if a
       function is initialized like a variable.
       (check_var_type): If a variable of field is declared void,
       set the type to error_mark_node.
       (grokdeclarator): Check the return type of check_var_type.
       * class.c (finish_struct_1): Robustify.

       * g++.dg/template/crash60.C: New test.
       * g++.dg/other/large-size-array.C: Adjust error markers.
       * g++.dg/parse/crash27.C: Likewise.
       * g++.dg/template/crash1.C: Likewise.

From-SVN: r117671
2006-10-12 20:02:53 +00:00
Keith Seitz
dc0aeb6069 jvmti-int.h (JVMTI): Declare all members "extern".
* include/jvmti-int.h (JVMTI): Declare all members "extern".
        * jvmti.cc (JVMTI): Define.

From-SVN: r117670
2006-10-12 18:18:52 +00:00
Steve Ellcey
59810d826e re PR testsuite/29093 (gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets that have .loc)
PR testsuite/29093
	* gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file".

From-SVN: r117667
2006-10-12 16:52:33 +00:00
Jakub Jelinek
de000d222a re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##)
PR preprocessor/28709
	* macro.c (paste_tokens): Do error reporting here, use BUF with the
	spelled LHS token as opposed to spelling it again.
	(paste_all_tokens): Don't report errors here, just break on failure.

	* gcc.dg/cpp/paste14.c: New test.

From-SVN: r117664
2006-10-12 11:25:59 +02:00
Jie Zhang
1e96b1c34f bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction.
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
	emit_insn to emit eh_return_internal instruction.
	(eh_return_internal): Explicitly set pc.

From-SVN: r117662
2006-10-12 08:52:58 +00:00
Mark Mitchell
f724eac4c5 re PR c++/29175 (ICE on invalid C++ variable length array)
PR c++/29175
	* decl.c (check_initializer): Issue errors about trying to
	initialize arrays whose elements have variable size.
	PR c++/29175
	* g++.dg/init/array24.C: New test.

From-SVN: r117658
2006-10-12 04:35:56 +00:00
Kaveh R. Ghazi
8c166806c8 builtins-config.h: Move Solaris section after inclusion of <sys/types.h>.
* gcc.dg/builtins-config.h: Move Solaris section after inclusion
	of <sys/types.h>.

From-SVN: r117656
2006-10-12 02:33:57 +00:00
Paolo Carlini
d5a92b3e98 2006-10-11 Paolo Carlini <pcarlini@suse.de>
* Revert unintended howto.html change.

From-SVN: r117655
2006-10-12 00:18:39 +00:00
GCC Administrator
e58dedf73a Daily bump.
From-SVN: r117653
2006-10-12 00:17:20 +00:00
Paolo Carlini
73df6a37ea lwg-active.html, [...]: Import Revision 44.
2006-10-11  Paolo Carlini  <pcarlini@suse.de>

	* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 44.

From-SVN: r117651
2006-10-12 00:16:48 +00:00
Tobias Schlüter
c4632147f3 gfortran.h (gfc_show_actual_arglist, [...]): Add prototypes.
* gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref,
        gfc_show_array_spec, gfc_show_attr, gfc_show_code,
        gfc_show_components, gfc_show_constructor, gfc_show_equiv,
        gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
        gfc_show_typespec): Add prototypes.
        * dump-parse-tree.c (gfc_show_actual_arglist, gfc_show_array_ref,
        gfc_show_array_spec, gfc_show_attr, gfc_show_code,
        gfc_show_components, gfc_show_constructor, gfc_show_equiv,
        gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
        gfc_show_typespec): Remove 'static' from declaration.

From-SVN: r117646
2006-10-12 00:11:05 +02:00
Benjamin Kosnik
e64690af46 re PR libstdc++/29426 (static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION)
2006-10-11  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/29426
	* libsupc++/guard.cc (get_static_mutex): New. 
	(mutex_wrapper::mutex_wrapper): Use it to get properly initialized
	recursive mutex without ordering issues.

	* src/locale_init.cc (__get_locale_mutex): No need to
	uglify. Change to get_locale_mutex.

From-SVN: r117643
2006-10-11 20:18:36 +00:00
Lee Millward
7a1af5508c add missing test for "typedef auto"
From-SVN: r117642
2006-10-11 19:43:13 +00:00
Lee Millward
2610654299 re PR c++/29024 (storage class specifier accepted for typedef (clause 7.1.1 ; 1))
PR c++/29024
        * cp-tree (struct cp_decl_specifier_seq): Rename to 
        conflicting_specifiers_p
        * parser.c (cp_parser_set_storage_class): Set
        conflicting_specifiers_p for the input decl specifier 
        if a typedef specifier is present. Rename uses of
        multiple_specifiers_p to conflicting_specifiers_p.
        (cp_parser_decl_specifier_seq) <RID_TYPEDEF>: If a storage 
        class specifier has already been set for this declaration, 
        set conflicting_specifiers_p to true on the decl_specs.
        * decl.c (grokdeclarator): Rename uses of
        multiple_specifiers_p to conflicting_specifiers_p.

        * g++.dg/parse/typedef8.C: New test.
        * g++.dg/other/mult-stor1.C: Adjust error markers.

From-SVN: r117641
2006-10-11 19:31:33 +00:00
Richard Guenther
377d569bdb re PR tree-optimization/28230 (-O2 -fwrapv miscompiles gcc, binutils, gzip.)
2006-10-11  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/28230
	* tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling
	to the correct place.

	* gcc.dg/torture/pr28230.c: New testcase.

From-SVN: r117637
2006-10-11 16:05:37 +00:00
Tom Tromey
d233eb7a05 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Use mkinstalldirs.

From-SVN: r117634
2006-10-11 14:42:39 +00:00
Richard Guenther
ba38541ad2 re PR inline-asm/29119 (Internal compiler error while adding __asm__ statement)
2006-10-11  Richard Guenther  <rguenther@suse.de>

	PR inline-asm/29119
	* gimplify.c (gimplify_asm_expr): Mark the gimplified lvalue
	addressable.

	* gcc.dg/torture/pr29119.c: New testcase.

From-SVN: r117633
2006-10-11 14:03:37 +00:00
Paolo Carlini
7de856fca1 11.cc: New.
2006-10-11  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/22_locale/num_put/put/char/11.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/11.cc: Likewise.

From-SVN: r117632
2006-10-11 12:05:59 +00:00
Brooks Moses
8556236bec invoke.texi, [...]: Corrected erronous dashes.
2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* invoke.texi, gfortran.texi: Corrected erronous dashes.

From-SVN: r117628
2006-10-10 20:35:08 -07:00
Tom Tromey
13869d712f natSystemProperties.cc (insertSystemProperties): Removed obsolete comment.
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
	Removed obsolete comment.

From-SVN: r117626
2006-10-11 03:05:32 +00:00
GCC Administrator
c9a96418cc Daily bump.
From-SVN: r117622
2006-10-11 00:17:31 +00:00
Brooks Moses
b5422ad772 --(top level)--------------------------------------------
2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.def: Added pdf target handling.
	* Makefile.tpl: Added pdf target handling.
	* Makefile.in: Regenerated.

---fixincludes--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---gcc----------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* configure.ac: Added pdf to "Make-hooks"
	* Makefile.in: Added TEXI2PDF definition, and various pdf-file
	targets and *.pdf file patterns in cleanup targets.
	* configure: Regenerated.

---gcc/cp-------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "c++.pdf" target support.

---gcc/fortran--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
	support.

---gcc/java-----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.

---gcc/objc-----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added empty "objc.pdf" target.

---gcc/objcp----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added empty "obj-c++.pdf" target.

---gcc/treelang-------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "treelang.pdf" target support.

---gnattools----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---libcpp-------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---libdecnumber-------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---libiberty----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
	* testsuite/Makefile.in: Added empty "pdf" target.

---libobjc------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

From-SVN: r117618
2006-10-10 16:48:09 -07:00
Anatoly Sokolov
413fc59aae re PR target/26504 (compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2)
* config/avr/predicates.md: New file.
	* config/avr/avr.md: Include it.
	(REG_SP): New constant.
	(peepholes): Use predicates.
	(sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch,
	difficult_branch,  difficult_rvbranch, cbi, sbi, sbix_branch,
	sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto.
	PR target/26504
	* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.

From-SVN: r117616
2006-10-11 02:18:06 +04:00
Keith Seitz
05ee9ca08f java-interp.h (_Jv_InterpMethod::get_insn): Declare.
* include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
        (_Jv_InterpMethod::set_insn): Declare.
        * interpret.cc (_Jv_InterpMethod::get_insn): New method.
        (_Jv_InterpMethod::get_insn): New method.

From-SVN: r117614
2006-10-10 20:15:51 +00:00
Tom Tromey
4e34ede292 re PR xml/29362 (NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh))
PR classpath/29362:
	* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
	there is a stylesheet.

From-SVN: r117612
2006-10-10 19:31:56 +00:00
Tom Tromey
ab6b9a13d0 prims.cc (_Jv_PrependVersionedLibdir): Use _Jv_platform_path_separator.
* prims.cc (_Jv_PrependVersionedLibdir): Use
	_Jv_platform_path_separator.

From-SVN: r117611
2006-10-10 18:46:41 +00:00
Tom Tromey
51d0a5cc30 re PR libgcj/29205 (lib/pkgconfig/libgcj.pc needs to become version dependent)
PR libgcj/29205:
	* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Install the .pc file.
	(pkgconfig_DATA): Removed.

From-SVN: r117610
2006-10-10 18:44:06 +00:00
Daniel Franke
21825fd620 re PR fortran/19292 ([meta-bug] g77 features lacking in gfortran)
2006-10-10  Daniel Franke  <franke.daniel@gmail.com>

	* intrinsic.texi: added documentation for FSTAT, GETARG,GET_COMMAND,
	GET_COMMAND_ARGUMENT, GETENV, GET_ENVIRONMENT_VARIABLE, IAND, IARGC,
	LSTAT and STAT, removed the reference to PR19292 from ACCESS, CHMOD,
	GMTIME, LSHIFT, LTIME, RSHIFT.

From-SVN: r117609
2006-10-10 11:26:16 -07:00
Brooks Moses
be6c470955 gfortran.texi (Standards): Update to current status.
2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* gfortran.texi (Standards): Update to current status.

From-SVN: r117608
2006-10-10 11:08:08 -07:00
Adam Nemet
48a0c3d460 mips.c (mips_save_restore_reg): Use gen_frame_mem to avoid alias set 0.
* config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
	avoid alias set 0.

From-SVN: r117607
2006-10-10 17:39:12 +00:00
Paolo Bonzini
a3bd50cc4b configure.ac [...]: Set X86_DARWIN symbol and conditional.
2006-10-10  Paolo Bonzini  <bonzini@gnu.org>
	    Sandro Tolaini  <tolaini@libero.it>

	* configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and 
	conditional.
	* configure: Regenerated.
	* Makefile.am (nodist_libffi_la_SOURCES) [X86_DARWIN]: New case.
	(EXTRA_DIST): Add src/x86/darwin.S.
	* Makefile.in: Regenerated.
	* include/Makefile.in: Regenerated.
	* testsuite/Makefile.in: Regenerated.

	* src/x86/ffi.c (ffi_prep_cif_machdep) [X86_DARWIN]: Treat like
	X86_WIN32, and additionally align stack to 16 bytes.
	* src/x86/darwin.S: New, based on sysv.S.
	* src/prep_cif.c (ffi_prep_cif) [X86_DARWIN]: Align > 8-byte structs.


Co-Authored-By: Sandro Tolaini <tolaini@libero.it>

From-SVN: r117602
2006-10-10 14:21:05 +00:00
Benjamin Kosnik
0ded1615b8 libstdc++.exp (v3-build_support): Link libtestc++.a, not a bunch of object files.
2006-10-10  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/lib/libstdc++.exp (v3-build_support): Link
	libtestc++.a, not a bunch of object files.

From-SVN: r117601
2006-10-10 11:35:42 +00:00
Benjamin Kosnik
8ba9f01334 re PR libstdc++/29118 (Timeouts in libstdc++, libjava and libgomp testsuites)
2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/29118
	* src/locale_init.cc (__get_locale_mutex): New. 
	(locale::locale): Use it.
	(locale::global): Use it.

From-SVN: r117600
2006-10-10 10:14:13 +00:00
Jakub Jelinek
599a964a52 re PR middle-end/29272 (memcpy optimization causes wrong-code)
PR middle-end/29272
	* builtins.c (var_decl_component_p): New function.
	(fold_builtin_memset, fold_builtin_memory_op): Restrict
	single entry optimization to variables and components thereof.

	* gcc.c-torture/execute/20060930-2.c: New test.

From-SVN: r117599
2006-10-10 11:46:59 +02:00
Richard Guenther
be0436d7d9 re PR rtl-optimization/29323 (set_nothrow_function_flags does invalid analysis on weak functions)
2006-10-10  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/29323
	* except.c (set_nothrow_function_flags): For functions
	that do not bind local bail out early.

	* decl.c (finish_function): Set TREE_NOTHROW only for
	functions that bind local.

From-SVN: r117598
2006-10-10 08:27:02 +00:00
Chen Liqin
bdcee4712e * Add new port for score.
From-SVN: r117597
2006-10-10 07:50:29 +00:00
Ben Elliston
07d83dadc4 invoke.texi (RS/6000 and PowerPC Options): Add -m to the -mdlmzb option.
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the
	-mdlmzb option.

From-SVN: r117596
2006-10-10 17:34:10 +10:00
GCC Administrator
68b18daf04 Daily bump.
From-SVN: r117593
2006-10-10 00:17:15 +00:00