Tobias Schlüter [Fri, 8 Oct 2004 00:16:28 +0000 (02:16 +0200)]
 
re PR fortran/17676 (Problem with user operator)
PR fortran/17676
* resolve.c (resolve_operator): Use correct operator name in message.
From-SVN: r88726
GCC Administrator [Fri, 8 Oct 2004 00:16:13 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88724.2
GCC Administrator [Fri, 8 Oct 2004 00:16:10 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88723.2
J"orn Rennecke [Fri, 8 Oct 2004 00:11:38 +0000 (00:11 +0000)]
 
MAINTAINERS: Update my email address.
2004-10-07  J"orn Rennecke <joern.rennecke@st.com>
	* MAINTAINERS:  Update my email address.
From-SVN: r88721
Kazu Hirata [Thu, 7 Oct 2004 23:31:04 +0000 (23:31 +0000)]
 
tree-cfg.c (tree_block_forwards_to): Remove.
	* tree-cfg.c (tree_block_forwards_to): Remove.
	* tree-flow.h: Remove the corresponding prototype.
From-SVN: r88719
Phil Edwards [Thu, 7 Oct 2004 23:20:42 +0000 (23:20 +0000)]
 
libstdc++.exp: Update list of undefined functions.
2004-10-07  Phil Edwards  <phil@codesourcery.com>
	* testsuite/lib/libstdc++.exp:  Update list of undefined functions.
From-SVN: r88716
Paolo Carlini [Thu, 7 Oct 2004 22:44:30 +0000 (22:44 +0000)]
 
list.tcc (operator=): Avoid iterator postincrement.
2004-10-07  Paolo Carlini  <pcarlini@suse.de>
	* include/bits/list.tcc (operator=): Avoid iterator postincrement.
	* include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
From-SVN: r88715
Kazu Hirata [Thu, 7 Oct 2004 22:24:43 +0000 (22:24 +0000)]
 
tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR.
	* tree-flow-inline.h (phi_nodes): Remove an unnecessary check
	for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR.
From-SVN: r88714
Benjamin Kosnik [Thu, 7 Oct 2004 22:06:23 +0000 (22:06 +0000)]
 
tr1: New.
2004-10-07  Benjamin Kosnik  <bkoz@redhat.com>
	* include/tr1: New.
	* include/tr1/array: New.
	* include/Makefile.am (tr1_headers): New.
	(stamp-tr1): New.
	(install-headers): New.
	(allstamped): Add stamp-tr1.
	* include/ext/array_allocator.h: New.
	* include/Makefile.am: Add.
	* include/Makefile.in: Regenerate.
	* testsuite/ext/array_allocator/1.cc: New.
	* testsuite/ext/array_allocator/2.cc: New.
From-SVN: r88711
Richard Earnshaw [Thu, 7 Oct 2004 22:00:29 +0000 (22:00 +0000)]
 
* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
From-SVN: r88710
Paul Brook [Thu, 7 Oct 2004 21:30:50 +0000 (21:30 +0000)]
 
transfer.c (finalize_transfer): Free internal streams.
	* io/transfer.c (finalize_transfer): Free internal streams.
	* io/unix.c (mem_close): Free stream object.
From-SVN: r88709
Geoffrey Keating [Thu, 7 Oct 2004 21:16:28 +0000 (21:16 +0000)]
 
Radar 
3813796
2004-10-07  Geoffrey Keating  <geoffk@apple.com>
	Radar 
3813796
	* config/rs6000/rs6000.c (rs6000_generate_compare): When
	flag_trapping_math is in effect, don't generate subtract
	instructions.
Index: testsuite/ChangeLog
2004-10-07  Geoffrey Keating  <geoffk@apple.com>
	* gcc.dg/ppc-fsel-3.c: New file.
	* gcc.dg/ppc-fsel-1.c: Add -fno-trapping-math, update comment.
From-SVN: r88707
 
Ulrich Weigand [Thu, 7 Oct 2004 20:44:28 +0000 (20:44 +0000)]
 
s390-protos.h (s390_narrow_logical_operator): Add.
	* config/s390/s390-protos.h (s390_narrow_logical_operator): Add.
	* config/s390/s390.c (s390_narrow_logical_operator): New function.
	(s390_extra_constraint_str): Add 'A' constraints.
	(s390_const_ok_for_constraint_p): Add 'Nx' constraints.
	* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'A' constraint.
	(CONSTRAINT_LEN): Likewise.
	* config/s390/s390.md ("*anddi3"): Add NI alternative and splitter.
	("*andsi3_zarch", "*andsi3_esa"): Likewise.
	("*andhi3_zarch", "*andhi3_esa"): Likewise.
	("*iordi3"): Add OI alternative and splitter.
	("*iorsi3_zarch", "*iorsi3_esa"): Likewise.
	("*iorhi3_zarch", "*iorhi3_esa"): Likewise.
	("*xordi3"): Add XI alternative and splitter.
	("*xorsi3", "*xorhi3"): Likewise.
From-SVN: r88705
Paul Brook [Thu, 7 Oct 2004 20:19:32 +0000 (20:19 +0000)]
 
string_intrinsics.c (string_verify): Fix off by one error.
	* intrinsics/string_intrinsics.c (string_verify): Fix off by one
	error.
testsuite/
	* gfortran.dg/intrinsic_verify_1.f90: New test.
From-SVN: r88704
Richard Sandiford [Thu, 7 Oct 2004 20:08:41 +0000 (20:08 +0000)]
 
mips.c (mips_function_rodata_section): New function.
	* config/mips/mips.c (mips_function_rodata_section): New function.
	(TARGET_ASM_FUNCTION_RODATA_SECTION): Use it.
From-SVN: r88703
Joseph Myers [Thu, 7 Oct 2004 18:32:14 +0000 (19:32 +0100)]
 
* de.po: Update.
From-SVN: r88699
Mark Mitchell [Thu, 7 Oct 2004 17:48:36 +0000 (17:48 +0000)]
 
cp-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag.
	* cp-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag.
	(DECL_MEMBER_TEMPLATE_P): New macro.
	(is_member_template): Remove.
	(class_method_index_for_fn): New function.
	* pt.c (build_over_call): Use DECL_MEMBER_TEMPLATE_P.
	* class.c (finish_struct_methods): Remove out-of-date comment.
	* decl.c (copy_fn_p): Use DECL_MBMER_TEMPLATE_P.
	* decl2.c (check_classfn): Use DECL_MEMBER_TEMPLATE_P and
	class_method_index_for_fn.
	* pt.c (is_member_template): Remove.
	(is_member_template_class): Likewise.
	(optimize_specialization_lookup_p): New function.
	(retrieve_specialization): Optimize lookups for members that are
	not member templates.
	(register_specialization): Adjust accordingly.
	(build_template_decl): Add member_template_p parameter.  Set
	DECL_MEMBER_TEMPLATE_P.
	(process_partial_specialization): Adjust call to
	retrieve_specialization.
	(push_template_decl_real): Determine whether the template is a
	member template.
	(lookup_template_class): Use retrieve_specialization.
	(tsubst_decl): Adjust call to retrieve_specialization.
	(tsubst_exception_specification): New function.
	(tsubst): Use it.
	(tsubst_copy): Use DECL_MEMBER_TEMPLATE_P.
	(instantiate_template): Adjust call to retrieve_specialization.
	(regenerate_decl_from_template): Do not actually generate a new
	DECL.
	(instantiate_decl): Adjust call to retrieve_specialization.
	(class_method_index_for_fn): New method.
From-SVN: r88697
Paul Brook [Thu, 7 Oct 2004 17:45:40 +0000 (17:45 +0000)]
 
* gfortran.dg/empty_format_1.f90: Remove stray commas.
From-SVN: r88696
Tobias Schlüter [Thu, 7 Oct 2004 17:07:18 +0000 (19:07 +0200)]
 
intrinsic_mvbits.f90, ishft.f90: Add more tests.
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
gfortran.dg/ishft.f90: Add more tests. Add dg-warning in followup
commit.
From-SVN: r88695
Devang Patel [Thu, 7 Oct 2004 16:05:35 +0000 (09:05 -0700)]
 
altivec.md (UNSPEC_VCMPBFP, [...]): New constant defines.
        * rs6000/altivec.md (UNSPEC_VCMPBFP, UNSPEC_VCMPEQUB, UNSPEC_VCMPEQUH,
        UNSPEC_VCMPEQUW, UNSPEC_VCMPGEFP, UNSPEC_VCMPGTUB, UNSPEC_VCMPGTSB,
        UNSPEC_VCMPGTUH, UNSPEC_VCMPGTSH, UNSPEC_VCMPGTUW, UNSPEC_VCMPGTSW,
        UNSPEC_VCMPGTFP, UNSPEC_VSEL4SI, UNSPEC_VSEL4SF, UNSPEC_VSEL8HI,
        UNSPEC_VSEL16QI, UNSPEC_VCOND_V4SI, UNSPEC_VCOND_V4SF, UNSPEC_VCOND_V8HI,
        UNSPEC_VCOND_V16QI, UNSPEC_VCONDU_V4SI, UNSPEC_VCONDU_V8HI,
        UNSPEC_VCONDU_V16QI): New constant defines.
        (vcondv4si, vcondv4sf, vcondv8hi, vcondv16qi, vconduv4si, vconduv8hi,
        vconduv16qi): New patterns.
        * rs6000/rs6000-protos.h (rs6000_emit_vector_cond_expr): New function.
        * rs6000/rs6000.c (rs6000_emit_vector_cond_expr): New function.
        (get_vec_cmp_insn): Same.
        (get_vsel_insn): Same.
        (rs6000_emit_vector_compare): Same.
        (rs6000_emit_vector_select): Same.
        (INSN_NOT_AVAILABLE): New.
From-SVN: r88692
Roger Sayle [Thu, 7 Oct 2004 15:52:26 +0000 (15:52 +0000)]
 
re PR libstdc++/17850 (bootstrap failure - libstdc++ uses strtold when undeclared)
	PR libstdc++/17850
	* configure.ac: Newlib does not provide strtold.
	* configure: Regenerate.
From-SVN: r88691
Tobias Schlüter [Thu, 7 Oct 2004 15:12:06 +0000 (17:12 +0200)]
 
primary.c (match_boz_constant): Allow kind parameter suffixes.
fortran/
* primary.c (match_boz_constant): Allow kind parameter suffixes.
Move standard warning further to the front.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
gfortran.dg/ishft.f90: Add more tests.
From-SVN: r88690
Zdenek Dvorak [Thu, 7 Oct 2004 14:21:15 +0000 (16:21 +0200)]
 
re PR tree-optimization/17749 (ICE with recursive function)
	PR tree-optimization/17749
	* tree-tailcall.c (find_tail_calls): Check that parameter is
	a gimple_reg.
From-SVN: r88689
Andrew Pinski [Thu, 7 Oct 2004 13:48:27 +0000 (13:48 +0000)]
 
parser.c (cp_parser_asm_definition): Look passed the CLEANUP_POINT_EXPR to get the asm expression.
cp/ChangeLog:
	* parser.c (cp_parser_asm_definition): Look passed the
	CLEANUP_POINT_EXPR to get the asm expression.
testsuite/ChangeLog:
	* g++.dg/ext/asm6.C: Remove extraneous semicolon.
From-SVN: r88688
Kazu Hirata [Thu, 7 Oct 2004 13:18:34 +0000 (13:18 +0000)]
 
* config/ia64/ia64.c: Fix a comment typo.
From-SVN: r88686
Kazu Hirata [Thu, 7 Oct 2004 13:16:16 +0000 (13:16 +0000)]
 
* trans-stmt.c: Fix a comment typo.
From-SVN: r88685
Eric Botcazou [Thu, 7 Oct 2004 12:14:45 +0000 (14:14 +0200)]
 
* doc/install.texi (*-*-solaris2*): Fix marker for URL.
From-SVN: r88682
Giovanni Bajo [Thu, 7 Oct 2004 08:36:28 +0000 (08:36 +0000)]
 
re PR c++/17115 (-Winline does not respect __attribute__((__noinline__)))
	PR c++/17115
	* tree-inline.c (expand_call_inline): Do not warn for functions
	marked with attribute noinline.
	PR c++/17115
	* g++.dg/warn/Winline-4.C: New test.
From-SVN: r88678
Eric Botcazou [Thu, 7 Oct 2004 07:55:39 +0000 (09:55 +0200)]
 
re PR target/17862 (internal compiler error: in sparc_asm_function_prologue)
	PR target/17862
	* config/sparc/sparc.c (sparc_output_mi_thunk): Set
	current_function_uses_only_leaf_regs as well as sparc_leaf_function_p.
	* config/sparc/sparc.c (sparc_gimplify_va_arg): Pass 'false' instead
	of 0 as 4th argument to pass_by_reference.
	Call build_va_arg_indirect_ref instead of build_fold_indirect_ref.
From-SVN: r88674
Eric Christopher [Thu, 7 Oct 2004 06:48:22 +0000 (06:48 +0000)]
 
sh.c (sh_dwarf_calling_convention): Fix renesas dwarf attribute.
2004-10-06  Eric Christopher  <echristo@redhat.com>
	* config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf
	attribute.
From-SVN: r88671
Richard Sandiford [Thu, 7 Oct 2004 06:41:25 +0000 (06:41 +0000)]
 
re PR target/17770 (No NOP after LWL with -mips1)
	PR target/17770
	* config/mips/mips.md (mov_<load>l): Remove hazard=none attribute.
From-SVN: r88670
Zdenek Dvorak [Thu, 7 Oct 2004 06:20:34 +0000 (08:20 +0200)]
 
re PR rtl-optimization/17791 (doloop can produce wrong code causes Ada bootstrap failure)
	PR rtl-optimization/17791
	* loop-doloop.c (doloop_modify): Take number of iterations as
	argument.
	(doloop_optimize): Extend or shorten the number of iterations
	when changing mode of counter register.
	* loop-iv.c (lowpart_subreg): Export.
	* rtl.h (lowpart_subreg): Declare.
From-SVN: r88668
Christian Ehrhardt [Thu, 7 Oct 2004 06:15:40 +0000 (06:15 +0000)]
 
Fix wrong attribution.
From-SVN: r88666
Zdenek Dvorak [Thu, 7 Oct 2004 06:14:15 +0000 (08:14 +0200)]
 
re PR tree-optimization/17806 (compiler error: in verify_loop_structure, at cfgloop.c:1491 , works -O2, breaks with -O3)
	PR tree-optimization/17806
	* cfghooks.c (split_edge): Update IRREDUCIBLE_LOOP flags.
	* cfgloopmanip.c (loop_split_edge_with): Updating of IRREDUCIBLE_LOOP
	flags moved to split_edge.
From-SVN: r88665
Christian Ehrhardt [Thu, 7 Oct 2004 06:08:15 +0000 (06:08 +0000)]
 
* gcc.c-torture/compile/
20041007-1.c: New test.
From-SVN: r88662
 
Eric Botcazou [Thu, 7 Oct 2004 05:56:51 +0000 (07:56 +0200)]
 
re PR middle-end/17835 (stage2 compiler is broken because it is built with -fomit-frame-pointer)
	PR middle-end/17835
	* expmed.c (expand_sdiv_pow2): Force a stack adjustment
	before tentatively building the conditional move sequence.
From-SVN: r88661
Richard Sandiford [Thu, 7 Oct 2004 05:34:30 +0000 (05:34 +0000)]
 
re PR middle-end/16815 (MIPS n32/n64 inefficient code for float arguments)
	PR target/16815
	* function.c (assign_parm_setup_block_p): Tighten BLOCK_REG_PADDING
	check.
	* config/pa/pa.h (BLOCK_REG_PADDING): Define in terms of
	function_arg_padding.
From-SVN: r88660
Richard Sandiford [Thu, 7 Oct 2004 05:28:46 +0000 (05:28 +0000)]
 
re PR bootstrap/17857 (fixproto can't find fix-header)
	PR bootstrap/17857
	* Makefile.in (stmp-fixproto): Pass FIX_HEADER=build/... to fixproto.
From-SVN: r88659
Kazu Hirata [Thu, 7 Oct 2004 04:03:44 +0000 (04:03 +0000)]
 
MAINTAINERS (Language Front Ends Maintainers): New.
	* MAINTAINERS (Language Front Ends Maintainers): New.  Move
	entries belonging to this category.
From-SVN: r88658
Kazu Hirata [Thu, 7 Oct 2004 04:00:55 +0000 (04:00 +0000)]
 
hooks.c (hook_int_void_1, [...]): Remove.
	* hooks.c (hook_int_void_1, hook_void_int): Remove.
	* hooks.h: Remove the corresponding prototypes.
From-SVN: r88657
Paul Brook [Thu, 7 Oct 2004 00:43:21 +0000 (00:43 +0000)]
 
re PR fortran/17678 (USE statement incorrectly initializes allocatable array)
	PR fortran/17678
	* trans-array.c (gfc_trans_deferred_array): Leave use associated
	variables alone.
testsuite/
	* gfortran.dg/use_allocated_1.f90: New test.
From-SVN: r88655
GCC Administrator [Thu, 7 Oct 2004 00:17:18 +0000 (00:17 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88653.2
GCC Administrator [Thu, 7 Oct 2004 00:17:13 +0000 (00:17 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88652.2
Andrew Pinski [Wed, 6 Oct 2004 23:45:48 +0000 (23:45 +0000)]
 
re PR middle-end/17849 (intrinsic_pack.f90)
2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
        PR middle-end/17849
        * gfortran.fortran-torture/compile/nested.f90: New test
2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
        PR middle-end/17849
        * tree-nested.c (walk_stmt_info): Add changed field.
        (convert_nonlocal_reference): Set changed to when we
        change a decl to unnested decl.
        <case ADDR_EXPR>: Instead of checking if the immediate part
        of the ADDR_EXPR changed, check the field changed.
        Use recompute_tree_invarant_for_addr_expr instead of unsetting
        TREE_INVARIANT.
        (convert_local_reference):  Set changed to when we
        change a decl to unnested decl.
        <case ADDR_EXPR>: Instead of checking if the immediate part
        of the ADDR_EXPR changed, check the field changed.
        Also call recompute_tree_invarant_for_addr_expr on the ADDR_EXPR.
From-SVN: r88650
Tobias Schlüter [Wed, 6 Oct 2004 23:16:43 +0000 (01:16 +0200)]
 
* simplify.c (gfc_simplify_abs): Use mpfr_hypot for CABS.
From-SVN: r88647
Kazu Hirata [Wed, 6 Oct 2004 22:20:31 +0000 (22:20 +0000)]
 
defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
	* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
	* dwarf2out.c (dwarf2out_init): Remove references to
	DWARF2_GENERATE_TEXT_SECTION_LABEL.
	* system.h: Poison DWARF2_GENERATE_TEXT_SECTION_LABEL.
	* doc/tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
From-SVN: r88631
Joseph Myers [Wed, 6 Oct 2004 22:16:29 +0000 (23:16 +0100)]
 
c-typeck.c (convert_arguments): Take expression for called function rather than its name.
	* c-typeck.c (convert_arguments): Take expression for called
	function rather than its name.  Handle ObjC selectors directly
	rather than relying on warn_for_assignment to do so.  Call warning
	directly rather than warn_for_assignment.  Use %qE in diagnostics.
	Say "argument" rather than "arg" in diagnostics.
	(build_function_call): Update call to convert_arguments.
testsuite:
	* gcc.dg/Wconversion-2.c, gcc.dg/func-args-1.c: New tests.
From-SVN: r88630
Andrew Pinski [Wed, 6 Oct 2004 22:13:14 +0000 (22:13 +0000)]
 
re PR debug/17787 (Ada does not bootstrap on darwin because of -feliminate-unused-debug-symbols)
2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
        PR debug/17787
        * dbxout.c (dbxout_symbol): Really handle RECORD, UNION, and
        ENUMs specially instead of just saying we do.
From-SVN: r88629
Benjamin Kosnik [Wed, 6 Oct 2004 22:12:34 +0000 (22:12 +0000)]
 
acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
	* acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
	(GLIBCXX_CONFIGURE_TESTSUITE): Use it.
	* configure: Regenerated.
	* testsuite/Makefile.am (CLEANFILES): Add TEST for
	check-performance executables.
	(stamp_thread): New.
	(all-local): Use it.
	* testsuite/Makefile.in: Regenerate.
	* scripts/create_testsuite_files: Filter thread tests.
	* testsuite/thread/pthread1.cc: Remove macro conditionals: this
	file will only be run by thread enabled configurations.
	* testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
	* testsuite/thread/pthread6.cc: Same.
	* testsuite/thread/pthread5.cc: Same.
	* testsuite/thread/pthread4.cc: Same.
	* testsuite/thread/pthread3.cc: Same.
	* testsuite/thread/pthread2.cc: Same.
	* testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
	* testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
	* testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here.
	* testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
	* testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
	* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
From-SVN: r88628
Andrew Pinski [Wed, 6 Oct 2004 22:09:25 +0000 (15:09 -0700)]
 
[multiple changes]
2004-10-05  Andrew Pinski  <pinskia@physics.uc.edu>
        PR c++/17368
        * semantics.c (finish_asm_stmt): Asm expressions need cleanup
        also.
2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
        PR c++/17368
        * g++.dg/ext/asm6.C: New test.
From-SVN: r88627
Eric Christopher [Wed, 6 Oct 2004 20:27:15 +0000 (20:27 +0000)]
 
dwarf2.h: Sync with include/elf/dwarf2.h
2004-10-06  Eric Christopher  <echristo@redhat.com>
	* dwarf2.h: Sync with include/elf/dwarf2.h
From-SVN: r88626
Daniel Berlin [Wed, 6 Oct 2004 20:14:28 +0000 (20:14 +0000)]
 
tree-pretty-print.c (dump_generic_node): Fix printing of BINFO and TREE_VEC nodes.
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>
	* tree-pretty-print.c (dump_generic_node): Fix printing of BINFO
	and TREE_VEC nodes.
From-SVN: r88624
Daniel Berlin [Wed, 6 Oct 2004 19:51:22 +0000 (19:51 +0000)]
 
It would have been nice to commit the changelog as well.
sigh
From-SVN: r88623
Daniel Berlin [Wed, 6 Oct 2004 19:40:54 +0000 (19:40 +0000)]
 
lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value.
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>
	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert
	to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value.
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>
	* lambda-code.c (compute_nest_using_fourier_motzkin): New
	function.
	(lambda_compute_auxillary_space): Split from here.
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>
	* tree-ssa-loop-ivopts.c (expr_invariant_in_loop): Make non-static.
	* tree-flow.h: Add prototype.
	* lambda-code.c (invariant_in_loop_and_outer_loops): Use
	expr_invariant_in_loop.
From-SVN: r88622
Kenneth Zadeck [Wed, 6 Oct 2004 19:31:31 +0000 (19:31 +0000)]
 
added changelog entry for prior commit.
From-SVN: r88620
Kazu Hirata [Wed, 6 Oct 2004 19:05:12 +0000 (19:05 +0000)]
 
tree-cfg.c (thread_jumps): Remove a duplicate check for EXIT_BLOCK_PTR.
	* tree-cfg.c (thread_jumps): Remove a duplicate check for
	EXIT_BLOCK_PTR.
From-SVN: r88619
Paul Brook [Wed, 6 Oct 2004 18:27:58 +0000 (18:27 +0000)]
 
re PR libfortran/17709 (NULL I/O list and Format error.)
	PR libfortran/17709
	* io/transfer.c (data_transfer_init): Reset sf_seen_eor.
testsuite/
	* gfortran.dg/empty_format_1.f90: New test.
From-SVN: r88615
Ulrich Weigand [Wed, 6 Oct 2004 18:22:00 +0000 (18:22 +0000)]
 
s390-protos.h (s_imm_operand): Remove.
	* config/s390/s390-protos.h (s_imm_operand): Remove.
	(s390_pool_operand): Add prototype.
	* config/s390/s390.c (general_s_operand): Remove.
	(s_imm_operand): Remove.
	(s_operand): Merge contents of general_s_operand.
	(s390_pool_operand): New function.
	* config/s390/s390.h (PREDICATE_CODES): Remove s_imm_operand.
	* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct"): New insns.
	("*cmpdi_ccu"): Merge Q->Q alternative.
	("*cmpsi_ccu", "*cmphi_ccu"): Likewise.
	("*cmpqi_ccu"): Merge Q->Q, n->Q, n->S alternatives.
	("*cli"): Remove.
	("*cmpdi_ccu_mem", "*cmpsi_ccu_mem"): Likewise.
	("*cmphi_ccu_mem", "*cmpqi_ccu_mem"): Likewise.
	("*movstricthi"): Use memory_operand instead of s_imm_operand.
From-SVN: r88614
Kenneth Zadeck [Wed, 6 Oct 2004 16:54:58 +0000 (16:54 +0000)]
 
Added missing memory attribute to asm instruction.
From-SVN: r88612
Benjamin Kosnik [Wed, 6 Oct 2004 16:31:19 +0000 (16:31 +0000)]
 
re PR libstdc++/17780 (std::allocator vs. static init)
2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
	    Paolo Carlini  <pcarlini@suse.de>
	PR libstdc++/17780
	* src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
	to old locking order.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r88611
Tobias Schlüter [Wed, 6 Oct 2004 16:24:30 +0000 (18:24 +0200)]
 
re PR fortran/17283 (UNPACK issues)
PR fortran/17283
* gfortran.fortran-torture/execute/intrinsic_pack.f90: Enable new
tests.
From-SVN: r88610
Tobias Schlüter [Wed, 6 Oct 2004 16:21:42 +0000 (18:21 +0200)]
 
re PR fortran/17568 (ISHFT intrinsic: bogus overflow error)
fortran/
PR fortran/17568
* simplify.c (twos_complement): New function.
(gfc_simplify_ishft, gfc_simplify_ishftc): Revise.
testsuite/
PR fortran/17568
* gfortran.dg/ishft.f90: New test.
From-SVN: r88609
Steve Ellcey [Wed, 6 Oct 2004 16:07:03 +0000 (16:07 +0000)]
 
ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to call ia64_function_arg_boundary.
	* config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to
	call ia64_function_arg_boundary.
	* config/ia64/ia64-protos.h (ia64_function_arg_boundary): New.
	* config/ia64/ia64.c (ia64_function_arg_boundary): New.
	(ia64_function_arg_advance): Do not put 128 bit floats into
	FP registers.
From-SVN: r88608
Paul Brook [Wed, 6 Oct 2004 15:29:25 +0000 (15:29 +0000)]
 
trans-stmt.c (gfc_trans_simple_do): New function.
	* trans-stmt.c (gfc_trans_simple_do): New function.
	(gfc_trans_do): Use it.  Evaluate iteration bounds before entering
	loop.  Update comments.
testsuite/
	* gfortran.dg/do_1.f90: New test.
From-SVN: r88607
Ulrich Weigand [Wed, 6 Oct 2004 14:02:19 +0000 (14:02 +0000)]
 
parse.y (issue_warning_error_from_context): Use va_list * instead of va_list parameter.
	* parse.y (issue_warning_error_from_context): Use va_list *
	instead of va_list parameter.
	(parse_error_context): Update call.
	(parse_warning_context): Likewise.
From-SVN: r88605
Kaveh R. Ghazi [Wed, 6 Oct 2004 13:23:30 +0000 (13:23 +0000)]
 
builtins.c (expand_builtin_strcpy): Delete duplicate code.
	* builtins.c (expand_builtin_strcpy): Delete duplicate code.
	Accept an expression instead of an arglist.
	(expand_builtin_stpcpy): Accept an expression instead of an
	arglist.
testsuite:
	* gcc.c-torture/execute/builtins/lib/strcpy.c: Don't abort when
	optimizing for size.
From-SVN: r88604
Josef Zlomek [Wed, 6 Oct 2004 11:59:51 +0000 (13:59 +0200)]
 
* MAINTAINERS: Update my e-mail address.
From-SVN: r88598
Eric Botcazou [Wed, 6 Oct 2004 11:01:43 +0000 (13:01 +0200)]
 
re PR target/16007 (Use of static template members results in broken executables)
	PR target/16007
	* doc/install.texi (*-*-solaris2*): Mention potential problem
	with Sun assembler + GNU linker and C++ programs.
	Document status of binutils 2.15 release.
From-SVN: r88595
Paolo Bonzini [Wed, 6 Oct 2004 10:09:29 +0000 (10:09 +0000)]
 
[multiple changes]
2004-10-06  Paolo Bonzini  <bonzini@gnu.org>
	Fix wrong conflict resolution in:
	2004-08-16  Paolo Bonzini  <bonzini@gnu.org>
	* Makefile.in: Regenerate.
	* Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*)
	in the recursive `make', instead of hardwiring `all'.
	(Autogenerated TARGET-* variables): New.
From-SVN: r88594
Paolo Carlini [Wed, 6 Oct 2004 09:06:59 +0000 (09:06 +0000)]
 
[multiple changes]
2004-10-06  Paolo Carlini  <pcarlini@suse.de>
	* include/std/std_sstream.h (_M_sync): When the caller is
	setbuf, don't trust _M_string.capacity() to be the size of
	the buffer area, use _M_string.size() in this case.
	* testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
	* include/bits/sstream.tcc (overflow): Avoid calling string::assign
	unnecessarily when the current _M_string is empty.
2004-10-06  Paolo Carlini  <pcarlini@suse.de>
	* include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
	Avoid iterator postincrement.
	(__rotate): Likewise.
	* include/bits/stl_algo.h: Minor formatting tweaks.
2004-10-06  Christopher Jefferson <caj@cs.york.ac.uk>
	* include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
	Avoid iterator postincrement; fix swapping middle element with
	itself on odd-length inputs.
From-SVN: r88593
Jan Hubicka [Wed, 6 Oct 2004 07:30:12 +0000 (09:30 +0200)]
 
* cse.c (cse_main): Kill push/pop context.
From-SVN: r88592
Zack Weinberg [Wed, 6 Oct 2004 04:47:42 +0000 (04:47 +0000)]
 
pretty-print.c: Include tree.h.
	* pretty-print.c: Include tree.h.
	(pp_base_prepare_to_format): New function, logic from
	text_specifies_location.
	(pp_base_format_text): Use gcc_assert.
	* pretty-print.h (pp_prepare_to_format): New macro.
	(pp_base_prepare_to_format): Prototype.
	* diagnostic.c (text_specifies_location): Delete.
	(bug_report_request): Delete.
	(diagnostic_set_info): Don't call text_specifies_location.
	(diagnostic_action_after_output): Put text from
	bug_report_request inline here.  Use gcc_unreachable.
	(diagnostic_report_current_function): Fix comment.
	(diagnostic_report_diagnostic): Clarify logic for error recursion.
	Call pp_prepare_to_format before diagnostic_starter.
	(trim_filename): Use IS_DIR_SEPARATOR.
	(fatal_error, internal_error): Use gcc_unreachable.
	(error_recursion): Call diagnostic_action_after_output to
	issue the bug_report_request message and exit.
	* Makefile.in (diagnostic.o, pretty-print.o): Update dependencies.
	* c-parse.in: Add list of diagnostic messages to insulate
	translation template from version of yacc/bison used to
	compile the grammar.
java:
	* parse.y, parse-scan.y: Add list of diagnostic messages to
	insulate translation template from version of yacc/bison used
	to compile the grammar.
treelang:
	* parse.y: Add list of diagnostic messages to insulate
	translation template from version of yacc/bison used to
	compile the grammar.
po:
	* gcc.pot: Regenerate.
From-SVN: r88590
Benjamin Kosnik [Wed, 6 Oct 2004 04:22:42 +0000 (04:22 +0000)]
 
re PR libstdc++/17780 (std::allocator vs. static init)
2004-10-05  Benjamin Kosnik  <bkoz@redhat.com>
	PR libstdc++/17780
	* include/ext/mt_allocator.h (__pool_base::_Tune): Add default
	options as compile-time constant enums.
	(__pool_base::_Tune::is_default): New.
	(__pool_base::_Block_address): New.
	(__pool_base): Rearrange data members.
	(__pool::_M_reserve_memory): To _M_reserve_block.
	(__pool::_M_reclaim_memory): To _M_reclaim_block.
	(__pool::_Bin_record): Add _Block_address data member.
	(__pool<false>): Add _M_thread_freelist_initial.
	(__pool::~__pool): Declare.
	(__common_pool_policy): Move static data member to...
	(__common_pool_policy::_S_get_pool): ...here, make static local.
	(__per_type_pool_policy): Move static data member to...
	(__per_type_pool_policy::_S_get_pool): ...here, make static local.
	(__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
	Remove static member definitions. Use define for __default_policy.
	* src/mt_allocator.cc: Same.
	* config/linker-map.gnu: Don't export _S_get_pool. Renames.
	* testsuite/ext/new_allocator: New.
	* testsuite/ext/new_allocator/instantiate.cc: New.
	* testsuite/ext/new_allocator/check_new.cc: New.
	* testsuite/ext/new_allocator/deallocate_global.cc: New.
	* testsuite/ext/new_allocator/deallocate_local.cc: New.
	* testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
	template arguments.
	* testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
	* testsuite/ext/mt_allocator/deallocate.cc: New.
	* testsuite/ext/malloc_allocator/deallocate.cc: New.
	* testsuite/ext/malloc_allocator/deallocate_global.cc: New.
	* testsuite/ext/malloc_allocator/deallocate_local.cc: New.
From-SVN: r88589
Alan Modra [Wed, 6 Oct 2004 00:54:01 +0000 (00:54 +0000)]
 
re PR other/16406 (USE_LD_AS_NEEDED undocumented)
	PR 16406
	* doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.
From-SVN: r88586
GCC Administrator [Wed, 6 Oct 2004 00:16:16 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88584.2
GCC Administrator [Wed, 6 Oct 2004 00:16:11 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88583.2
Kazu Hirata [Tue, 5 Oct 2004 22:55:59 +0000 (22:55 +0000)]
 
basic-block.h: Remove the prototype for flow_preorder_transversal_compute.
	* basic-block.h: Remove the prototype for
	flow_preorder_transversal_compute.
	* cfganal.c (dfst_node): Remove.
	(flow_preorder_transversal_compute): Likewise.
	* rtl.h: Remove the prototype for get_jump_table_offset.
	* rtlanal.c (get_jump_table_offset): Remove.
From-SVN: r88580
Richard Henderson [Tue, 5 Oct 2004 22:42:34 +0000 (15:42 -0700)]
 
re PR middle-end/17756 (contained_3.f90)
        PR 17756
        * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL.
From-SVN: r88579
Kelley Cook [Tue, 5 Oct 2004 21:51:13 +0000 (21:51 +0000)]
 
re PR bootstrap/17817 (restage[1,2,3] and then bootstrap no longer cause build dir to be rebuilt)
2004-10-05  Kelley Cook  <kcook@gcc.gnu.org>
	PR bootstrap/17817
	* Makefile.in: Stage the build directory too.
From-SVN: r88577
Gabriel Dos Reis [Tue, 5 Oct 2004 20:14:42 +0000 (20:14 +0000)]
 
Fix email
From-SVN: r88575
Aldy Hernandez [Tue, 5 Oct 2004 20:11:17 +0000 (20:11 +0000)]
 
frv.h (LEGITIMIZE_ADDRESS): New.
	* config/frv/frv.h (LEGITIMIZE_ADDRESS): New.
	* config/frv/frv-protos.h (frv_legitimize_address): Protoize.
	(frv_emit_move): Same.
	* config/frv/frv.c (frv_emit_move): New.
	(frv_legitimize_address): New.
	* config/frv/frv.md ("movsi"): Call frv_emit_move.
	("movqi"): Same.
	("movhi"): Same.
	("movdi"): Same.
	("movsf"): Same.
	("movdf"): Same.
From-SVN: r88574
Gabriel Dos Reis [Tue, 5 Oct 2004 20:09:09 +0000 (20:09 +0000)]
 
Convert diagnostics to use quoting flag q 6/n
        Convert diagnostics to use quoting flag q 6/n
        * pt.c (finish_member_template_decl,
        check_specialization_scope,
        maybe_process_partial_specialization,
        determine_specialization,
        check_explicit_specialization, maybe_check_template_type,
        process_partial_specialization, check_default_tmpl_args,
        push_template_decl_real, redeclare_class_template,
        convert_nontype_argument, coerce_template_parms,
        lookup_template_class, push_tinst_level,
        instantiate_class_template, tsubst_arg_types,
        tsubst_function_type, tsubst, tsubst_qualified_id,
        tsubst_copy_and_build, check_instantiated_args,
        do_decl_instantiation, do_type_instantiation,
        invalid_nontype_parm_type_p, check_specialization_namespace,
        convert_template_argument, determine_specialization,
        check_template_shadow, tsubst_decl
        instantiate_pending_templates): Use quoting marks.
From-SVN: r88573
Joseph Myers [Tue, 5 Oct 2004 19:58:39 +0000 (20:58 +0100)]
 
c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in system headers.
	* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
	system headers.
testsuite:
	* gcc.dg/complex-2.c, gcc.dg/complex-2.h: New test.
From-SVN: r88571
Joseph Myers [Tue, 5 Oct 2004 19:54:26 +0000 (20:54 +0100)]
 
c-decl.c (pushdecl): When an extern declaration at block scope refers to a visible entity with...
	* c-decl.c (pushdecl): When an extern declaration at block scope
	refers to a visible entity with internal linkage, use the old DECL
	rather than the new one.
testsuite:
	* gcc.c-torture/compile/
20041005-1.c: New test.
From-SVN: r88570
 
Kazu Hirata [Tue, 5 Oct 2004 19:04:46 +0000 (19:04 +0000)]
 
tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in comments.
	* tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in
	comments.
From-SVN: r88568
Kazu Hirata [Tue, 5 Oct 2004 19:00:54 +0000 (19:00 +0000)]
 
tree-cfg.c (thread_jumps): Remove a duplicate check for an infinite loop.
	* tree-cfg.c (thread_jumps): Remove a duplicate check for
	an infinite loop.
From-SVN: r88567
Kazu Hirata [Tue, 5 Oct 2004 18:58:36 +0000 (18:58 +0000)]
 
tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead of FOR_BB_BETWEEN.
	* tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead
	of FOR_BB_BETWEEN.  Remove a useless check for unreachable
	blocks.
From-SVN: r88566
Kazu Hirata [Tue, 5 Oct 2004 18:53:08 +0000 (18:53 +0000)]
 
tree-cfg.c (cleanup_tree_cfg): Don't call delete_unreachable_blosk() after thread_jumps().
	* tree-cfg.c (cleanup_tree_cfg): Don't call
	delete_unreachable_blosk() after thread_jumps().
	(thread_jumps): Always remove basic blocks as they become
	unreachable.
From-SVN: r88565
Kazu Hirata [Tue, 5 Oct 2004 18:48:44 +0000 (18:48 +0000)]
 
tree-cfg.c (cleanup_tree_cfg): Remove variable something_changed.
	* tree-cfg.c (cleanup_tree_cfg): Remove variable
	something_changed.  Simplify the while loop.
From-SVN: r88564
Kaveh R. Ghazi [Tue, 5 Oct 2004 17:10:42 +0000 (17:10 +0000)]
 
builtins.c (expand_builtin_memmove): Delete duplicate code and accept a tree type for the result.
	* builtins.c (expand_builtin_memmove): Delete duplicate code
	and accept a tree type for the result.
	(expand_builtin_bcopy): Accept a tree type for the result.
	(fold_builtin_memmove): Accept an arglist and tree type for
	the result.
From-SVN: r88563
Ranjit Mathew [Tue, 5 Oct 2004 17:07:14 +0000 (17:07 +0000)]
 
Prepare for %q, %< and %> in diagnostic message strings.
	* java-tree.h (parse_error_context): remove ATTRIBUTE_PRINTF_2.
	Name second parameter 'msgid'.
	* parse.y: Additionally include pretty-print.h and diagnostic.h.
	(issue_warning_error_from_context): Use pretty-printer functions
	instead of vsprintf for constructing formatted messages. Rename
	parameter 'msg' to 'msgid'.
	(parse_error_context): Rename parameter 'msg' to 'msgid'.
	(parse_warning_context): Likewise.
From-SVN: r88562
Frank Ch. Eigler [Tue, 5 Oct 2004 16:15:55 +0000 (16:15 +0000)]
 
* thanks kcook
2004-10-05  Frank Ch. Eigler  <fche@redhat.com>
	* configure.ac: Checking for sys/socket.h once is enough.
	* configure: Regenerated.
From-SVN: r88559
Nathan Sidwell [Tue, 5 Oct 2004 16:08:02 +0000 (16:08 +0000)]
 
re PR c++/17829 (wrong error: call of  overloaded function is ambiguous)
cp:
	PR c++/17829
	* parser.c (cp_parser_postfix_expression): Inhibit Koenig when
	unqualified lookup finds a member function.
testsuite:
	PR c++/17829
	* g++.dg/lookup/koenig4.C: New.
From-SVN: r88558
Tomer Levi [Tue, 5 Oct 2004 15:52:20 +0000 (15:52 +0000)]
 
configure.in: Enable target-libgloss for crx-*-*.
configure: Regenerate.
From-SVN: r88557
Andrew Haley [Tue, 5 Oct 2004 14:55:39 +0000 (14:55 +0000)]
 
[multiple changes]
2004-10-05  Andrew Haley  <aph@redhat.com>
	PR java/17779
	* jcf-parse.c (parse_zip_file_entries): If a class has a
	superclass and a TYPE_SIZE of zero, lay it out.
2004-09-30  Andrew Haley  <aph@redhat.com>
	PR java/17733
	* jcf-parse.c (compute_class_name): Rewrite.
From-SVN: r88556
Ulrich Weigand [Tue, 5 Oct 2004 14:06:25 +0000 (14:06 +0000)]
 
s390.c (s390_dump_pool): Remove return value.
	* config/s390/s390.c (s390_dump_pool): Remove return value.
	Use gen_pool_align, gen_pool_section_start/end instead of
	gen_pool_start/end_31/64.
	* config/s390/s390.md (UNSPECV_POOL_START, UNSPECV_POOL_END): Remove.
	(UNSPECV_POOL_SECTION, UNSPECV_POOL_ALIGN): New constants.
	("pool_start_31", "pool_end_31"): Remove.
	("pool_start_64", "pool_end_64"): Likewise.
	("pool_align", "pool_section_start", "pool_section_end": New insns.
	* config/s390/s390.c (s390_cannot_copy_insn_p): New function.
	(TARGET_CANNOT_COPY_INSN_P): Define.
	(s390_cannot_force_const_mem): Handle UNSPEC_INSN.
	(struct constant_pool): New member 'execute'.
	(s390_add_execute, s390_find_execute): New functions.
	(s390_execute_label, s390_execute_target): Likewise.
	(s390_dump_pool): Output in-pool execute target templates.
	(s390_dump_execute): New function.
	(s390_alloc_pool, s390_free_pool): Handle execute templates.
	(s390_mainpool_start, s390_mainpool_finish): Likewise.
	(s390_chunkify_start, s390_chunkify_finish): Likewise.
	* config/s390/s390.md (UNSPEC_INSN, UNSPEC_EXECUTE): New constants.
	("*execute"): New insn pattern.
	("movmem_short", "*movmem_short"): Use splitters to generate
	explicit execute pattern, remove embedded execute.
	("clrmem_short", "*clrmem_short"): Likewise.
	("cmpmem_short", "*cmpmem_short"): Likewise.
From-SVN: r88555
Daniel Berlin [Tue, 5 Oct 2004 13:57:06 +0000 (13:57 +0000)]
 
tree-ssa.c (verify_ssa): Verify phi arguments only contain renamed names.
2004-10-05  Daniel Berlin  <dberlin@dberlin.org>
	* tree-ssa.c (verify_ssa): Verify phi arguments only
	contain renamed names.
From-SVN: r88554
Ulrich Weigand [Tue, 5 Oct 2004 13:45:38 +0000 (13:45 +0000)]
 
configure.host (abi_baseline_pair): Define for s390-*-linux* and s390x-*-linux*.
	* configure.host (abi_baseline_pair): Define for s390-*-linux* and
	s390x-*-linux*.
	* config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
	* config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
From-SVN: r88553
Gabriel Dos Reis [Tue, 5 Oct 2004 13:28:07 +0000 (13:28 +0000)]
 
Convert diagnostics to use quoting flag q 4/n
        Convert diagnostics to use quoting flag q 4/n
        * parser.c (cp_parser_name_lookup_error,
        cp_parser_diagnose_invalid_type_name,
        cp_parser_primary_expression, cp_parser_unqualified_id,
        cp_parser_nested_name_specifier_opt,
        cp_parser_labeled_statement,
        cp_parser_jump_statement, cp_parser_simple_declaration,
        cp_parser_decl_specifier_seq, cp_parser_mem_initializer_id,
        cp_parser_type_parameter, cp_parser_template_id,
        cp_parser_template_name, cp_parser_direct_declarator,
        cp_parser_parameter_declaration_list, cp_parser_class_head,
        cp_parser_base_specifier, cp_parser_lookup_name,
        cp_parser_late_parsing_default_args,
        cp_parser_optional_template_keyword
        cp_parser_elaborated_type_specifier,
        cp_parser_check_class_key,
        cp_parser_check_access_in_redeclaration): Use quoting marks.
        * name-lookup.c (supplement_binding, pushdecl,
        check_for_out_of_scope_variable,
        validate_nonmember_using_decl,
        do_nonmember_using_decl, lookup_tag, set_decl_namespace,
        push_namespace, do_namespace_alias, do_using_directive,
        ambiguous_decl, lookup_namespace_name, add_function):
        Likewise.
        * method.c (use_thunk): Likewise.
        * lex.c (unqualified_name_lookup_error,
        unqualified_fn_lookup_error): Likewise.
testsuite/
merlin[1:17]% cd build
~
merlin[1:17]% ls
~/build
3  4  4.0.0  c++0x  r  tree
merlin[1:17]% cd 4.0.0
~/build
merlin[1:17]% cd gcc
~/build/4.0.0
merlin[1:17]% make check-g++
~/build/4.0.0/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /home/gdr/redhat/egcs/gcc; ${PWDCMD-pwd}` ; export srcdir ;
\
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
\
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=`cd .. ; cd /home/gdr/redhat/egcs/gcc/../tcl/library ;
   ${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By gdr on Tue Oct  5 01:18:04 2004
Native configuration is i686-pc-linux-gnu
                === g++ tests ===
Schedule of variations:
    unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
Using /home/gdr/redhat/egcs/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/bprob/bprob.exp ...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/charset/charset.exp
...Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/compat/compat.exp
...Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/debug/debug.exp ...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/other/classkey1.C  (test for errors, line 9)
FAIL: g++.dg/other/classkey1.C  (test for errors, line 11)
FAIL: g++.dg/other/classkey1.C  (test for errors, line 14)
FAIL: g++.dg/other/classkey1.C  (test for errors, line 17)
FAIL: g++.dg/other/classkey1.C (test for excess errors)
FAIL: g++.dg/parse/error15.C  (test for errors, line 13)
FAIL: g++.dg/parse/error15.C  (test for errors, line 14)
FAIL: g++.dg/parse/error15.C  (test for errors, line 15)
FAIL: g++.dg/parse/error15.C  (test for errors, line 21)
FAIL: g++.dg/parse/error15.C  (test for errors, line 22)
FAIL: g++.dg/parse/error15.C  (test for errors, line 23)
FAIL: g++.dg/parse/error15.C  (test for errors, line 31)
FAIL: g++.dg/parse/error15.C  (test for errors, line 32)
FAIL: g++.dg/parse/error15.C  (test for errors, line 33)
FAIL: g++.dg/parse/error15.C (test for excess errors)
XPASS: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not .globl[
\t]+_ZTIP9CTemplateIhE
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not
.section[^\n\r]*_ZTIP9CTemplateIhE[^\n\r]*FAIL: g++.dg/template/meminit2.C  (test for errors, line 10)
FAIL: g++.dg/template/meminit2.C  (test for errors, line 11)
FAIL: g++.dg/template/meminit2.C (test for excess errors)
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/gcov/gcov.exp ...
FAIL: 102:is -:should be 1
FAIL: g++.dg/gcov/gcov-1.C gcov: 1 failures in line counts, 0 in
branch percentamerlin[1:27]% make check-g++
~/build/4.0.0/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /home/gdr/redhat/egcs/gcc; ${PWDCMD-pwd}` ; export srcdir ;
\
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
\
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=`cd .. ; cd /home/gdr/redhat/egcs/gcc/../tcl/library ;
   ${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By gdr on Tue Oct  5 01:27:39 2004
Native configuration is i686-pc-linux-gnu
                === g++ tests ===
Schedule of variations:
    unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
tar       method.c
cfns.gperf           cxx-pretty-print.c  method.c.~1.315.~
cfns.h               cxx-pretty-print.h  name-lookup.c
ChangeLog            decl2.c             name-lookup.c.~1.85.~
ChangeLog.1          decl.c              name-lookup.h
ChangeLog.~1.4404.~  decl.h              NEWS
ChangeLog.2          dump.c              operators.def
ChangeLog.3          error.c             optimize.c
ChangeLog.egcs       except.c            parser.c
ChangeLog.tree-ssa   expr.c              parser.c.~1.258.~
class.c              friend.c            pt.c
config-lang.in       g++spec.c           ptree.c
cp-gimplify.c        init.c              repo.c
cp-lang.c            init.c.~1.396.~     rtti.c
cp-objcp-common.c    lang-specs.h        search.c
cp-objcp-common.h    lex.c               semantics.c
cp-tree.def          lex.c.~1.349.~      tree.c
cp-tree.h            Make-lang.in        typeck2.c
CVS                  mangle.c            typeck.c
merlin[7:37]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Enter passphrase for RSA key '/home/gdr/.ssh/identity': cvs [diff
aborted]: received interrupt signal
merlin[7:37]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Warning: Remote host denied X11 forwarding.
Warning: Remote host denied authentication agent forwarding.
cvs diff: Diffing .
merlin[7:38]% l ~/d-5.patch
~/redhat/egcs/gcc/cp
merlin[7:39]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Warning: Remote host denied X11 forwarding.
Warning: Remote host denied authentication agent forwarding.
cvs diff: Diffing .
merlin[7:40]% l ~/d-5.patch
~/redhat/egcs/gcc/cp
You have new mail.
merlin[8:21]% cvs -z9 commit
~/redhat/egcs/gcc/cp
merlin[8:21]% cd .
~/redhat/egcs/gcc/cp
merlin[8:21]% cvs -z9 commit cp testsuite
~/redhat/egcs/gcc/cp
cvs commit: nothing known about `cp'
cvs commit: nothing known about `testsuite'
cvs [commit aborted]: correct above errors first!
merlin[8:21]% cd ..
~/redhat/egcs/gcc/cp
merlin[8:21]% cvs -z9 commit cp testsuite
~/redhat/egcs/gcc
cvs commit: Examining cp
cvs commit: Examining testsuite
cvs commit: Examining testsuite/ada
cvs commit: Examining testsuite/ada/acats
cvs commit: Examining testsuite/ada/acats/support
cvs commit: Examining testsuite/ada/acats/tests
cvs commit: Examining testsuite/ada/acats/tests/a
cvs commit: Examining testsuite/ada/acats/tests/c2
cvs commit: Examining testsuite/ada/acats/tests/c3
cvs commit: Examining testsuite/ada/acats/tests/c4
cvs commit: Examining testsuite/ada/acats/tests/c5
cvs commit: Examining testsuite/ada/acats/tests/c6
cvs commit: Examining testsuite/ada/acats/tests/c7
cvs commit: Examining testsuite/ada/acats/tests/c8
cvs commit: Examining testsuite/ada/acats/tests/c9
cvs commit: Examining testsuite/ada/acats/tests/ca
cvs commit: Examining testsuite/ada/acats/tests/cb
cvs commit: Examining testsuite/ada/acats/tests/cc
cvs commit: Examining testsuite/ada/acats/tests/cd
cvs commit: Examining testsuite/ada/acats/tests/ce
cvs commit: Examining testsuite/ada/acats/tests/cxa
cvs commit: Examining testsuite/ada/acats/tests/cxb
cvs commit: Examining testsuite/ada/acats/tests/cxf
cvs commit: Examining testsuite/ada/acats/tests/cxg
cvs commit: Examining testsuite/ada/acats/tests/cxh
cvs commit: Examining testsuite/ada/acats/tests/cz
cvs commit: Examining testsuite/ada/acats/tests/d
cvs commit: Examining testsuite/ada/acats/tests/e
cvs commit: Examining testsuite/ada/acats/tests/gcc
cvs commit: Examining testsuite/ada/acats/tests/l
cvs commit: Examining testsuite/config
cvs commit: Examining testsuite/consistency.vlad
cvs commit: Examining testsuite/consistency.vlad/layout
cvs commit: Examining
testsuite/consistency.vlad/layout/i960-97r2-results
cvs commit: Examining testsuite/g++.dg
cvs commit: Examining testsuite/g++.dg/abi
cvs commit: Examining testsuite/g++.dg/bprob
cvs commit: Examining testsuite/g++.dg/charset
cvs commit: Examining testsuite/g++.dg/compat
cvs commit: Examining testsuite/g++.dg/compat/abi
cvs commit: Examinin
From-SVN: r88552
Alan Modra [Tue, 5 Oct 2004 12:43:58 +0000 (12:43 +0000)]
 
linux.h: Formatting, whitespace.
	* config/rs6000/linux.h: Formatting, whitespace.
	* config/rs6000/linux64.h: Likewise.
	* config/rs6000/rs6000-protos.h: Likewise.
	* config/rs6000/rs6000.c: Likewise.
	(easy_vector_splat_const): Add fall thru comments.
	(output_vec_const_move): Likewise.
From-SVN: r88551