gcc.git
19 years agore PR middle-end/16266 (gcc.dg/c99-intconst-1.c compilation is very slow)
Andrew Pinski [Mon, 11 Oct 2004 18:32:40 +0000 (11:32 -0700)]
re PR middle-end/16266 (gcc.dg/c99-intconst-1.c compilation is very slow)

2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu

        PR middle-end/16266
        * function.c (temp_slots_at_level): Fix typo which creates too
        many temp stack slots levels.

From-SVN: r88896

19 years agos390.c (s390_trampoline_template): Generate shorter trampoline code.
Ulrich Weigand [Mon, 11 Oct 2004 18:28:25 +0000 (18:28 +0000)]
s390.c (s390_trampoline_template): Generate shorter trampoline code.

* config/s390/s390.c (s390_trampoline_template): Generate shorter
trampoline code.
(s390_trampoline_instantiate): Adapt.
* config/s390/s390.h (TRAMPOLINE_SIZE): Adapt to new code.

From-SVN: r88895

19 years agoposix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
Richard Henderson [Mon, 11 Oct 2004 17:49:39 +0000 (10:49 -0700)]
posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.

        * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
        (_Jv_ThreadSelf): Use __builtin_thread_pointer.

From-SVN: r88894

19 years agoInitial revision
Tom Tromey [Mon, 11 Oct 2004 17:44:11 +0000 (17:44 +0000)]
Initial revision

From-SVN: r88890

19 years agocleanup5.C: Add dg-options "".
Andrew Pinski [Mon, 11 Oct 2004 17:20:16 +0000 (17:20 +0000)]
cleanup5.C: Add dg-options "".

2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/eh/cleanup5.C: Add dg-options "".

From-SVN: r88888

19 years agore PR c++/17929 (ICE with qualified name in template specialization)
Mark Mitchell [Mon, 11 Oct 2004 16:59:23 +0000 (16:59 +0000)]
re PR c++/17929 (ICE with qualified name in template specialization)

PR c++/17929
* decl2.c (finish_anon_union): Robustify.

From-SVN: r88886

19 years agocp-tree.h (get_dynamic_cast_base_type): Rename to ...
Nathan Sidwell [Mon, 11 Oct 2004 16:36:03 +0000 (16:36 +0000)]
cp-tree.h (get_dynamic_cast_base_type): Rename to ...

* cp-tree.h (get_dynamic_cast_base_type): Rename to ...
(dcast_base_hint): ... here.
* rtti.c (build_dynamic_cast_1): Use dcast_base_hint.
* search.c (struct dcast_data_s): New.
(dynamic_cast_base_recurse): Remove. Replace with ...
(dfs_dcast_hint_pre, dfs_dcast_base_post): ... these. New.
(get_dynamic_cast_base_type): Rename to ...
(dcast_base_hint): ... here.  Use dfs_walk_once_accessible.
(accessible_r): Remove.
(dfs_accessible_post): New, broken out of accessible_r.
(accessible_p): Use dfs_walk_once_accessible.
(dfs_walk_once_accessible_r): New. From accessible_r.
(dfs_walk_once_accessible): New. From acessible_p.

From-SVN: r88884

19 years agore PR middle-end/17657 (ICE in expand_case)
Roger Sayle [Mon, 11 Oct 2004 16:11:35 +0000 (16:11 +0000)]
re PR middle-end/17657 (ICE in expand_case)

PR middle-end/17657
* stmt.c (add_case_node): Add additional type argument.  Declare
as static to match prototype.  Convert the upper and lower bounds
to the specified index type.  Optimize away case ranges/values
that are outside the index type's bounds.  Truncate case ranges
that span the index type's bounds.
(expand_case): Avoid unnessary computation and memory allocation
when index type is error_mark_node.  Pass index_type as required
by change to add_case_node API.  No need to convert case range
bounds to index_type, this is now done by add_case_node.

* gcc.dg/switch-4.c: New test case.

From-SVN: r88881

19 years agocp-tree.h (SAME_BINFO_TYPE_P): New.
Nathan Sidwell [Mon, 11 Oct 2004 15:38:23 +0000 (15:38 +0000)]
cp-tree.h (SAME_BINFO_TYPE_P): New.

* cp-tree.h (SAME_BINFO_TYPE_P): New.
* class.c (build_base_path): Use SAME_BINFO_TYPE_P to compare
binfo types.
(convert_to_base_statically, determine_primary_bases,
update_vtable_entry_for_fn, dfs_modify_vtables, build_vtt_inits,
dfs_build_secondary_vptr_vtt_inits, build_ctor_vtbl_group,
accumulate_vtbl_inits, dfs_accumulate_vtbl_inits,
build_vtbl_initializer, add_vcall_offset_vtbl_entries_1): Likewise.
* init.c (expand_member_init): Likewise.
* search.c (lookup_base_r, dynamic_cast_base_recurse,
binfo_via_virtual, copied_binfo, binfo_for_vbase,
original_binfo): Likewise.
* tree.c (copy_binfo): Likewise.

From-SVN: r88880

19 years agos390-protos.h (s390_offset_p): Add prototype.
Ulrich Weigand [Mon, 11 Oct 2004 14:33:25 +0000 (14:33 +0000)]
s390-protos.h (s390_offset_p): Add prototype.

