OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * loop.c (scan_loop): Use CONST_CALL_P instead of
wehle [Sat, 19 Aug 2000 16:34:44 +0000 (16:34 +0000)]
* loop.c (scan_loop): Use CONST_CALL_P instead of
checking for REG_LIBCALL / REG_RETVAL.

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

23 years ago * reload1.c (reload_as_needed): Accept dumpfile argument,
law [Sat, 19 Aug 2000 15:49:01 +0000 (15:49 +0000)]
    * reload1.c (reload_as_needed): Accept dumpfile argument,
        pass it to emit_reload_insns.
        (emit_reload_insns): Add new dumpfile argument.  If non-null
        then dump the reloads for each insn into the dumpfile.
        (reload): Pass dumpfile to reload_as_needed.

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

23 years ago * invoke.texi: Clean up linux-gnu vs linux comments.
law [Sat, 19 Aug 2000 15:20:01 +0000 (15:20 +0000)]
    * invoke.texi: Clean up linux-gnu vs linux comments.

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

23 years ago2000-08-19 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 19 Aug 2000 13:20:07 +0000 (13:20 +0000)]
2000-08-19  Toon Moene  <toon@moene.indiv.nluug.nl>

* top.c (ffe_decode_option): Disable -fdebug-kludge
and warn about it.
* lang-options.h: Document the fact.
* g77.texi: Ditto.

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

23 years ago * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
gdr [Sat, 19 Aug 2000 11:28:22 +0000 (11:28 +0000)]
* bits/valarray_array.h (__valarray_min, __valarray_max): Fix
thinko. Diagnostic messages really need to be improved for
template argument deduction.

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

