OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago * gcc.pot: Regenerate.
jsm28 [Fri, 8 Oct 2004 10:34:22 +0000 (10:34 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88743 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-typeck.c (enum impl_conv): New.
jsm28 [Fri, 8 Oct 2004 10:21:42 +0000 (10:21 +0000)]
* c-typeck.c (enum impl_conv): New.
(convert_for_assignment): Use it.  Take tree for function called
instead of its name.  Handle ObjC selectors for diagnostics at
start of function.  Select diagnostic text within the function
using full sentences for diagnsotics.  Use %qE to name functions
in diagnostics.
(convert_arguments, build_modify_expr,
c_convert_parm_for_inlining, digest_init, c_finish_return): Update
callers to convert_for_assignment.
(warn_for_assignment): Remove.

testsuite:
* gcc.dg/assign-warn-1.c, gcc.dg/assign-warn-2.c: New tests.
* gcc.dg/warn-1.c, gcc.dg/noncompile/20020213-1.c,
objc.dg/method-9.m: Update expected diagnostics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88741 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoRemove the entry corresponding to a not yet committed patch:
spop [Fri, 8 Oct 2004 09:55:47 +0000 (09:55 +0000)]
Remove the entry corresponding to a not yet committed patch:
 2004-10-04  Sebastian Pop  <pop@cri.ensmp.fr>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88740 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago(symbian_possibly_export_base_class): Replace use of deleted
nickc [Fri, 8 Oct 2004 09:46:23 +0000 (09:46 +0000)]
(symbian_possibly_export_base_class): Replace use of deleted
TYPE_USES_VIRTUAL_BASECLASSES macro with TYPE_CONTAINS_VPTR_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88739 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp,
nathan [Fri, 8 Oct 2004 09:33:55 +0000 (09:33 +0000)]
* cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp,
unmarkedp): Remove.
(dfs_skip_bases, dfs_walk_all, dfs_walk_once): New.
* class.c (struct find_final_overrider_data): Remove most_derived,
vpath_list and vpath fields.  Add path field.
(dfs_find_final_ocerrider_1): Add DEPTH parameter. Adjust.
(dfs_find_final_overrider): Rename to ...
(dfs_find_final_overrider_pre): ... here. Adjust.
(dfs_find_final_overrider_post): Adjust.
(dfs_find_final_overrider_q): Fold into
dfs_find_final_overrider_pre.
(find_final_overrider): Adjust dfs searching.
(dfs_modify_vtables): Don't mark binfo here.
(modify_all_vtables): Use dfs_walk_once.
(build_vtt_inits): Likwise. Use dfs_walk_all.
(dfs_build_secondary_vptr_vtt_inits): Don't mark binfo here.
Return dfs_skip_bases as appropriate.
(dfs_fixup_binfo_vtbls): Return dfs_skip_bases as appropriate.
* init.c (dfs_initialized_vtbl_ptrs): Return dfs_skip_bases as
appropriate. Don't mark binfo here.
(initialize_vtbl_ptrs): Use dfs_walk_once.
* search.c (struct vbase_info): Remove unused struct.
(access_in_type): Use dfs_walk_once.
(dfs_access_in_type): Don't mark binfo here.
(dfs_accessible_queue_p, dfs_accessible_p) Remove.
Fold into ...
(accessible_r): ... here. New. Specialize dfs_walk_once.
(accessible_p): Use accessible_r.
(lookup_field_queue_p): Remove. Fold into ...
(lookup_field_r): ... here. Adjust.
(lookup_member): Use dfs_walk_all.
(dfs_walk_real, dfs_walk): Replace with ...
(dfs_walk_all, dfs_walk_once): ... these.
(dfs_walk_once_r, dfs_unmark_r): Workers for dfs_walk_once.
(dfs_unmark, unmarkedp, markedp): Remove.
(dfs_get_pure_virtuals): Don't mark binfo here.
(get_pure_virtuals): Use dfs_walk_once.
(dfs_debug_unmarked_p): Remove. Fold into ...
(dfs_debug_mark): ... here.
(note_debug_info_needed): Use dfs_walk_all.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88738 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agom32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form
nickc [Fri, 8 Oct 2004 08:21:38 +0000 (08:21 +0000)]
m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form
  all_used_regs. Update call_really_used_regs.
  (CALL_REALLY_USED_REGISTERS): Define.
m32r.c (MUST_SAVE_REGISTER): Replace call_used_regs with call_really_used_regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88737 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o
amodra [Fri, 8 Oct 2004 07:04:27 +0000 (07:04 +0000)]
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o
for -profile as well as -p and -pg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88736 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 8 Oct 2004 03:07:38 +0000 (03:07 +0000)]
2004-10-07  Andrew Pinski  <pinskia@physics.uc.edu>

        * libgcc2.c (__moddi3): Cast &w to UDWtype*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88735 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 8 Oct 2004 02:55:15 +0000 (02:55 +0000)]