* config/s390/s390-protos.h (s390_offset_p): Add prototype.
* config/s390/s390.c (s390_offset_p): New function.
* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccu",
"*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use splitter to
transform Q->Q alternatives to *clc pattern.
("*clc"): Move.
("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
"*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf"): Use splitter
to transform Q->Q alternatives to *mvc pattern.
("*mvc"): Move.  Add peephole to merge adjacent MVCs.
("*anddi3", "*andsi3_zarch", "*andsi3_esa", "*andhi3_zarch",
"*andhi3_esa", "*andqi3_zarch", "*andqi3_esa"): Use splitter to
transform Q->Q alternatives to *nc pattern.
("*nc"): New insn.  New peephole to merge adjacent NCs.
("*iordi3", "*iorsi3_zarch", "*iorsi3_esa", "*iorhi3_zarch",
"*iorhi3_esa", "*iorqi3_zarch", "*iorqi3_esa"): Use splitter to
transform Q->Q alternatives to *oc pattern.
("*oc"): New insn.  New peephole to merge adjacent OCs.
("*xordi3", "*xorsi3", "*xorhi3", "*xorqi3"): Use splitter to
transform Q->Q alternatives to *xc pattern.
("*xc"): New insn.  New peephole to merge adjacent XCs.
("*xc_zero"): Move.  Add peephole to merge adjacent XCs.

From-SVN: r88878

19 years agogimplify.c (gimple_push_condition): Make sure that we don't have any saved condition...
Andrew Pinski [Mon, 11 Oct 2004 12:57:09 +0000 (12:57 +0000)]
gimplify.c (gimple_push_condition): Make sure that we don't have any saved condition cleanup if...

2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * gimplify.c (gimple_push_condition): Make sure that we don't
        have any saved condition cleanup if we were at the top level.

From-SVN: r88877

19 years agofrv.md (*adddi3_internal): Change name to...
Richard Sandiford [Mon, 11 Oct 2004 12:13:43 +0000 (12:13 +0000)]
frv.md (*adddi3_internal): Change name to...

* config/frv/frv.md (*adddi3_internal): Change name to...
(adddi3): ...replacing the exisiting define_expand.  Combine
alternatives.  Fix the range of the constant constraints ('J' instead
of 'NOP').  Remove bogus operands[2] check.  Use simplify_gen_subreg
to extract the lower and upper halves of the DImode operands.
Always use addi3_lower and adddi3_upper, not the subdi3 forms.
(adddi3_lower): Fix the range of the constant constraints and
remove the bogus operands[2] check.
(adddi3_upper): Use gpr_or_int10_operand as the predicate for
operand 2.  Use addxi to handle constant operands.
(subdi3_lower, subdi3_upper): Don't handle constant operands.

From-SVN: r88876

19 years ago* semantics.c: Fix comment typos.
Kazu Hirata [Mon, 11 Oct 2004 11:47:11 +0000 (11:47 +0000)]
* semantics.c: Fix comment typos.

From-SVN: r88875

19 years agogengtype-lex.l: Add commented } & ) characters to unconfuse editor's paren matching.
Nathan Sidwell [Mon, 11 Oct 2004 08:55:23 +0000 (08:55 +0000)]
gengtype-lex.l: Add commented } & ) characters to unconfuse editor's paren matching.

* gengtype-lex.l: Add commented } & ) characters to unconfuse
editor's paren matching. Allow #define inside a struct.

From-SVN: r88873

19 years agopool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): Deal properly with exceptio...
Joachim Kuebart [Mon, 11 Oct 2004 08:19:35 +0000 (08:19 +0000)]
pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): Deal properly with exceptions thrown by ::operator new(size_t).

2004-10-11  Joachim Kuebart  <kuebart@mathematik.uni-ulm.de>
    Paolo Carlini  <pcarlini@suse.de>

* src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
Deal properly with exceptions thrown by ::operator new(size_t).
* testsuite/ext/pool_allocator/allocate_chunk.cc: New.

* include/ext/pool_allocator.h: Include <cstdlib>.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r88872

19 years agoRemove extra whitespace.
Andreas Jaeger [Mon, 11 Oct 2004 05:29:17 +0000 (07:29 +0200)]
Remove extra whitespace.

From-SVN: r88871

19 years agomakedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
Andreas Jaeger [Mon, 11 Oct 2004 05:19:48 +0000 (07:19 +0200)]
makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.

* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
* Makefile.in (makedepend.o): Add dependency on mkdeps.h.

From-SVN: r88870