23 years agoDaily bump.
law [Sat, 19 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * config/ia64/ia64.c (reg_or_5bit_operand): New.
rth [Sat, 19 Aug 2000 07:15:08 +0000 (07:15 +0000)]
    * config/ia64/ia64.c (reg_or_5bit_operand): New.
        (ia64_depz_field_mask): New.
        * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
        (PREDICATE_CODES): Update.
        * config/ia64/ia64.md: Update commentary.
        (depz_internal): New.
        (ashlsi3): Implement directly.
        (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
        (ashldi3): Use shladd.
        * config/ia64/ia64-protos.h: Update.

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

23 years ago * gcc.dg/cpp/lexstrng.c: Don't include string.h.
zack [Sat, 19 Aug 2000 05:25:00 +0000 (05:25 +0000)]
* gcc.dg/cpp/lexstrng.c: Don't include string.h.
* gcc.dg/cpp/paste2.c: Don't include string.h.  Prototype strcmp.

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

23 years ago * toplev.c (independent_decode_option): Always process -g.
zack [Sat, 19 Aug 2000 01:31:47 +0000 (01:31 +0000)]
    * toplev.c (independent_decode_option): Always process -g.
        Remove third argument, now unused.  Adjust caller to match.

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

23 years ago * combine.c (make_compound_operation): Break after creating
rth [Sat, 19 Aug 2000 00:45:47 +0000 (00:45 +0000)]
    * combine.c (make_compound_operation): Break after creating
        the extraction.

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

23 years ago * cpplib.c (cpp_register_pragma_space): Just return if the
zack [Fri, 18 Aug 2000 22:42:14 +0000 (22:42 +0000)]
* cpplib.c (cpp_register_pragma_space): Just return if the
namespace is already registered.

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

23 years agoOnly allow allow rotations by a constant amount.
nickc [Fri, 18 Aug 2000 21:11:23 +0000 (21:11 +0000)]
Only allow allow rotations by a constant amount.
Do not generate ROTL instruction.

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

23 years ago * stor-layout.c (compute_record_type): Don't use mode of single
kenner [Fri, 18 Aug 2000 20:52:28 +0000 (20:52 +0000)]
* stor-layout.c (compute_record_type): Don't use mode of single
field as mode of record if not integer mode of same type.

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

23 years ago * gcc.c-torture/compile/20000818-1.c: New test.
kenner [Fri, 18 Aug 2000 20:45:02 +0000 (20:45 +0000)]
* gcc.c-torture/compile/20000818-1.c: New test.

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

23 years agoNew test
kenner [Fri, 18 Aug 2000 20:43:34 +0000 (20:43 +0000)]
New test

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

23 years ago* config/sh/elf.h: Do not include sh/sh.h.
aoliva [Fri, 18 Aug 2000 19:39:52 +0000 (19:39 +0000)]
* config/sh/elf.h: Do not include sh/sh.h.
* config/sh/rtems.h: Likewise.
* config/sh/rtemself.h: Do not include sh/elf.h.
* configure.in: Get them included with `tm_file's.
* configure: Rebuilt.

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

23 years ago* config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
aoliva [Fri, 18 Aug 2000 19:10:43 +0000 (19:10 +0000)]
* config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
* config/sh/sh.c (fpscr_set_from_mem): Use them.

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

23 years ago * regmove.c (perhaps_ends_bb_p): New function.
kenner [Fri, 18 Aug 2000 18:21:33 +0000 (18:21 +0000)]
* regmove.c (perhaps_ends_bb_p): New function.
(optimize_reg_copy_1, optimize_reg_copy_2): Call it.
(optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
(fixup_match_1): Likewise.
(fixup_match_1, combine_stack_adjustments_for_block): Add casts to
avoid signed/unsigned warnings.

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

23 years ago * function.c (fixup_var_refs_1, case MEM): Update CODE after
kenner [Fri, 18 Aug 2000 18:11:02 +0000 (18:11 +0000)]
* function.c (fixup_var_refs_1, case MEM): Update CODE after
updating X.

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

23 years ago * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
neil [Fri, 18 Aug 2000 17:35:58 +0000 (17:35 +0000)]
* cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
(_cpp_trigraph_map): Declaration moved from cpplex.c

* cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
instead of 256.  Use consistent test for designated initializers.
(cpp_init): Initialize trigraph_map.
(initialize_standard_includes, parse_option):  Use memcmp
instead of strncmp.

* cpplex.c (init_trigraph_map): Remove.
(trigraph_ok, trigraph_replace, lex_line): Refer to
_cpp_trigraph_map.

* cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
(do_unassert): Remove unused "next" local.

* system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.

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

23 years ago2000-08-18 Manfred Hollstein <manfredh@redhat.com>
manfred [Fri, 18 Aug 2000 16:54:39 +0000 (16:54 +0000)]
2000-08-18  Manfred Hollstein  <manfredh@redhat.com>

* gcc.c-torture/execute/20000818-1.c: New test.

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

23 years ago2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Fri, 18 Aug 2000 16:29:18 +0000 (16:29 +0000)]
2000-08-18  Benjamin Kosnik  <bkoz@gnu.org>

* bits/valarray_meta.h: Fix typos...

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

23 years ago * gcc.dg/format-va-1.c: New test.
jsm28 [Fri, 18 Aug 2000 16:14:32 +0000 (16:14 +0000)]
* gcc.dg/format-va-1.c: New test.

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

23 years ago * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
gdr [Fri, 18 Aug 2000 11:01:22 +0000 (11:01 +0000)]
* bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
_Expr<>::apply): Implement.

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

23 years ago * decl.c (member_function_or_else): Use cp_error ... %T.
nathan [Fri, 18 Aug 2000 10:49:17 +0000 (10:49 +0000)]
* decl.c (member_function_or_else): Use cp_error ... %T.
(grokdeclarator): Likewise.
(start_method): Likewise.
* friend.c (make_friend_class): Use cp_pedwarn ... %T.

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

23 years ago * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
gdr [Fri, 18 Aug 2000 10:40:23 +0000 (10:40 +0000)]
* bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.

* bits/valarray_array.h (__valarray_min, __valarray_max): New
function.

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

23 years ago * editbuf.h (edit_streambuf): Fix syntax error in
gdr [Fri, 18 Aug 2000 10:20:52 +0000 (10:20 +0000)]
* editbuf.h (edit_streambuf): Fix syntax error in
friend-declaration.

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

23 years agoFrom Emmanuel Marty <emarty@suntech.fr>
rearnsha [Fri, 18 Aug 2000 10:18:14 +0000 (10:18 +0000)]
From Emmanuel Marty  <emarty@suntech.fr>
* arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
insn.

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

23 years ago * g++.old-deja/g++.other/typedef8.C: New test.
nathan [Fri, 18 Aug 2000 09:49:40 +0000 (09:49 +0000)]
* g++.old-deja/g++.other/typedef8.C: New test.

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

23 years ago * decl2.c (grokfield): Set CLASSTYPE_GOT_SEMICOLON on class
nathan [Fri, 18 Aug 2000 09:49:06 +0000 (09:49 +0000)]
* decl2.c (grokfield): Set CLASSTYPE_GOT_SEMICOLON on class
TYPE_DECLs.

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

23 years ago * g++.old-deja/g++.benjamin/13478.C: Mark candidate.
nathan [Fri, 18 Aug 2000 09:31:48 +0000 (09:31 +0000)]
* g++.old-deja/g++.benjamin/13478.C: Mark candidate.
* g++.old-deja/g++.mike/net36.C: Mark candidate.
* g++.old-deja/g++.robertl/eb131.C: Mark candidate.
* g++.old-deja/g++.oliva/overload1.C: Remove XFAIL.
* g++.old-deja/g++.other/ptrmem7.C: New test.
* g++.old-deja/g++.pt/ptrmem10.C: New test.

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

23 years ago * cp-tree.h (PTRMEM_OK_P): New macro.
nathan [Fri, 18 Aug 2000 09:31:11 +0000 (09:31 +0000)]
* cp-tree.h (PTRMEM_OK_P): New macro.
(itf_ptrmem_ok): New enumeration value.
* class.c (resolve_address_of_overloaded_function): Add PTRMEM
argument. Diagnose implicit pointer to member.
(instantiate_type): Don't diagnose implicit pointer to member
here. Pass itf_ptrmem_ok if ok. Adjust calls to
resolve_address_of_overloaded_function.
* init.c (build_offset_ref): Set PTRMEM_OK_P.
(resolve_offset_ref): Don't diagnose implicit pointer to member here.
* semantics.c (finish_parenthesized_expr): Clear OFFSET_REFs here.
* typeck.c (build_x_unary_op): Calculate PTRMEM_OK_P.
(build_unary_op): Deal with single non-static member in
microsoft-land.

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

23 years ago * g++.old-deja/g++.pt/typename27.C: New test.
nathan [Fri, 18 Aug 2000 09:21:31 +0000 (09:21 +0000)]
* g++.old-deja/g++.pt/typename27.C: New test.

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

23 years ago * decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE.
nathan [Fri, 18 Aug 2000 09:21:04 +0000 (09:21 +0000)]
* decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE.

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

23 years ago * cp-tree.h (enum_name_string): Remove prototype.
nathan [Fri, 18 Aug 2000 09:15:51 +0000 (09:15 +0000)]
* cp-tree.h (enum_name_string): Remove prototype.
(report_case_error): Remove prototype.
* cp/typeck2.c (enum_name_string): Remove.
(report_case_error): Remove.
* error.c (dump_expr): Deal with enum values directly.
Correctly negate integer constant.

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

23 years agoDaily bump.
law [Fri, 18 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * config/ia64/ia64.c (spill_restore_mem): Handle emitting
rth [Fri, 18 Aug 2000 03:03:50 +0000 (03:03 +0000)]
    * config/ia64/ia64.c (spill_restore_mem): Handle emitting
        the first insn in a sequence.

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

23 years ago * alias.c (true_dependence, write_dependence_p): A read
wehle [Fri, 18 Aug 2000 02:41:58 +0000 (02:41 +0000)]
* alias.c (true_dependence, write_dependence_p): A read
involving a label_ref or the constant pool doesn't create
a dependency.

* rtl.h (unchanging): Improve documentation.

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

23 years ago * cse.c (insert_regs): Remove unused `regno'.
law [Thu, 17 Aug 2000 23:03:43 +0000 (23:03 +0000)]
    * cse.c (insert_regs): Remove unused `regno'.

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

23 years ago2000-08-15 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 17 Aug 2000 21:56:29 +0000 (21:56 +0000)]
2000-08-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * java/lang/natClass.cc (finit_name): Initialized with `finit$'.
        (finit_leg_name): New global.
        (java::lang::Class::getDeclaredMethods): Test for `finit$' or
        `$finit$'. This is a backward compatibility hack.
        (java::lang::Class::_getMethods): Likewise.

(http://sources.redhat.com/ml/java-discuss/2000-08/msg00031.html
 See also the matching compiler patch:
 http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00664.html)

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

23 years ago2000-08-15 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 17 Aug 2000 21:50:48 +0000 (21:50 +0000)]
2000-08-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (finit_leg_identifier_node): New global.
        (init_decl_processing): Use `finit$' to initialize
        finit_identifier_node. Use `$finit$' to initialize
        finit_leg_identifier_node.
        * expr.c (expand_java_field_op): Use ID_FINIT_P.
        * java-tree.h (finit_identifier_node): Changed attached comment.
        (finit_leg_identifier_node): New declaration.
        (ID_FINIT_P): Take finit_identifier_node and
        finit_leg_identifier_node into account. This is a backward
        compatibility hack.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00664.html
 See also the matching Java run-time patch:
 http://sources.redhat.com/ml/java-discuss/2000-08/msg00031.html)

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

23 years ago * bits/localefwd.h (std::locale): Use explicit `class' specified
mmitchel [Thu, 17 Aug 2000 20:13:47 +0000 (20:13 +0000)]
* bits/localefwd.h (std::locale): Use explicit `class' specified
when declaring friends.
* bits/std_fstream.h (std::basic_filebuf): Likewise.

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

23 years ago * (cppinit.c) merge_include_chains: Use remove_dup_dir,
neil [Thu, 17 Aug 2000 18:03:59 +0000 (18:03 +0000)]
* (cppinit.c) merge_include_chains: Use remove_dup_dir,
remove_dup_dirs.  If qtail == brack, remove brack not
qtail.
(remove_dup_dir, remove_dup_dirs): New functions.

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

23 years ago * cppinit.c (cpp_cleanup): Free include dir chains.
neil [Thu, 17 Aug 2000 18:01:43 +0000 (18:01 +0000)]
* cppinit.c (cpp_cleanup): Free include dir chains.
* cpplib.c (do_undef): Let _cpp_free_definition make the node void.
(do_unassert): Free the assert with _cpp_free_definition.
* cppmacro.c (_cpp_free_definition): Free memory allocated for
assertions.  Make the node a T_VOID node.

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

23 years ago * cppinit.c (path_include, append_include_chain):
neil [Thu, 17 Aug 2000 17:58:24 +0000 (17:58 +0000)]
* cppinit.c (path_include, append_include_chain):
Remove 2nd parameter (struct cpp_pending *).
(path_include, initialize_standard_includes, cpp_handle_option):
Update callers appropriately.
(cpp_handle_option): Use pend.

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

23 years ago * cppinit.c (sort_options): Remove, put functionality in
neil [Thu, 17 Aug 2000 17:52:48 +0000 (17:52 +0000)]
* cppinit.c (sort_options): Remove, put functionality in
cpp_init.
(cpp_init): New.
(initialize_builtins): Free memory.
(cpp_start_read): Move init_IStable to cpp_init.

* cpplib.h (cpp_init): New prototype.
* cppmain.c (main): Call cpp_init.

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

23 years ago * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
wehle [Thu, 17 Aug 2000 17:20:10 +0000 (17:20 +0000)]
* rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
(rtx_unstable_p, rtx_varies_p): Process vectors.

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

23 years ago * inc/cxxabi.h (__cxa_vec_new2, __cxa_vec_new3): Declare.
nathan [Thu, 17 Aug 2000 15:05:43 +0000 (15:05 +0000)]
* inc/cxxabi.h (__cxa_vec_new2, __cxa_vec_new3): Declare.
(__cxa_vec_delete2, __cxa_vec_delete3): Declare.
* vec.cc (__cxa_vec_new2, __cxa_vec_new3): Implement.
(__cxa_vec_delete2, __cxa_vec_delete3): Implement.
(__cxa_vec_new): Use __cxa_vec_new2.
(__cxa_vec_delete): Use __cxa_vec_delete2.

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

23 years ago * vec.cc (__cxa_vec_new): Set "C" linkage.
nathan [Thu, 17 Aug 2000 14:40:31 +0000 (14:40 +0000)]
* vec.cc (__cxa_vec_new): Set "C" linkage.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete): Likewise.
* inc/cxxabi.h (__cxa_vec_new): Set "C" linkage.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete): Likewise.

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