2004-10-07  Andrew Pinski  <pinskia@physics.uc.edu>

        * libgcc2.c (__moddi3): Cast &w to UDWtype*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88734 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 8 Oct 2004 02:46:00 +0000 (02:46 +0000)]
2004-10-07  Andrew Pinski  <pinskia@physics.uc.edu>

        * pt.c (tsubst_expr) <case ASM_EXPR>: Look passed the
        CLEANUP_POINT_EXPR to get the asm expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88733 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Bob Wilson <bob.wilson@acm.org>
bwilson [Fri, 8 Oct 2004 00:28:50 +0000 (00:28 +0000)]
2004-10-07  Bob Wilson  <bob.wilson@acm.org>
        * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
        XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
        (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88727 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR fortran/17676
tobi [Fri, 8 Oct 2004 00:16:28 +0000 (00:16 +0000)]
PR fortran/17676
* resolve.c (resolve_operator): Use correct operator name in message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88726 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Fri, 8 Oct 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88724 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Fri, 8 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88723 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 J"orn Rennecke <joern.rennecke@st.com>
amylaar [Fri, 8 Oct 2004 00:11:38 +0000 (00:11 +0000)]
2004-10-07  J"orn Rennecke <joern.rennecke@st.com>

* MAINTAINERS:  Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88721 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (tree_block_forwards_to): Remove.
kazu [Thu, 7 Oct 2004 23:31:04 +0000 (23:31 +0000)]
* tree-cfg.c (tree_block_forwards_to): Remove.
* tree-flow.h: Remove the corresponding prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88719 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Phil Edwards <phil@codesourcery.com>
pme [Thu, 7 Oct 2004 23:20:42 +0000 (23:20 +0000)]
2004-10-07  Phil Edwards  <phil@codesourcery.com>

* testsuite/lib/libstdc++.exp:  Update list of undefined functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88716 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 7 Oct 2004 22:44:30 +0000 (22:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88715 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-flow-inline.h (phi_nodes): Remove an unnecessary check
kazu [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88714 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 7 Oct 2004 22:06:23 +0000 (22:06 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88711 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
rearnsha [Thu, 7 Oct 2004 22:00:29 +0000 (22:00 +0000)]
* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88710 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * io/transfer.c (finalize_transfer): Free internal streams.
pbrook [Thu, 7 Oct 2004 21:30:50 +0000 (21:30 +0000)]
* io/transfer.c (finalize_transfer): Free internal streams.
* io/unix.c (mem_close): Free stream object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88709 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-07 Geoffrey Keating <geoffk@apple.com>
geoffk [Thu, 7 Oct 2004 21:16:28 +0000 (21:16 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88707 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/s390/s390-protos.h (s390_narrow_logical_operator): Add.
uweigand [Thu, 7 Oct 2004 20:44:28 +0000 (20:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88705 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * intrinsics/string_intrinsics.c (string_verify): Fix off by one
pbrook [Thu, 7 Oct 2004 20:19:32 +0000 (20:19 +0000)]
* intrinsics/string_intrinsics.c (string_verify): Fix off by one
error.
testsuite/
* gfortran.dg/intrinsic_verify_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88704 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/mips/mips.c (mips_function_rodata_section): New function.
rsandifo [Thu, 7 Oct 2004 20:08:41 +0000 (20:08 +0000)]
* config/mips/mips.c (mips_function_rodata_section): New function.
(TARGET_ASM_FUNCTION_RODATA_SECTION): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88703 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * de.po: Update.
jsm28 [Thu, 7 Oct 2004 18:32:14 +0000 (18:32 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88699 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * cp-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag.
mmitchel [Thu, 7 Oct 2004 17:48:36 +0000 (17:48 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88697 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gfortran.dg/empty_format_1.f90: Remove stray commas.
pbrook [Thu, 7 Oct 2004 17:45:40 +0000 (17:45 +0000)]
* gfortran.dg/empty_format_1.f90: Remove stray commas.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88696 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
tobi [Thu, 7 Oct 2004 17:07:18 +0000 (17:07 +0000)]
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90,
gfortran.dg/ishft.f90: Add more tests. Add dg-warning in followup
commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88695 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * rs6000/altivec.md (UNSPEC_VCMPBFP, UNSPEC_VCMPEQUB, UNSPEC_VCMPEQUH,
dpatel [Thu, 7 Oct 2004 16:05:35 +0000 (16:05 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88692 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR libstdc++/17850
sayle [Thu, 7 Oct 2004 15:52:26 +0000 (15:52 +0000)]
PR libstdc++/17850
* configure.ac: Newlib does not provide strtold.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88691 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agofortran/
tobi [Thu, 7 Oct 2004 15:12:06 +0000 (15:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88690 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/17749
rakdver [Thu, 7 Oct 2004 14:21:15 +0000 (14:21 +0000)]
PR tree-optimization/17749
* tree-tailcall.c (find_tail_calls): Check that parameter is
a gimple_reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88689 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agocp/ChangeLog:
pinskia [Thu, 7 Oct 2004 13:48:27 +0000 (13:48 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88688 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/ia64/ia64.c: Fix a comment typo.
kazu [Thu, 7 Oct 2004 13:18:34 +0000 (13:18 +0000)]
* config/ia64/ia64.c: Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88686 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * trans-stmt.c: Fix a comment typo.
kazu [Thu, 7 Oct 2004 13:16:16 +0000 (13:16 +0000)]
* trans-stmt.c: Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88685 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/install.texi (*-*-solaris2*): Fix marker for URL.
ebotcazou [Thu, 7 Oct 2004 12:14:45 +0000 (12:14 +0000)]
* doc/install.texi (*-*-solaris2*): Fix marker for URL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88682 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/17115
giovannibajo [Thu, 7 Oct 2004 08:36:28 +0000 (08:36 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88678 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR target/17862
ebotcazou [Thu, 7 Oct 2004 07:55:39 +0000 (07:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88674 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Eric Christopher <echristo@redhat.com>
echristo [Thu, 7 Oct 2004 06:48:22 +0000 (06:48 +0000)]
2004-10-06  Eric Christopher  <echristo@redhat.com>

* config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf
attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88671 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR target/17770
rsandifo [Thu, 7 Oct 2004 06:41:25 +0000 (06:41 +0000)]
PR target/17770
* config/mips/mips.md (mov_<load>l): Remove hazard=none attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88670 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR rtl-optimization/17791
rakdver [Thu, 7 Oct 2004 06:20:34 +0000 (06:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88668 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix wrong attribution.
ebotcazou [Thu, 7 Oct 2004 06:15:40 +0000 (06:15 +0000)]
Fix wrong attribution.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88666 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/17806
rakdver [Thu, 7 Oct 2004 06:14:15 +0000 (06:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88665 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcc.c-torture/compile/20041007-1.c: New test.
ebotcazou [Thu, 7 Oct 2004 06:08:15 +0000 (06:08 +0000)]
* gcc.c-torture/compile/20041007-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88662 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR middle-end/17835
ebotcazou [Thu, 7 Oct 2004 05:56:51 +0000 (05:56 +0000)]
PR middle-end/17835
* expmed.c (expand_sdiv_pow2): Force a stack adjustment
before tentatively building the conditional move sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88661 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR target/16815
rsandifo [Thu, 7 Oct 2004 05:34:30 +0000 (05:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88660 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR bootstrap/17857
rsandifo [Thu, 7 Oct 2004 05:28:46 +0000 (05:28 +0000)]
PR bootstrap/17857
* Makefile.in (stmp-fixproto): Pass FIX_HEADER=build/... to fixproto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88659 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * MAINTAINERS (Language Front Ends Maintainers): New. Move
kazu [Thu, 7 Oct 2004 04:03:44 +0000 (04:03 +0000)]
* MAINTAINERS (Language Front Ends Maintainers): New.  Move
entries belonging to this category.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88658 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * hooks.c (hook_int_void_1, hook_void_int): Remove.
kazu [Thu, 7 Oct 2004 04:00:55 +0000 (04:00 +0000)]
* hooks.c (hook_int_void_1, hook_void_int): Remove.
* hooks.h: Remove the corresponding prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88657 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR fortran/17678
pbrook [Thu, 7 Oct 2004 00:43:21 +0000 (00:43 +0000)]
PR fortran/17678
* trans-array.c (gfc_trans_deferred_array): Leave use associated
variables alone.
testsuite/
* gfortran.dg/use_allocated_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88655 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Thu, 7 Oct 2004 00:17:18 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88653 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Thu, 7 Oct 2004 00:17:13 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88652 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 6 Oct 2004 23:45:48 +0000 (23:45 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88650 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* simplify.c (gfc_simplify_abs): Use mpfr_hypot for CABS.
tobi [Wed, 6 Oct 2004 23:16:43 +0000 (23:16 +0000)]
* simplify.c (gfc_simplify_abs): Use mpfr_hypot for CABS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88647 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove.
kazu [Wed, 6 Oct 2004 22:20:31 +0000 (22:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88631 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-typeck.c (convert_arguments): Take expression for called
jsm28 [Wed, 6 Oct 2004 22:16:29 +0000 (22:16 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88630 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 6 Oct 2004 22:13:14 +0000 (22:13 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88629 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 6 Oct 2004 22:12:34 +0000 (22:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88628 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-05 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 6 Oct 2004 22:09:25 +0000 (22:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88627 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Eric Christopher <echristo@redhat.com>
echristo [Wed, 6 Oct 2004 20:27:15 +0000 (20:27 +0000)]
2004-10-06  Eric Christopher  <echristo@redhat.com>

* dwarf2.h: Sync with include/elf/dwarf2.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88626 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 6 Oct 2004 20:14:28 +0000 (20:14 +0000)]
2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

* tree-pretty-print.c (dump_generic_node): Fix printing of BINFO
and TREE_VEC nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88624 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoIt would have been nice to commit the changelog as well.
dberlin [Wed, 6 Oct 2004 19:51:22 +0000 (19:51 +0000)]
It would have been nice to commit the changelog as well.
sigh

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88623 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 6 Oct 2004 19:40:54 +0000 (19:40 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88622 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoadded changelog entry for prior commit.
zadeck [Wed, 6 Oct 2004 19:31:31 +0000 (19:31 +0000)]
added changelog entry for prior commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88620 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (thread_jumps): Remove a duplicate check for
kazu [Wed, 6 Oct 2004 19:05:12 +0000 (19:05 +0000)]
* tree-cfg.c (thread_jumps): Remove a duplicate check for
EXIT_BLOCK_PTR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88619 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR libfortran/17709
pbrook [Wed, 6 Oct 2004 18:27:58 +0000 (18:27 +0000)]
PR libfortran/17709
* io/transfer.c (data_transfer_init): Reset sf_seen_eor.
testsuite/
* gfortran.dg/empty_format_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88615 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/s390/s390-protos.h (s_imm_operand): Remove.
uweigand [Wed, 6 Oct 2004 18:22:00 +0000 (18:22 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88614 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoAdded missing memory attribute to asm instruction.
zadeck [Wed, 6 Oct 2004 16:54:58 +0000 (16:54 +0000)]
Added missing memory attribute to asm instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88612 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 6 Oct 2004 16:31:19 +0000 (16:31 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88611 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR fortran/17283
tobi [Wed, 6 Oct 2004 16:24:30 +0000 (16:24 +0000)]
PR fortran/17283
* gfortran.fortran-torture/execute/intrinsic_pack.f90: Enable new
tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88610 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agofortran/
tobi [Wed, 6 Oct 2004 16:21:42 +0000 (16:21 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88609 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to
sje [Wed, 6 Oct 2004 16:07:03 +0000 (16:07 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88608 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * trans-stmt.c (gfc_trans_simple_do): New function.
pbrook [Wed, 6 Oct 2004 15:29:25 +0000 (15:29 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88607 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * parse.y (issue_warning_error_from_context): Use va_list *
uweigand [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_error_context): Update call.
(parse_warning_context): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88605 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * builtins.c (expand_builtin_strcpy): Delete duplicate code.
ghazi [Wed, 6 Oct 2004 13:23:30 +0000 (13:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88604 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * MAINTAINERS: Update my e-mail address.
zlomek [Wed, 6 Oct 2004 11:59:51 +0000 (11:59 +0000)]
* MAINTAINERS: Update my e-mail address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88598 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR target/16007
ebotcazou [Wed, 6 Oct 2004 11:01:43 +0000 (11:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88595 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 6 Oct 2004 10:09:29 +0000 (10:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88594 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-06 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 6 Oct 2004 09:06:59 +0000 (09:06 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88593 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * cse.c (cse_main): Kill push/pop context.
hubicka [Wed, 6 Oct 2004 07:30:12 +0000 (07:30 +0000)]
* cse.c (cse_main): Kill push/pop context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88592 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * pretty-print.c: Include tree.h.
zack [Wed, 6 Oct 2004 04:47:42 +0000 (04:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88590 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 6 Oct 2004 04:22:42 +0000 (04:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88589 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR 16406
amodra [Wed, 6 Oct 2004 00:54:01 +0000 (00:54 +0000)]
PR 16406
* doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88586 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Wed, 6 Oct 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88584 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Wed, 6 Oct 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88583 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * basic-block.h: Remove the prototype for
kazu [Tue, 5 Oct 2004 22:55:59 +0000 (22:55 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88580 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR 17756
rth [Tue, 5 Oct 2004 22:42:34 +0000 (22:42 +0000)]
    PR 17756
        * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88579 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-10-05 Kelley Cook <kcook@gcc.gnu.org>
kcook [Tue, 5 Oct 2004 21:51:13 +0000 (21:51 +0000)]
2004-10-05  Kelley Cook  <kcook@gcc.gnu.org>

PR bootstrap/17817
* Makefile.in: Stage the build directory too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88577 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix email
gdr [Tue, 5 Oct 2004 20:14:42 +0000 (20:14 +0000)]
Fix email

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88575 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/frv/frv.h (LEGITIMIZE_ADDRESS): New.
aldyh [Tue, 5 Oct 2004 20:11:17 +0000 (20:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88574 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago Convert diagnostics to use quoting flag q 6/n
gdr [Tue, 5 Oct 2004 20:09:09 +0000 (20:09 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88573 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
jsm28 [Tue, 5 Oct 2004 19:58:39 +0000 (19:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88571 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-decl.c (pushdecl): When an extern declaration at block scope
jsm28 [Tue, 5 Oct 2004 19:54:26 +0000 (19:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88570 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in
kazu [Tue, 5 Oct 2004 19:04:46 +0000 (19:04 +0000)]
* tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in
comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88568 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (thread_jumps): Remove a duplicate check for
kazu [Tue, 5 Oct 2004 19:00:54 +0000 (19:00 +0000)]
* tree-cfg.c (thread_jumps): Remove a duplicate check for
an infinite loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88567 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead
kazu [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.  Remove a useless check for unreachable
blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88566 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (cleanup_tree_cfg): Don't call
kazu [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().
(thread_jumps): Always remove basic blocks as they become
unreachable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88565 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (cleanup_tree_cfg): Remove variable
kazu [Tue, 5 Oct 2004 18:48:44 +0000 (18:48 +0000)]
* tree-cfg.c (cleanup_tree_cfg): Remove variable
something_changed.  Simplify the while loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88564 138bc75d-0d04-0410-961f-82ee72b054a4