19 years agore PR c++/17554 (crashes in on kopete build (KDE's kdenetwork))
Andrew Pinski [Mon, 11 Oct 2004 03:42:09 +0000 (03:42 +0000)]
re PR c++/17554 (crashes in on kopete build (KDE's kdenetwork))

2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17554
        part of c++/17657
        middle-end/17703
        * semantics.c (maybe_cleanup_point_expr): Call
        fold_build_cleanup_point_expr.
        (maybe_cleanup_point_expr_void): New function.
        (add_decl_expr): Call maybe_cleanup_point_expr_void.
        (finish_expr_stmt): Likewise.
        (finish_return_stmt): Likewise.
        (finish_for_expr): Likewise.
        (finish_asm_stmt): Likewise.
        * typeck.c (condition_conversion): Call
        fold_build_cleanup_point_expr.

2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17703
        part of PR c++/17657
        * fold-const.c (fold_build_cleanup_point_expr): New function.
        * tree.h (fold_build_cleanup_point_expr): Prototype.

2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17554
        * g++.dg/init/for3.C: New test.

        PR c++/17657
        * g++.dg/opt/switch2.C: New test.

        PR middle-end/17703
        * g++.dg/warn/Wreturn-2.C: New test.

From-SVN: r88869

19 years agodwarf2out.c: Move attribute to subprogram declaration instead of subroutine type.
Eric Christopher [Mon, 11 Oct 2004 03:22:28 +0000 (03:22 +0000)]
dwarf2out.c: Move attribute to subprogram declaration instead of subroutine type.

2004-10-10  Eric Christopher  <echristo@redhat.com>

* dwarf2out.c: Move attribute to subprogram declaration
instead of subroutine type.

From-SVN: r88868

19 years agore PR c++/17907 (ice in optimize_inline_calls, at tree-inline.c)
Andrew Pinski [Mon, 11 Oct 2004 03:16:47 +0000 (03:16 +0000)]
re PR c++/17907 (ice in optimize_inline_calls, at tree-inline.c)

2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17907
        * semantics.c (add_decl_expr): If the decl has a size which
        has side effects then the decl expression needs a cleanup point.
2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17907
        * g++.dg/eh/cleanup5.C: New test.

From-SVN: r88867

19 years agoDaily bump.
GCC Administrator [Mon, 11 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r88865.2

19 years agoDaily bump.
GCC Administrator [Mon, 11 Oct 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r88864.2

19 years agobasic-block.h: Remove the prototypes for can_hoist_insn_p...
Kazu Hirata [Sun, 10 Oct 2004 22:06:04 +0000 (22:06 +0000)]
basic-block.h: Remove the prototypes for can_hoist_insn_p...

* basic-block.h: Remove the prototypes for can_hoist_insn_p,
hoist_insn_after, and hoist_insn_to_edge.
* rtl.h: Remove the prototypes for reg_referenced_between_p,
no_jumps_between_p, and insn_dependent_p.
* rtlanal.c (no_jumps_between_p, reg_referenced_between_p,
insn_dependent_p, insn_dependent_p_1, hoist_test_store,
can_hoist_insn_p, hoist_update_store, hoist_insn_after,
hoist_insn_to_edge): Remove.

From-SVN: r88860

19 years agofunctexcept.h: Add guards.
Benjamin Kosnik [Sun, 10 Oct 2004 21:54:41 +0000 (21:54 +0000)]
functexcept.h: Add guards.

2004-10-10  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/functexcept.h: Add guards.

* acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
* configure: Regenerate.

From-SVN: r88857

19 years agore PR c++/17393 ("unused variable '._0'" warning with -Wall)
Mark Mitchell [Sun, 10 Oct 2004 21:49:27 +0000 (21:49 +0000)]
re PR c++/17393 ("unused variable '._0'" warning with -Wall)

PR c++/17393
* decl.c (grokdeclarator): Robustify error-recovery on invalid
declarations.

PR c++/17393
* g++.dg/parse/error21.C: New test.

From-SVN: r88855

19 years agoConvert diagnostics to use quoting flag q 7/n
Gabriel Dos Reis [Sun, 10 Oct 2004 21:36:42 +0000 (21:36 +0000)]
Convert diagnostics to use quoting flag q 7/n

cp/
        Convert diagnostics to use quoting flag q 7/n
        * typeck.c (composite_pointer_type_r, composite_pointer_type,
        cxx_sizeof_or_alignof_type, cxx_sizeof_or_alignof_expr,
        string_conv_p, build_class_member_access_expr,
        build_class_member_access_expr, lookup_destructor,
        finish_class_member_access_expr, build_indirect_ref,
        get_member_function_from_ptrfunc, build_function_call,
        convert_arguments, build_binary_op, pointer_diff,
        build_unary_op,
        check_for_casting_away_constness, build_static_cast,
        build_reinterpret_cast, build_const_cast, build_c_cast,
        build_modify_expr, get_delta_difference, build_ptrmemfunc,
        dubious_conversion_warnings, convert_for_assignment,
        convert_for_initialization,
        maybe_warn_about_returning_address_of_local,
        check_return_expr):
        Use quoting marks.

        * typeck2.c (error_not_base_type, readonly_error,
        abstract_virtuals_error, cxx_incomplete_type_diagnostic,
        store_init_value, digest_init, build_x_arrow,
        build_m_component_ref, require_complete_eh_spec_types):
        Likewise.

        * tree.c (cp_build_qualified_type_real,
        handle_java_interface_attribute,
        handle_init_priority_attribute):
        Likewise.

        * semantics.c (finish_asm_stmt, finish_non_static_data_member,
        finish_pseudo_destructor_expr,
        check_template_template_default_arg, begin_class_definition,
        finish_base_specifier, qualified_name_lookup_error,
        finish_id_expression, finish_typeof): Likewise.

        * search.c (lookup_base, check_final_overrider,
        look_for_overrides_r): Likewise.

        * rtti.c (get_tinfo_decl, build_dynamic_cast_1): Likewise.
testsuite/
        * g++.dg/overload/pmf1.C: Adjust quoting marks.
        * g++.dg/warn/incomplete1.C: Likewise.
        * g++.dg/template/qualttp20.C: Likewise.

From-SVN: r88854

19 years agore PR c/17881 (Incomplete type warning is issued even for prototypes)
Joseph Myers [Sun, 10 Oct 2004 19:20:35 +0000 (20:20 +0100)]
re PR c/17881 (Incomplete type warning is issued even for prototypes)

PR c/17881
* c-decl.c (grokparms): Don't warn for parameters of incomplete
type in declarations that are not definitions except for the case
of parameters of void type.

testsuite:
* parm-incomplete-1.c: New test.

From-SVN: r88850

19 years agomonetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding...
Paolo Carlini [Sun, 10 Oct 2004 17:55:23 +0000 (17:55 +0000)]
monetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding spurious warnings.

2004-10-10  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/monetary_members.cc (_S_construct_pattern):
Give __ret a default value, thus avoiding spurious warnings.

* testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
words or linux.words, otherwise exit.
* testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.

From-SVN: r88848

19 years agoCalendar.java (set): Invalidate DST_OFFSET field as a DST boundary may have been...
Bryce McKinlay [Sun, 10 Oct 2004 16:19:37 +0000 (16:19 +0000)]
Calendar.java (set): Invalidate DST_OFFSET field as a DST boundary may have been crossed.

2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>

* java/util/Calendar.java (set): Invalidate DST_OFFSET
field as a DST boundary may have been crossed.
* java/util/GregorianCalendar.java (add): Throw
IllegalArgumentException on attempt to add to DST_OFFSET or
ZONE_OFFSET fields. Update javadoc.

From-SVN: r88847

19 years ago* module.c: Fix formatting issues.
Tobias Schlüter [Sun, 10 Oct 2004 14:35:39 +0000 (16:35 +0200)]
* module.c: Fix formatting issues.

From-SVN: r88846

19 years ago* tree-cfg.c: Fix comment typos.
Kazu Hirata [Sun, 10 Oct 2004 13:16:35 +0000 (13:16 +0000)]
* tree-cfg.c: Fix comment typos.

From-SVN: r88845

19 years agoFix typo
Mark Mitchell [Sun, 10 Oct 2004 05:36:35 +0000 (05:36 +0000)]
Fix typo

From-SVN: r88839

19 years agore PR c++/17867 ("void" instead of class name in error message)
Mark Mitchell [Sun, 10 Oct 2004 05:02:54 +0000 (05:02 +0000)]
re PR c++/17867 ("void" instead of class name in error message)

PR c++/17867
* error.c (dump_expr): Correct handling of AGGR_INIT_EXPRs using a
constructor.

PR c++/17670
* init.c (build_new): Correct comments.
* parser.c (cp_parser_new_expression): Use NULL_TREE for nelts in
the non-array case.

PR c++/17821
* parser.c (cp_parser_postfix_dot_deref_expression): If the
pseduo-destructor-name production does not work, fall back to the
ordinary production.

PR c++/17826
* tree.c (cp_tree_equal): Handle a BASELINK.

PR c++/17687
* g++.dg/parse/error19.C: New test.

PR c++/17670
* g++.dg/init/new11.C: New test.

PR c++/17821
* g++.dg/parse/error20.C: New test.

PR c++/17826
* g++.dg/template/crash24.C: New test.

From-SVN: r88836

19 years agore PR c/17301 (ICE on wrong usage of __builtin_stdarg_start)
Joseph Myers [Sun, 10 Oct 2004 01:10:53 +0000 (02:10 +0100)]
re PR c/17301 (ICE on wrong usage of __builtin_stdarg_start)

PR c/17301
* builtins.c (expand_builtin_va_start): Check for too few
arguments to va_start.

testsuite:
* gcc.dg/pr17301-1.c: New test.

From-SVN: r88835

19 years agore PR c/17189 (bogus warning for struct Foo { int; };)
Joseph Myers [Sun, 10 Oct 2004 00:47:20 +0000 (01:47 +0100)]
re PR c/17189 (bogus warning for  struct Foo { int; };)

PR c/17189
* c-decl.c (grokfield): Make diagnostic for bad cases of unnamed
fields a pedwarn.  Pedwarn here for unnamed structs/unions if
pedantic.
* c-parse.in (component_decl): Don't pedwarn here for unnamed
fields.

testsuite:
* gcc.dg/anon-struct-5.c: New test.

From-SVN: r88834

19 years agoDaily bump.
GCC Administrator [Sun, 10 Oct 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r88832.2

19 years agoDaily bump.
GCC Administrator [Sun, 10 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r88831.2

19 years agore PR c/17844 (-fshort-enums: ISO/IEC 9899:1999 : wrong size of identifier in enumera...
Joseph Myers [Sat, 9 Oct 2004 23:28:38 +0000 (00:28 +0100)]
re PR c/17844 (-fshort-enums: ISO/IEC 9899:1999 : wrong size of identifier in enumerator list)

PR c/17844
* gcc.dg/pr17844-1.c: New test.

From-SVN: r88829

19 years agore PR middle-end/17906 (ICE in verify_ssa: PHI argument is not SSA_NAME, or invariant)
Zdenek Dvorak [Sat, 9 Oct 2004 20:19:37 +0000 (22:19 +0200)]
re PR middle-end/17906 (ICE in verify_ssa: PHI argument is not SSA_NAME, or invariant)

PR tree-optimization/17906
* tree-tailcall.c (tree_optimize_tail_calls_1): Do not attempt to
copy non-gimple reg arguments.

From-SVN: r88828

19 years ago[multiple changes]
Roger Sayle [Sat, 9 Oct 2004 19:27:55 +0000 (19:27 +0000)]
[multiple changes]

2004-10-09  Roger Sayle  <roger@eyesopen.com>

PR rtl-optimization/17853
* simplify-rtx.c (simplify_relational_operation): Correct comment.
Reorganize handling of comparison operations with floating point
results (always return 0.0 even without FLOAT_STORE_FLAG_VALUE).
Likewise, introduce support for comparison operations with vector
result types, introducing a new VECTOR_STORE_FLAG_VALUE target macro.

* doc/rtl.texi: Document new VECTOR_STORE_FLAG_VALUE target macro.
* doc/tm.texi: Likewise.

2004-10-09  Stuart Hastings  <stuart@apple.com>
    Roger Sayle  <roger@eyesopen.com>

PR rtl-optimization/17853
* gcc.dg/i386-mmx-5.c: New testcase.

From-SVN: r88826

19 years agoregs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields.
Steven Bosscher [Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)]
regs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields.

* regs.h (struct reg_info_def): Remove the last_node_uid and
changes_mode fields.
(REGNO_LAST_NOTE_UID): Don't define.
* regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID.
* regmove.c (copy_src_to_dest): Likewise.

From-SVN: r88825

19 years agopr17902.C: Fix typo in dg-do.
Andrew Pinski [Sat, 9 Oct 2004 18:00:53 +0000 (18:00 +0000)]
pr17902.C: Fix typo in dg-do.

2004-10-09  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/opt/pr17902.C: Fix typo in dg-do.

From-SVN: r88823

19 years agore PR c++/17524 (ICE with initializing a variable of type void)
Mark Mitchell [Sat, 9 Oct 2004 17:33:02 +0000 (17:33 +0000)]
re PR c++/17524 (ICE with initializing a variable of type void)

PR c++/17524
* cp-tree.h (check_var_type): New function.
* decl.c (check_var_type): New function, split out from ...
(grokdeclarator): ... here.
* pt.c (tsubst_decl): Use check_var_type.

PR c++/17685
* decl.c (grokdeclarator): Disallow declarations of operators as

PR c++/17524
* g++.dg/template/static9.C: New test.

PR c++/17685
* g++.dg/parse/operator5.C: New test.

From-SVN: r88820

19 years agomodule.c (mio_interface_rest): Set where member of interface while loading.
Tobias Schlüter [Sat, 9 Oct 2004 16:17:45 +0000 (18:17 +0200)]
module.c (mio_interface_rest): Set where member of interface while loading.

* module.c (mio_interface_rest): Set where member of interface
while loading.

From-SVN: r88819

19 years agore PR middle-end/17894 (div/compare folding incorrect)
Roger Sayle [Sat, 9 Oct 2004 15:48:24 +0000 (15:48 +0000)]
re PR middle-end/17894 (div/compare folding incorrect)

PR middle-end/17894
* fold-const.c (fold_div_compare): When optimizing X/C1 op C2, the
relational comparison operator op needs to be swapped/reversed when
C1 is negative.  i.e. X/-10 < 1 becomes X >= -9, not X < -9.

* gcc.c-torture/execute/divcmp-4.c: New test case.

From-SVN: r88818

19 years ago2004-10-09 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 9 Oct 2004 10:22:25 +0000 (10:22 +0000)]
2004-10-09  Michael Koch  <konqueror@gmx.de>

* java/io/CharArrayWriter.java
(resize): Removed redundant 'final' modifier.
* java/io/DataInputStream.java
(readFully): Throw IndexOutOfBoundsException of len < 0.
* java/io/FileDescriptor.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/ObjectOutputStream.java,
java/io/ObjectStreamClass.java,
java/io/PipedInputStream.java,
java/io/RandomAccessFile.java:
Reorganized import statements.

From-SVN: r88817

19 years agoRMIC.java, [...]: Reworked import statements and fixed file headers.
Michael Koch [Sat, 9 Oct 2004 09:57:02 +0000 (09:57 +0000)]
RMIC.java, [...]: Reworked import statements and fixed file headers.

2004-10-09  Michael Koch  <konqueror@gmx.de>

* gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServerRef.java:
Reworked import statements and fixed file headers.

From-SVN: r88816

19 years agostd_memory.h (__get_temporary_buffer): Don't use INT_MAX...
Paolo Carlini [Sat, 9 Oct 2004 08:23:02 +0000 (08:23 +0000)]
std_memory.h (__get_temporary_buffer): Don't use INT_MAX...

2004-10-09  Paolo Carlini  <pcarlini@suse.de>

* include/std/std_memory.h (__get_temporary_buffer): Don't use
INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
platforms too.
* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
line numbers.

From-SVN: r88814

19 years agoacconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
Benjamin Kosnik [Sat, 9 Oct 2004 02:30:10 +0000 (02:30 +0000)]
acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.

2004-10-08  Benjamin Kosnik  <bkoz@redhat.com>

* acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
* acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
* configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
* configure: Regenerate.
* src/mt_allocator.cc (__pool::~__pool): Make conditional on
_GLIBCXX_USE___CXA_ATEXIT macro.
* docs/html/ext/mt_allocator.html: Add note about deallocation.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
with _GLIBCXX_USE___CXA_ATEXIT.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.

From-SVN: r88809

19 years agoDaily bump.
GCC Administrator [Sat, 9 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r88805.2

19 years agoDaily bump.
GCC Administrator [Sat, 9 Oct 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r88804.2

19 years agore PR tree-optimization/17902 (ICE from tree_verify_flow_info)
Andrew Pinski [Fri, 8 Oct 2004 23:29:35 +0000 (23:29 +0000)]
re PR tree-optimization/17902 (ICE from tree_verify_flow_info)

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/17902
        * g++.dg/opt/pr17902.C: New test.

From-SVN: r88802

19 years agore PR tree-optimization/17902 (ICE from tree_verify_flow_info)
Andrew Pinski [Fri, 8 Oct 2004 23:25:49 +0000 (23:25 +0000)]
re PR tree-optimization/17902 (ICE from tree_verify_flow_info)

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/17902
        * tree-ssa-phiopt.c (conditional_replacement): Use bsi_after_labels
        instead of bsi_start.
        (value_replacement): Likewise.
        (abs_replacement): Likewise

From-SVN: r88801

19 years agocfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function.
Steven Bosscher [Fri, 8 Oct 2004 22:56:55 +0000 (22:56 +0000)]
cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function.

* cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function.
(expand_gimple_cond_expr, expand_gimple_tailcall,
expand_gimple_basic_block): Use it to dump RTL for each stmt.
(tree_expand_cfg): Announce full RTL function dump.
* tree-optimize.c (execute_one_pass): Use normal RTL printing,
not the graph version.
* tree-pretty-print.c (dump_generic_node): Allow empty statements
in the arms of a COND_EXPR for lowered nodes.

From-SVN: r88800

19 years ago* gcc.dg/cpp/ident-1.c: Add dg-options "".
Jakub Jelinek [Fri, 8 Oct 2004 22:49:39 +0000 (00:49 +0200)]
* gcc.dg/cpp/ident-1.c: Add dg-options "".

From-SVN: r88799

19 years agospe.h (atosfix16, [...]): Declare.
Joseph Myers [Fri, 8 Oct 2004 22:45:48 +0000 (23:45 +0100)]
spe.h (atosfix16, [...]): Declare.

* config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16,
atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64,
strtoufix16, strtoufix32, strtoufix64): Declare.

From-SVN: r88798

19 years agore PR fortran/17901 (max-identifier-length problem with -J option)
Andrew Pinski [Fri, 8 Oct 2004 22:03:36 +0000 (22:03 +0000)]
re PR fortran/17901 (max-identifier-length problem with -J option)

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/17901
        * options.c (gfc_handle_option): Add break after handing the
        J/M option.

From-SVN: r88797

19 years agoc-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range...
Joseph Myers [Fri, 8 Oct 2004 20:25:42 +0000 (21:25 +0100)]
c-lex.c (interpret_float): Give a pedwarn rather than a warning for an out-of-range floating point constant.

* c-lex.c (interpret_float): Give a pedwarn rather than a warning
for an out-of-range floating point constant.
* builtins.c (fold_builtin_inf): Give a pedwarn rather than a
warning if the target format does not support infinities.

testsuite:
* gcc.dg/float-range-1.c, gcc.dg/float-range-2.c: New tests.

From-SVN: r88793

19 years ago- Fix reference to PR (17285 -> 17835)
Matthias Klose [Fri, 8 Oct 2004 20:01:14 +0000 (20:01 +0000)]
- Fix reference to PR (17285 -> 17835)

From-SVN: r88790

19 years agoemit-rtl.c (last_label_num, [...]): Remove.
Kazu Hirata [Fri, 8 Oct 2004 19:59:26 +0000 (19:59 +0000)]
emit-rtl.c (last_label_num, [...]): Remove.

* emit-rtl.c (last_label_num, base_label_num): Remove.
(max_label_num): Always return label_num.
(set_new_last_label_num, restore_emit_status): Remove.
(init_emit): Don't initialize last_label_num.
* function.c (pop_function_context_from): Don't call
restore_emit_status.
* function.h: Remove the prototype for restore_emit_status.
* rtl.h: Remove the prototype for set_new_last_label_num.

From-SVN: r88789

19 years agostmt.c (expand_decl_init): Remove.
Kazu Hirata [Fri, 8 Oct 2004 19:57:18 +0000 (19:57 +0000)]
stmt.c (expand_decl_init): Remove.

* stmt.c (expand_decl_init): Remove.
* tree.h: Remove the corresponding prototype.

From-SVN: r88788

19 years agointegrate.c (try_constants, [...]): Remove.
Kazu Hirata [Fri, 8 Oct 2004 19:55:31 +0000 (19:55 +0000)]
integrate.c (try_constants, [...]): Remove.

* integrate.c (try_constants, subst_constants, mark_stores):
Remove.
* integrate.h: Remove the prototype for try_constants.

From-SVN: r88787

19 years agoc-typeck.c (enum impl_conv): Add ic_argpass_nonproto.
Joseph Myers [Fri, 8 Oct 2004 19:52:04 +0000 (20:52 +0100)]
c-typeck.c (enum impl_conv): Add ic_argpass_nonproto.

* c-typeck.c (enum impl_conv): Add ic_argpass_nonproto.
(convert_for_assignment): Handle ic_argpass_nonproto.  Add
comments about its relevance to errors.
(c_convert_parm_for_inlining): Use ic_argpass_nonproto.

testsuite:
* gcc.dg/assign-warn-3.c: New test.

From-SVN: r88784

19 years agore PR c++/17868 (RDIV_EXPR not supported by dump_expr)
Volker Reichelt [Fri, 8 Oct 2004 19:40:57 +0000 (19:40 +0000)]
re PR c++/17868 (RDIV_EXPR not supported by dump_expr)

PR c++/17868
* error.c (dump_expr): Add missing case for RDIV_EXPR.

From-SVN: r88781

19 years ago* arith.c: Fix formatting issues.
Tobias Schlüter [Fri, 8 Oct 2004 18:53:13 +0000 (20:53 +0200)]
* arith.c: Fix formatting issues.

From-SVN: r88779

19 years agore PR c/16999 (#ident stopped working)
Andrew Pinski [Fri, 8 Oct 2004 18:37:07 +0000 (18:37 +0000)]
re PR c/16999 (#ident stopped working)

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/16999
        * c-ppoutput.c (cb_ident): Don't quote string as it is already
        quoted.

* gcc.dg/cpp/ident-1.c: New test.

From-SVN: r88773

19 years agotree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate reference_node_pool.
Diego Novillo [Fri, 8 Oct 2004 18:02:26 +0000 (18:02 +0000)]
tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate reference_node_pool.

* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate
reference_node_pool.

From-SVN: r88769

19 years ago* tree-cfg.c: Fix a comment typo.
Kazu Hirata [Fri, 8 Oct 2004 17:11:16 +0000 (17:11 +0000)]
* tree-cfg.c: Fix a comment typo.

From-SVN: r88767

19 years agos390.c (s390_register_info): Don't save fprs for -msoft-float.
Andreas Krebbel [Fri, 8 Oct 2004 16:36:09 +0000 (16:36 +0000)]
s390.c (s390_register_info): Don't save fprs for -msoft-float.

2004-10-08  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (s390_register_info): Don't save fprs for
-msoft-float.
(s390_conditional_register_usage): Make fprs 'fixed' for -msoft-float.

From-SVN: r88764

19 years agos390.h (TARGET_DEFAULT_BACKCHAIN): New define.
Ulrich Weigand [Fri, 8 Oct 2004 16:28:49 +0000 (16:28 +0000)]
s390.h (TARGET_DEFAULT_BACKCHAIN): New define.

* config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define.
(TARGET_DEFAULT): Use symbolic values.
* config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine.
(TARGET_DEFAULT): Use symbolic values.
* config/s390/s390.c (s390_backchain_string): Initialize to
TARGET_DEFAULT_BACKCHAIN.

From-SVN: r88763

19 years agobuiltins.c (expand_builtin_mempcpy): Move tree handling code to fold_builtin_mempcpy.
Kaveh R. Ghazi [Fri, 8 Oct 2004 16:07:56 +0000 (16:07 +0000)]
builtins.c (expand_builtin_mempcpy): Move tree handling code to fold_builtin_mempcpy.

* builtins.c (expand_builtin_mempcpy): Move tree handling code to
fold_builtin_mempcpy.  Accept a type parameter.  Delete duplicate
code.
(expand_builtin_strcat): Accept a type parameter.
(fold_builtin_mempcpy): Accept a type and endp parameter.

From-SVN: r88762

19 years agobuiltins.c (expand_builtin_strncpy): Delete duplicate code.
Kaveh R. Ghazi [Fri, 8 Oct 2004 16:06:02 +0000 (16:06 +0000)]
builtins.c (expand_builtin_strncpy): Delete duplicate code.

* builtins.c (expand_builtin_strncpy): Delete duplicate code.
Accept an `exp' instead of an `arglist'.

From-SVN: r88761

19 years agotree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert, reverting my 2004...
Nathan Sidwell [Fri, 8 Oct 2004 15:09:16 +0000 (15:09 +0000)]
tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert, reverting my 2004-09-07 patch to use build_int_cst.

.: * tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert,
reverting my 2004-09-07 patch to use build_int_cst.
testsuite:
* gcc.c-torture/compile/acc1.c: New.

From-SVN: r88759

19 years agoarchive.c: Fix all the warnings about passing unsigned char* to char* and the other...
Andrew Pinski [Fri, 8 Oct 2004 14:40:38 +0000 (14:40 +0000)]
archive.c: Fix all the warnings about passing unsigned char* to char* and the other way too.

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * archive.c: Fix all the warnings about passing unsigned char*
        to char* and the other way too.

From-SVN: r88758

19 years agodarwin-longdouble.c: Include stdlib.h and string.h.
Andrew Pinski [Fri, 8 Oct 2004 14:37:40 +0000 (14:37 +0000)]
darwin-longdouble.c: Include stdlib.h and string.h.

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h.
        * gcc.dg/darwin-abi-2.c: Include stdlib.h.

From-SVN: r88757

19 years agore PR target/17245 (ICE compiling gsl-1.5 statistics/lag1.c)
Eric Botcazou [Fri, 8 Oct 2004 13:34:56 +0000 (13:34 +0000)]
re PR target/17245 (ICE compiling gsl-1.5 statistics/lag1.c)

PR target/17245
* config/sparc/sparc.c (input_operand): Remove redundant code
for handling LO_SUM.
(legitimate_address_p) <REG+REG>: Do not recheck TARGET_V9.
<LO_SUM>: If LO_SUM is offsettable, accept it for TFmode on V9.
Otherwise only accept it for TFmode if quad move insns are available.

From-SVN: r88753

19 years agotree-cfg.c (tree_forwarder_block_p): Reorder checks so that common cases will be...
Kazu Hirata [Fri, 8 Oct 2004 13:20:39 +0000 (13:20 +0000)]
tree-cfg.c (tree_forwarder_block_p): Reorder checks so that common cases will be caught earlier than others.

* tree-cfg.c (tree_forwarder_block_p): Reorder checks so that
common cases will be caught earlier than others.

From-SVN: r88752

19 years ago* gcc.dg/doloop-2.c: New test.
Michael Matz [Fri, 8 Oct 2004 13:11:31 +0000 (13:11 +0000)]
* gcc.dg/doloop-2.c: New test.

From-SVN: r88751

19 years ago* loop-doloop.c (doloop_optimize): Extend count.
Michael Matz [Fri, 8 Oct 2004 13:10:00 +0000 (13:10 +0000)]
* loop-doloop.c (doloop_optimize): Extend count.

From-SVN: r88750

19 years ago* pt.c, search.c: Fix comment typos.
Kazu Hirata [Fri, 8 Oct 2004 13:04:09 +0000 (13:04 +0000)]
* pt.c, search.c: Fix comment typos.

From-SVN: r88749

19 years agopch.c (cpp_write_pch_state): Remove variable z as it is not used.
Andrew Pinski [Fri, 8 Oct 2004 12:50:12 +0000 (12:50 +0000)]
pch.c (cpp_write_pch_state): Remove variable z as it is not used.

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * pch.c (cpp_write_pch_state): Remove variable z as it is not
        used.
        (cpp_read_state): Remove unused variables, m, d and mac_count.

From-SVN: r88748

19 years agosh.md (tls_global_dynamic): Use MEM pattern for the first argument of CALL.
Kaz Kojima [Fri, 8 Oct 2004 11:44:20 +0000 (11:44 +0000)]
sh.md (tls_global_dynamic): Use MEM pattern for the first argument of CALL.

* config/sh/sh.md (tls_global_dynamic): Use MEM pattern for the
first argument of CALL.
(tls_local_dynamic): Likewise.

* config/sh/sh.md (prefetch_media, prefetch_i4): New insns.
(prefetch): Convert to expander.

From-SVN: r88747

19 years ago* gcc.pot: Regenerate.
Joseph Myers [Fri, 8 Oct 2004 10:34:22 +0000 (11:34 +0100)]
* gcc.pot: Regenerate.

From-SVN: r88743

19 years agoc-typeck.c (enum impl_conv): New.
Joseph Myers [Fri, 8 Oct 2004 10:21:42 +0000 (11:21 +0100)]
c-typeck.c (enum impl_conv): New.

* 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.

From-SVN: r88741

19 years agoRemove the entry corresponding to a not yet committed patch:
Sebastian Pop [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>

From-SVN: r88740

19 years ago(symbian_possibly_export_base_class): Replace use of deleted...
Nick Clifton [Fri, 8 Oct 2004 09:46:23 +0000 (09:46 +0000)]
(symbian_possibly_export_base_class): Replace use of deleted...

(symbian_possibly_export_base_class): Replace use of deleted
TYPE_USES_VIRTUAL_BASECLASSES macro with TYPE_CONTAINS_VPTR_P.

From-SVN: r88739

19 years agocp-tree.h (dfs_walk, [...]): Remove.
Nathan Sidwell [Fri, 8 Oct 2004 09:33:55 +0000 (09:33 +0000)]
cp-tree.h (dfs_walk, [...]): Remove.

* 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.

From-SVN: r88738

19 years agom32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form all_used_regs.
Kazuhiro Inaoka [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.

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.

From-SVN: r88737

19 years agosysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg.
Alan Modra [Fri, 8 Oct 2004 07:04:27 +0000 (07:04 +0000)]
sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg.

* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o
for -profile as well as -p and -pg.

From-SVN: r88736

19 years agolibgcc2.c (__moddi3): Cast &w to UDWtype*.
Andrew Pinski [Fri, 8 Oct 2004 03:07:38 +0000 (20:07 -0700)]
libgcc2.c (__moddi3): Cast &w to UDWtype*.

2004-10-07  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r88735

19 years agolibgcc2.c (__moddi3): Cast &w to UDWtype*.
Andrew Pinski [Fri, 8 Oct 2004 02:55:15 +0000 (19:55 -0700)]
libgcc2.c (__moddi3): Cast &w to UDWtype*.

2004-10-07  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r88734

19 years agopt.c (tsubst_expr): Look passed the CLEANUP_POINT_EXPR to get the asm expression.
Andrew Pinski [Fri, 8 Oct 2004 02:46:00 +0000 (02:46 +0000)]
pt.c (tsubst_expr): Look passed the CLEANUP_POINT_EXPR to get the asm expression.

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.

From-SVN: r88733

19 years agoxtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New.
Bob Wilson [Fri, 8 Oct 2004 00:28:50 +0000 (00:28 +0000)]
xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New.

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.

From-SVN: r88727

19 years agore PR fortran/17676 (Problem with user operator)
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

19 years agoDaily bump.
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

19 years agoDaily bump.
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

19 years agoMAINTAINERS: Update my email address.
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

19 years agotree-cfg.c (tree_block_forwards_to): Remove.
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

19 years agolibstdc++.exp: Update list of undefined functions.
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

19 years agolist.tcc (operator=): Avoid iterator postincrement.
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