23 years ago * cvt.c (cp_convert_to_pointer): Pass itf_complain, not
nathan [Thu, 17 Aug 2000 14:09:21 +0000 (14:09 +0000)]
* cvt.c (cp_convert_to_pointer): Pass itf_complain, not
itf_no_attributes.

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

23 years ago * class.c (instantiate_type): Reinstate local variable
nathan [Thu, 17 Aug 2000 13:26:14 +0000 (13:26 +0000)]
* class.c (instantiate_type): Reinstate local variable
deleted in previous change.

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

23 years ago * cp-tree.h (instantiate_type_flags): New enumeration.
nathan [Thu, 17 Aug 2000 13:10:50 +0000 (13:10 +0000)]
* cp-tree.h (instantiate_type_flags): New enumeration.
(instantiate_type): Change parameter.
* class.c (instantiate_type): Adjust prototype. Adjust.
* call.c (standard_conversion): Adjust instantiate_type call.
(reference_binding): Likewise.
(build_op_delete_call): Likewise.
(convert_like_real): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_reference): Likewise.
* pt.c (convert_nontype_argument): Likewise.
* typeck.c (build_binary_op): Likewise.
(build_ptrmemfunc): Likewise.
(convert_for_assignment): Likewise.

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

23 years agofix the fibs in previous entry
nathan [Thu, 17 Aug 2000 12:34:36 +0000 (12:34 +0000)]
fix the fibs in previous entry

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

23 years ago * cp-tree.h (CPTR_AGGR_TAG): New global tree node.
nathan [Thu, 17 Aug 2000 12:26:39 +0000 (12:26 +0000)]
* cp-tree.h (CPTR_AGGR_TAG): New global tree node.
(current_aggr): Define.
* decl.c (grokdeclarator): Make sure a friend class is an
elaborated type specifier.
* parse.y (current_aggr): Remove static definition.
(cp_parse_init): Adjust.
(structsp): Clear and restore current_aggr.
(component_decl_list): Clear current_aggr.

* error.c (dump_type, case TYPENAME_TYPE): Don't emit the
aggregate tag on the typename's context.

* pt.c (tsubst_friend_class): Return NULL, if parms becomes NULL.
(instantiate_class_template): Ignore NULL friend types.

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

23 years ago * g++.old-deja/g++.pt/crash44.C: Remove XFAIL. Add ERROR.
nathan [Thu, 17 Aug 2000 12:24:24 +0000 (12:24 +0000)]
* g++.old-deja/g++.pt/crash44.C: Remove XFAIL. Add ERROR.
* g++.old-deja/g++.pt/friend38.C: Remove XFAIL. Add extra test.
* g++.old-deja/g++.pt/friend45.C: New test.
* g++.old-deja/g++.other/friend8.C: New test.

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

23 years agoDaily bump.
law [Thu, 17 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago* config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
aoliva [Wed, 16 Aug 2000 21:17:40 +0000 (21:17 +0000)]
* config/sh/lib1funcs.asm (GLOBAL): Define.  Use for all
references to GLOBAL symbols.  Use LOCAL where appropriate.

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

23 years ago* src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
aoliva [Wed, 16 Aug 2000 18:36:57 +0000 (18:36 +0000)]
* src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
* src/Makefile.in: Regenerate.

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

23 years ago* configure.in (libstdcxx_flags): Use
aoliva [Wed, 16 Aug 2000 18:34:04 +0000 (18:34 +0000)]
* configure.in (libstdcxx_flags): Use
libstdc++-v3/src/libstdc++.INC.

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

23 years ago* gcconfig.h [OSF1] (_end): Declare as `int'.
aoliva [Wed, 16 Aug 2000 18:17:59 +0000 (18:17 +0000)]
* gcconfig.h [OSF1] (_end): Declare as `int'.

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

23 years ago * gnu/gcj/awt/ComponentDataBlitOp.java: New file.
rolfwr [Wed, 16 Aug 2000 18:03:48 +0000 (18:03 +0000)]
* gnu/gcj/awt/ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/GLightweightPeer.java: New file.
* java/awt/BorderLayout.java: Implemented all methods.
* java/awt/Button.java (actionListener, actionCommand): Renamed
and modifier change.
(addNotify): Call super.
(dispatchEventImpl): New method.
(getListeners): New method.
(label): Made package-private, not private.
* java/awt/Canvas.java: Implemented class body.
* java/awt/Color.java (brighter): New method.
(darker): New method.
(hashCode): New method.
* java/awt/Component.java (visible, enabled, eventMask): Set defaults.
(getGraphicsConfiguration): Delegate to
getGraphicsConfigurationImpl().
(getGraphicsConfigurationImpl): New method.
(getToolkit): Only return value from peer if not null.
(isDisplayable): Check with parent.
(isShowing): No parent implies not showing.
(getForeground): Check parent property if local is null.
(getBackground): Likewise.
(getFont): Likewise.
(setForeground): Inform peer.
(setBackground): Likewise
(setLocale): Invalidate component.
(getColorModel): Implemented.
(setLocation): Invalidate, or ignore if no change.
(setSize): Invalidate, or ignore if no change.
(setBounds): Invalidate, or ignore if no change.
(isOpaque): By default, heavyweight implies opaque.
(isLightweight): Implemented.
(getMaximumSize): Implemented.
(doLayout): Implemented, NOP.
(validate): Implemented, NOP.
(invalidate): Only propagate to parent if parent was valid.
(getGraphics): Implemented.
(getFontMetrics): Implemented.
(update): Implemented.
(paintAll): Implemented.
(repaint): Implemented all repaint methods.
(print): Implemented.
(printAll): Implemented.
(createImage): Implemented.
(dispatchEvent): Give the peer a chance to handle the event.
(dispatchEventImpl): Dispatch paint events.
(enableEvents): Lightweights enable events on parent component.
(coalesceEvents): Coalesce paint events, and select event type
using a switch.
(coalescePaintEvents): New method.
(processEvent): Fix unfortunate ordering of statements, and call
correct method for MOUSE_CLICKED.
(processPaintEvent): New method.
(addNotify): Allow container to notify children before event
mask is set in peer.
(addNotifyContainerChildren): New method.
(removeNotify): Visibility should not change on removeNotify.
(paramString): Implemented.
(list): Implemented two of the list methods.
* Container (myInsets): Removed, insets are managed by peer.
(getInsets): Query peer.
(addImpl): Fix reparenting, enable events for lightweights,
initialize component array.
(validate): Call doLayout in validateTree() instead.
(validateTree): Do nothing if already valid. Call beginValidate(),
endValidate() on peer. Call validateTree() instead of validate()
for children that are containers. Mark valid after validation of
children.
(setFont): Partial implementation.
(paint): Implemented.
(visitChildren): New method.
(visitChild): New method.
(update): Implemented.
(print): Implemented.
(paintComponents): Implemented.
(printComponents): Consider translation and clipping.
(getComponentAt): Ignore invisible children. Return this if no
child match.
(addNotify): Call super.
(addNotifyContainerChildren): New method.
(paramString): Implemented.
(list): Implemented.
* java/awt/EventQueue (invokeAndWait): Get system event queue the
right way.
(invokeLater): Likewise.
(isDispatchThread): Likewise.
* java/awt/FontMetrics (getLeading): Formula change.
(getDescent): Consider leading also.
(getMaxAscent): Default to getAscent().
(getMaxDescent): Default to getDescent.
(getMaxAdvance): Return value signifying unknown.
(charWidth): Both methods implemented.
(charsWidth): Implemented.
(bytesWidth): Implemented.
(getWidths): Implemented.
* java/awt/Frame.java (NORMAL, ICONIFIED, iconImage, isResizable,
state): New fields.
(Frame): Rearragend constuctor chaining to disallow null being
passed as a graphics configuration.
(getTitle): Return empty string if null.
(dispose): Removed.
(getIconImage): New method.
(setIconImage): New method.
(finalize): New method.
(setMenuBar): Notify peer.
(isResizable): New method.
(setResizable): New method.
(getState): New method.
(getFont): Removed.
(remove): Implemented.
(removeNotify): New method.
(getFrames): New method.
* java/awt/Graphics.java: Implemented body of class.
* java/awt/Graphics2D.java: New file.
* java/awt/GraphicsConfiguration.java: Enabled part of the API.
* java/awt/Image.java: Implemented body of class.
* java/awt/Panel.java (Panel): Call correct super constructor.
(addNotify): Implemented.
* java/awt/Rectangle.java (isEmpty): Fixed reversed logic.
* java/awt/RenderingHints.java: New file.
* java/awt/Toolkit.java (createComponent): Implemented.
(getSystemEventQueue): Delegate to getSystemEventQueueImpl().
* java/awt/Window.java (Window): Two new constructors. Reordered
constructor chaining.
(getGraphicsConfigurationImpl): New method.
(finalize): Call super.
(addNotify): Call super.
(pack): Do layout stuff.
(show): Ensure that peer exists and that component is valid.
(dispose): Dispose owned children.
(getOwner): Simplify code, casting null pointers is valid.
(getGraphicsConfiguration): Ask peer if local value is null.
* java/awt/event/ActionEvent.java (getActionCommand): Renamed from
getcmd().
* java/awt/image/BufferedImage.java: New file.
* java/awt/image/RasterOp.java: New file.
* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
More powerfull replacement for getColorModel().
(getColorModel) Removed.
(setEventMask) New method.
* Makefile.am: Added new files.
* Makefile.in: Rebuilt.

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

23 years ago * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
ghazi [Wed, 16 Aug 2000 17:10:21 +0000 (17:10 +0000)]
* configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
use t-aix41 when host == target.

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

23 years ago * reload.c (push_secondary_reload): Revert last change.
rth [Wed, 16 Aug 2000 16:53:02 +0000 (16:53 +0000)]
    * reload.c (push_secondary_reload): Revert last change.
        If we use a reload_in/out pattern, make the when the same
        as the primary reload.
        (find_reloads): Likewise.

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

23 years ago2000-08-16 Manfred Hollstein <manfredh@redhat.com>
manfred [Wed, 16 Aug 2000 16:25:19 +0000 (16:25 +0000)]
2000-08-16  Manfred Hollstein  <manfredh@redhat.com>

* configure.in (libstdcxx-v3): Fix test.
* configure: Regenerate.

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

23 years ago2000-08-15 Andrew Haley <aph@cygnus.com>
tromey [Wed, 16 Aug 2000 15:30:02 +0000 (15:30 +0000)]
2000-08-15  Andrew Haley  <aph@cygnus.com>

* include/jvm.h (_Jv_HashCode): New hash code.

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

23 years ago * calls.c (calls_function_1, expand_call): Only test
kenner [Wed, 16 Aug 2000 11:59:03 +0000 (11:59 +0000)]
* calls.c (calls_function_1, expand_call): Only test
TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
* function.c (thread_prologue_and_epilogue_insns): Likewise.

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

23 years ago * combine.c (simplify_shift_const): Revert previous two
rth [Wed, 16 Aug 2000 07:56:04 +0000 (07:56 +0000)]
    * combine.c (simplify_shift_const): Revert previous two
        changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
        before the main loop.

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

23 years agoDaily bump.
law [Wed, 16 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years agoNew test.
rth [Wed, 16 Aug 2000 06:23:40 +0000 (06:23 +0000)]
New test.

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

23 years ago * combine.c (simplify_shift_const): Bound shift count when
rth [Wed, 16 Aug 2000 06:22:20 +0000 (06:22 +0000)]
    * combine.c (simplify_shift_const): Bound shift count when
        combining shifts.

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

23 years ago2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 16 Aug 2000 05:00:29 +0000 (05:00 +0000)]
2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/codecvt.h: New file.
* src/codecvt.cc: New file.
* bits/std_locale.h: Add include here.
* src/Makefile.am (headers): Add codecvt.h
(sources): Add codecvt.cc.
* src/Makefile.in: Regenerate.
* bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
__codecvt_abstract_base in an attempt to point some light this way...
Move __enc_traits and codecvt bits to codecvt.h.
* src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
explicit instantiation. Separate out codecvt instantations, simplify.
* src/locale.cc: Move codecvt bits to codecvt.cc

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

23 years ago2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 16 Aug 2000 04:12:51 +0000 (04:12 +0000)]
2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/codecvt.h: New file.
* src/codecvt.cc: New file.
* bits/std_locale.h: Add include here.
* src/Makefile.am (headers): Add codecvt.h
(sources): Add codecvt.cc.
* src/Makefile.in: Regenerate.
* bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
__codecvt_abstract_base in an attempt to point some light this way...
Move __enc_traits and codecvt bits to codecvt.h.
* src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
explicit instantiation. Separate out codecvt instantations, simplify.
* src/locale.cc: Move codecvt bits to codecvt.cc

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

23 years ago * java/io/ByteArrayOutputStream.java: Merged with Classpath.
tromey [Wed, 16 Aug 2000 01:43:42 +0000 (01:43 +0000)]
* java/io/ByteArrayOutputStream.java: Merged with Classpath.

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

23 years ago * calls.c (ECF_SP_DEPRESSED): New macro.
kenner [Wed, 16 Aug 2000 01:23:46 +0000 (01:23 +0000)]
* calls.c (ECF_SP_DEPRESSED): New macro.
(calls_function_1): Treat calling sp-depressed function as alloca.
(emit_call_1): Don't adjust SP if calling sp-depressed function.
(expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
If sp-depressed, ensure block saves and restores SP.
* fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
for INTEGER_TYPE.
* function.c (keep_stack_depressed): New function.
(thread_prologue_and_epilogue_insns): Call it.
* print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
to print DECL_OFFSET_ALIGN.
Print no-force-blk and transparent-union flags properly.
* stmt.c (expand_goto_internal): Don't restore stack if last block
and function returns with sp depressed.
(fixup_gotos): Likewise.
(save_stack_pointer): New function, from code in expand_decl.
(expand_decl): Call new function.
* tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
(TYPE_RETURNS_STACK_DEPRESSED): New macro.
(save_stack_pointer): New declaration.

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

23 years ago * calls.c (ECF_SP_DEPRESSED): New macro.
kenner [Wed, 16 Aug 2000 01:15:37 +0000 (01:15 +0000)]
* calls.c (ECF_SP_DEPRESSED): New macro.
(calls_function_1): Treat calling sp-depressed function as alloca.
(emit_call_1): Don't adjust SP if calling sp-depressed function.
(expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
If sp-depressed, ensure block saves and restores SP.
* fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
for INTEGER_TYPE.
* function.c (keep_stack_depressed): New function.
(thread_prologue_and_epilogue_insns): Call it.
* print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
to print DECL_OFFSET_ALIGN.
Print no-force-blk and transparent-union flags properly.
* stmt.c (expand_goto_internal): Don't restore stack if last block
and function returns with sp depressed.
(fixup_gotos): Likewise.
(save_stack_pointer): New function, from code in expand_decl.
(expand_decl): Call new function.
* tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
(TYPE_RETURNS_STACK_DEPRESSED): New macro.
(save_stack_pointer): New declaration.

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

23 years ago2000-08-14 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 16 Aug 2000 00:05:29 +0000 (00:05 +0000)]
2000-08-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (generate_bytecode_conditional): Re-installed lost
        Jan 6 2000 patch.
        (generate_bytecode_insns): Check `nargs' before emitting it.
        * verify.c (merge_type_state): Fixed typo.
        * ChangeLog: Fixed typo in some jcf-write.c entries mentioning
        generate_bytecode_{conditional,insns}.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00617.html)

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

23 years ago * diagnostic.c (fatal_function): New variable.
kenner [Tue, 15 Aug 2000 21:39:26 +0000 (21:39 +0000)]
* diagnostic.c (fatal_function): New variable.
(set_fatal_function): New function.
(fatal): Call it.
* diagnostic.h (set_fatal_function): New declaration.

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

23 years ago * diagnostic.c (fatal_function): New variable.
kenner [Tue, 15 Aug 2000 21:21:12 +0000 (21:21 +0000)]
* diagnostic.c (fatal_function): New variable.
(set_fatal_function): New function.
(fatal): Call it.
* diagnostic.h (set_fatal_function): New declaration.

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

23 years ago * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
law [Tue, 15 Aug 2000 20:50:39 +0000 (20:50 +0000)]
* config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
(PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
(DWARF2_ASM_LINE_DEBUG_INFO): Defined.

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

23 years agoMinor whitespace fixes
kenner [Tue, 15 Aug 2000 20:47:38 +0000 (20:47 +0000)]
Minor whitespace fixes

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

23 years ago * gcc.dg/c90-array-lval-2.c, gcc.dg/c90-const-expr-2.c,
jsm28 [Tue, 15 Aug 2000 18:08:04 +0000 (18:08 +0000)]
* gcc.dg/c90-array-lval-2.c, gcc.dg/c90-const-expr-2.c,
gcc.dg/c99-array-lval-2.c, gcc.dg/c99-const-expr-2.c,
gcc.dg/c99-func-3.c, gcc.dg/c99-func-4.c: New tests.

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

23 years ago * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
rth [Tue, 15 Aug 2000 17:31:29 +0000 (17:31 +0000)]
    * flow.c (mark_used_reg): Set reg_cond_reg appropriately.

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

23 years agoBump one more time to ensure everyone picks up the fixed version.
law [Tue, 15 Aug 2000 15:40:25 +0000 (15:40 +0000)]
Bump one more time to ensure everyone picks up the fixed version.

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

23 years agoDummy checkin so that rev #s match.
law [Tue, 15 Aug 2000 15:34:14 +0000 (15:34 +0000)]
Dummy checkin so that rev  #s match.

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

23 years ago * tm.texi (LOCAL_REGNO): Document.
law [Tue, 15 Aug 2000 15:33:23 +0000 (15:33 +0000)]
   * tm.texi (LOCAL_REGNO): Document.
        * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
        (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
        * reload1.c (reload): Likewise when considering nonlocal labels.

        * config/ia64/ia64.h (LOCAL_REGNO): New.
        * config/sparc/sparc.h (LOCAL_REGNO): New.
Last real change...

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

23 years ago * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
law [Tue, 15 Aug 2000 15:32:04 +0000 (15:32 +0000)]
    * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

One more...

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

23 years ago * cppdefault.h (WINT_TYPE): Define.
law [Tue, 15 Aug 2000 15:30:52 +0000 (15:30 +0000)]
    * cppdefault.h (WINT_TYPE): Define.
        * cppinit.c (builtin_array): Define __WINT_TYPE__.
        * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
        * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
Almost done.

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

23 years ago * tm.texi (Register Classes): Clarify order of sub-initializers
law [Tue, 15 Aug 2000 15:29:31 +0000 (15:29 +0000)]
    * tm.texi (Register Classes): Clarify order of sub-initializers
        in REG_CLASS_CONTENTS.
Ho hum...

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

23 years ago * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
law [Tue, 15 Aug 2000 15:28:19 +0000 (15:28 +0000)]
    * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.

Restoring tm.texi after corruption.

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

23 years ago * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
law [Tue, 15 Aug 2000 15:27:11 +0000 (15:27 +0000)]
    * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
        (cse_insn): Likewise.
        (addr_affects_sp_p): Likewise.
        * expr.c (move_by_pieces): Likewise.
        (clear_by_pieces): Likewise.
        * gcse.c (oprs_unchanged_p): Likewise.
        * haifa-sched.c (sched_analyze_2): Likewise.
        * recog.c (offsettable_address_p): Likewise.
        * regclass.c (record_address_regs): Likewise.
        * reload.c (find_reusable_reload): Likewise.
        (push_reload): Likewise.
        (operands_match_p): Likewise.
        (decompose): Likewise.
        (find_reloads_address_1): Likewise.
        (find_inc_amount): Likewise.
        * reload1.c (elimination_effects): Likewise.
        * resource.c (mark_set_resources): Likewise.
        * flow.c (attempt_auto_inc): New function; mostly broken out
        of find_auto_inc.
        (find_auto_inc): Split into two functions and enhanced to
        generate POST_MODIFY.
        * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
        * rtl.h (count_all_occurrences):  Declare.
        (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
        defined.
        * rtlanal.c (count_all_occurrences): New function.
        * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
        HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.

        * config/ia64/ia64-protos.h (destination_operand): Declare.
        * config/ia64/ia64.c (destination_operand): New function.
        (ia64_print_operand): Handle POST_MODIFY.
        (rtx_needs_barrier): Likewise.
        * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
        (HAVE_POST_MODIFY_REG): Define to 1.
        (MAX_REGS_PER_ADDRESS): Change to 2.
        (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
        (LEGITIMATE_ADDRESS_REG): New helper macro.
        (LEGITIMATE_ADDRESS_DISP): Likewise.
        (PREDICATE_CODES): Add entry for destination_operand.
        * config/ia64/ia64.md (all mov patterns): Use destination_operand
        predicate for operand 0.
Restoring tm.texi after corruption.

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

23 years ago * final.c (profile_function): Do not emit profile counters in
law [Tue, 15 Aug 2000 15:25:50 +0000 (15:25 +0000)]
    * final.c (profile_function): Do not emit profile counters in
        the data section, if NO_PROFILE_COUNTERS is defined.
        * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
        FUNCTION_PROFILER.

        * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
        (FUNCTION_PROFILER): Just emit a call to mcount.
Restoring tm.texi after corruption.

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

23 years ago* arm.c (arm_function_ok_for_sibcall): New function.
rearnsha [Tue, 15 Aug 2000 15:14:06 +0000 (15:14 +0000)]
* arm.c (arm_function_ok_for_sibcall): New function.
* arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
* arm.md (call expanders): Don't check here for calls that can't
be sibling calls.

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

23 years ago* arm.md (splits generating cond_exec): Disable.
rearnsha [Tue, 15 Aug 2000 14:59:37 +0000 (14:59 +0000)]
* arm.md (splits generating cond_exec): Disable.

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

23 years ago* arm/linux-elf.h (text_section): Delete declaration.
rearnsha [Tue, 15 Aug 2000 14:23:33 +0000 (14:23 +0000)]
* arm/linux-elf.h (text_section): Delete declaration.

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

23 years agoARM support for unordered FP operations.
rearnsha [Tue, 15 Aug 2000 13:41:34 +0000 (13:41 +0000)]
ARM support for unordered FP operations.
* arm-protos.h (arm_comparison_operator): Declare.
* arm.c (arm_comparison_operator): New function.
(arm_select_cc_mode): Add unordered comparison codes.
(get_arm_condition_code): Likewise.
(arm_final_prescan_insn): Can't handle unordered jumps that can't
be done in one insn.
* arm.h (PREDICATE_CODES): Add arm_comparison_operator.
* arm.md (all uses of comparison_operator): Replace with
arm_comparison_operator.
(bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
expands.
(arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
patterns.

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

23 years agoARM support for unordered FP operations.
rearnsha [Tue, 15 Aug 2000 13:32:11 +0000 (13:32 +0000)]
ARM support for unordered FP operations.
* arm-protos.h (arm_comparison_operator): Declare.
* arm.c (arm_comparison_operator): New function.
(arm_select_cc_mode): Add unordered comparison codes.
(get_arm_condition_code): Likewise.
(arm_final_prescan_insn): Can't handle unordered jumps that can't
be done in one insn.
* arm.h (PREDICATE_CODES): Add arm_comparison_operator.
* arm.md (all uses of comparison_operator): Replace with
arm_comparison_operator.
(bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
expands.
(arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
patterns.

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

23 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
aoliva [Tue, 15 Aug 2000 07:49:58 +0000 (07:49 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

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

23 years agoDaily bump.
law [Tue, 15 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago* src/Makefile.am (INCLUDES): New target file, with all -I flags.
aoliva [Tue, 15 Aug 2000 07:42:36 +0000 (07:42 +0000)]
* src/Makefile.am (INCLUDES): New target file, with all -I flags.
* src/Makefile.in: Regenerate.

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

23 years agoTue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Tue, 15 Aug 2000 07:40:55 +0000 (07:40 +0000)]
Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* gthr-posix.h: Conditionally include <sched.h>; include
<config.h> from libobjc/.

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