platform/upstream/gcc.git
25 years ago* linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
Jason Merrill [Wed, 4 Aug 1999 11:27:20 +0000 (11:27 +0000)]
* linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

From-SVN: r28496

25 years ago* g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.
Nathan Sidwell [Wed, 4 Aug 1999 09:09:21 +0000 (09:09 +0000)]
* g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.

From-SVN: r28495

25 years agocp-tree.h (empty_except_spec): New global var.
Nathan Sidwell [Wed, 4 Aug 1999 09:07:51 +0000 (09:07 +0000)]
cp-tree.h (empty_except_spec): New global var.

* cp-tree.h (empty_except_spec): New global var.
(compexcepttypes): Remove prototype.
(comp_except_specs): Prototype new global function.
(add_exception_specifier): Prototype new global function.
* decl.c (empty_except_spec): Define new global var.
(duplicate_decls): Use comp_except_specs, reword error message.
(init_decl_processing): Initialize empty_except_spec.
Adjust build_exception_variant calls.
* parse.y (exception_specification_opt): Use empty_except_spec.
(ansi_raise_identifier): Call check_for_new_type.
(ansi_raise_identifiers): Use add_exception_specifier.
* pt.c (tsubst): Use add_exception_specifier to build exception
specifier.
* search.c (check_final_overrider): New static function, broken
out of get_matching_virtual. Check throw specifiers, reword
diagnostics.
(get_matching_virtual): Use check_final_overrider.
* tree.c (build_exception_variant): Use comp_except_specs.
* typeck.c (compexcepttypes): Remove.
(comp_except_types): New static function, helper for
comp_except_specs. Compare two types as exception specifiers.
(comp_except_specs): New global function, compare two exception
specifiers.
(comptypes): Adjust for comp_except_specs.
* typeck2.c (add_exception_specifier): New global function.

* class.c (check_for_override): Reword error message.

From-SVN: r28494

25 years ago* gcc/config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
Mark Elbrecht [Wed, 4 Aug 1999 08:58:39 +0000 (08:58 +0000)]
* gcc/config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.

From-SVN: r28493

25 years ago* jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
Richard Henderson [Wed, 4 Aug 1999 08:19:36 +0000 (01:19 -0700)]
* jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.

From-SVN: r28492

25 years ago* config.sub (vxworks case): Use os=-vxworks, not os=vxworks.
Jeffrey A Law [Wed, 4 Aug 1999 08:07:57 +0000 (08:07 +0000)]
* config.sub (vxworks case): Use os=-vxworks, not os=vxworks.

From-SVN: r28489

25 years ago* global.c: Fix comment.
Jim Kingdon [Wed, 4 Aug 1999 07:50:08 +0000 (01:50 -0600)]
* global.c: Fix comment.

From-SVN: r28488

25 years agoDaily bump.
Jeff Law [Wed, 4 Aug 1999 07:46:10 +0000 (01:46 -0600)]
Daily bump.

From-SVN: r28487

25 years agogcc.c (access_check): New static function.
Ian Lance Taylor [Wed, 4 Aug 1999 07:45:10 +0000 (07:45 +0000)]
gcc.c (access_check): New static function.

        * gcc.c (access_check): New static function.
        (find_a_file): Use it when searching a directory list.
        * collect2.c (find_a_file): Don't accept directories found when
        searching a directory list.

From-SVN: r28486

25 years agotlink.c (symbol_hash_lookup): Do not prefix functions used as function parameters...
Philippe De Muyter [Wed, 4 Aug 1999 07:41:48 +0000 (09:41 +0200)]
tlink.c (symbol_hash_lookup): Do not prefix functions used as function parameters with `&'.

        * tlink.c (symbol_hash_lookup): Do not prefix functions used as
        function parameters with `&'.
        (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.

From-SVN: r28485

25 years ago* gcc.c-torture/execute/990804-1.c: New test.
Jeffrey A Law [Wed, 4 Aug 1999 07:18:41 +0000 (07:18 +0000)]
* gcc.c-torture/execute/990804-1.c: New test.

From-SVN: r28484

25 years agoflow.c (delete_unreachable_blocks): Do not call merge_blocks or tidy_fallthru_edge...
Jeffrey A Law [Wed, 4 Aug 1999 07:11:26 +0000 (07:11 +0000)]
flow.c (delete_unreachable_blocks): Do not call merge_blocks or tidy_fallthru_edge if...

        * flow.c (delete_unreachable_blocks): Do not call merge_blocks
        or tidy_fallthru_edge if the last insn in the block is not
        an unconditional jump or a simple conditional jump.

From-SVN: r28483

25 years agoForgot to check this in yesterday.
Richard Henderson [Wed, 4 Aug 1999 05:46:42 +0000 (22:46 -0700)]
Forgot to check this in yesterday.

From-SVN: r28481

25 years agogc_priv.h (GC_test_and_set): Implementation for Linux PPC from Franz Sirl <Franz...
Tom Tromey [Wed, 4 Aug 1999 03:26:15 +0000 (03:26 +0000)]
gc_priv.h (GC_test_and_set): Implementation for Linux PPC from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

* gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

From-SVN: r28480

25 years agoMakefile.in (c-decl.o): Depends on defaults.h.
J"orn Rennecke [Tue, 3 Aug 1999 22:01:21 +0000 (22:01 +0000)]
Makefile.in (c-decl.o): Depends on defaults.h.

* Makefile.in (c-decl.o): Depends on defaults.h.
* java/Makefile.in (decl.o): Depends on $(srcdir)/../defaults.h.

From-SVN: r28479

25 years agopa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for PA1.1 and above.
Jeffrey A Law [Tue, 3 Aug 1999 20:17:38 +0000 (20:17 +0000)]
pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for PA1.1 and above.

        * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
        PA1.1 and above.
        (CLASS_MAX_NREGS): Likewise.

From-SVN: r28478

25 years agocrash63.C: Expect a POD warning
Nathan Sidwell [Tue, 3 Aug 1999 15:05:25 +0000 (15:05 +0000)]
crash63.C: Expect a POD warning

        * g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
        * g++.old-deja/g++.brendan/crash64.C: Likewise
        * g++.old-deja/g++.brendan/overload8.C: Likewise

From-SVN: r28476

25 years agocall.c (convert_arg_to_ellipsis): Use pod_type_p.
Nathan Sidwell [Tue, 3 Aug 1999 15:04:49 +0000 (15:04 +0000)]
call.c (convert_arg_to_ellipsis): Use pod_type_p.

        * call.c (convert_arg_to_ellipsis): Use pod_type_p.
        * cp-tree.h (struct lang_type): Added non_pod_class flag.
        (CLASSTYPE_NON_POD_P): New macro to access it.
        * class.c (finish_struct_1): Determine non-PODness.
        Check for arrays of pointers (-Weffc++).
        Remove array inspection duplicated code.
        * tree.c (pod_type_p): Detect non-pod non-aggregate types.
        Use CLASSTYPE_NON_POD_P.

From-SVN: r28475

25 years ago* g++.old-deja/g++.other/struct1.C: New test.
Nathan Sidwell [Tue, 3 Aug 1999 14:46:14 +0000 (14:46 +0000)]
* g++.old-deja/g++.other/struct1.C: New test.

From-SVN: r28474

25 years ago* class.c (duplicate_tag_error): Preserve template information.
Nathan Sidwell [Tue, 3 Aug 1999 14:45:20 +0000 (14:45 +0000)]
* class.c (duplicate_tag_error): Preserve template information.

From-SVN: r28473

25 years ago* g++.old-deja/g++.other/enum2.C: New test.
Nathan Sidwell [Tue, 3 Aug 1999 14:25:10 +0000 (14:25 +0000)]
* g++.old-deja/g++.other/enum2.C: New test.

From-SVN: r28472

25 years agodecl.c (start_enum): Show location of previous definition.
Nathan Sidwell [Tue, 3 Aug 1999 14:24:07 +0000 (14:24 +0000)]
decl.c (start_enum): Show location of previous definition.

        * decl.c (start_enum): Show location of previous definition.
        * parse.y (enumlist_opt): New reduction.
        (structsp): Simplify enum rules to use enumlist_opt.

From-SVN: r28471

25 years ago* ext1.C: New test.
Alexandre Oliva [Tue, 3 Aug 1999 13:51:50 +0000 (13:51 +0000)]
* ext1.C: New test.

From-SVN: r28470

25 years ago* dwarf1.C, dwarf2.C, dwarf3.C: New tests.
Alexandre Oliva [Tue, 3 Aug 1999 12:51:02 +0000 (12:51 +0000)]
* dwarf1.C, dwarf2.C, dwarf3.C: New tests.

From-SVN: r28469

25 years agonew
Jason Merrill [Tue, 3 Aug 1999 11:35:17 +0000 (07:35 -0400)]
new

From-SVN: r28468

25 years agolex.c (yyprint): Handle PFUNCNAME.
Jason Merrill [Tue, 3 Aug 1999 10:18:13 +0000 (10:18 +0000)]
lex.c (yyprint): Handle PFUNCNAME.

* lex.c (yyprint): Handle PFUNCNAME.

* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Only
build_expr_from_tree on the args of a TEMPLATE_ID_EXPR.

From-SVN: r28467

25 years ago* cse.c (cse_insn): Fix dumb thinko in last change.
Jeffrey A Law [Tue, 3 Aug 1999 10:00:27 +0000 (10:00 +0000)]
* cse.c (cse_insn): Fix dumb thinko in last change.

From-SVN: r28466

25 years agoDelete questionable files
Jeff Law [Tue, 3 Aug 1999 09:40:46 +0000 (03:40 -0600)]
Delete questionable files

From-SVN: r28463

25 years agoWarning fix
Bernd Schmidt [Tue, 3 Aug 1999 09:38:51 +0000 (09:38 +0000)]
Warning fix

From-SVN: r28462

25 years agoDelete questionable files
Jeff Law [Tue, 3 Aug 1999 09:34:18 +0000 (03:34 -0600)]
Delete questionable files

From-SVN: r28460

25 years agoDelete questionable files
Jeff Law [Tue, 3 Aug 1999 09:26:29 +0000 (03:26 -0600)]
Delete questionable files

From-SVN: r28459

25 years agoDelete questionable files
Jeff Law [Tue, 3 Aug 1999 09:13:02 +0000 (03:13 -0600)]
Delete questionable files

From-SVN: r28457

25 years agoRemove questionable files
Jeff Law [Tue, 3 Aug 1999 09:12:27 +0000 (03:12 -0600)]
Remove questionable files

From-SVN: r28456

25 years agoDelete questionable tests
Jeff Law [Tue, 3 Aug 1999 08:30:01 +0000 (02:30 -0600)]
Delete questionable tests

From-SVN: r28453

25 years agoDelete questionable tests
Jeff Law [Tue, 3 Aug 1999 08:19:35 +0000 (02:19 -0600)]
Delete questionable tests

From-SVN: r28451

25 years agoDelete questionable tests.
Jeff Law [Tue, 3 Aug 1999 08:04:46 +0000 (02:04 -0600)]
Delete questionable tests.

From-SVN: r28448

25 years agoRemove copyrighted testcase
Jeff Law [Tue, 3 Aug 1999 07:55:12 +0000 (01:55 -0600)]
Remove copyrighted testcase

From-SVN: r28447

25 years agoDaily bump.
Jeff Law [Tue, 3 Aug 1999 07:45:14 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28445

25 years ago* decl.c (start_decl): Set attributes before duplicate_decls call.
Mumit Khan [Tue, 3 Aug 1999 07:03:03 +0000 (07:03 +0000)]
* decl.c (start_decl): Set attributes before duplicate_decls call.

From-SVN: r28442

25 years agodwarf2out.c (add_location_or_const_value_attribute): Correct test for sizes of passed...
Hans-Peter Nilsson [Tue, 3 Aug 1999 06:46:05 +0000 (02:46 -0400)]
dwarf2out.c (add_location_or_const_value_attribute): Correct test for sizes of passed and declared parameter types.

* dwarf2out.c (add_location_or_const_value_attribute): Correct
test for sizes of passed and declared parameter types.

From-SVN: r28441

25 years agofixincludes: Fix the return type of bsearch, char* -> void*.
Kaveh R. Ghazi [Tue, 3 Aug 1999 04:06:31 +0000 (04:06 +0000)]
fixincludes: Fix the return type of bsearch, char* -> void*.

        * fixincludes: Fix the return type of bsearch, char* -> void*.

        * fixinc/inclhack.def: Likewise.

From-SVN: r28440

25 years agoregen
Jason Merrill [Tue, 3 Aug 1999 03:56:11 +0000 (23:56 -0400)]
regen

From-SVN: r28439

25 years ago* aclocal.m4, configure: Rebuilt for new libtool.
Tom Tromey [Tue, 3 Aug 1999 03:19:52 +0000 (03:19 +0000)]
* aclocal.m4, configure: Rebuilt for new libtool.

From-SVN: r28438

25 years ago* aclocal.m4, configure: Rebuilt for new libtool.
Tom Tromey [Tue, 3 Aug 1999 03:09:12 +0000 (03:09 +0000)]
* aclocal.m4, configure: Rebuilt for new libtool.

From-SVN: r28436

25 years agoaclocal.m4, configure: Rebuilt for new libtool.
Tom Tromey [Tue, 3 Aug 1999 03:07:04 +0000 (03:07 +0000)]
aclocal.m4, configure: Rebuilt for new libtool.

* aclocal.m4, configure: Rebuilt for new libtool.

[[Split portion of a mixed commit.]]

From-SVN: r28435.2

25 years agoinvoke.texi (-fdump-translation-unit): New option.
Mark Mitchell [Tue, 3 Aug 1999 01:37:47 +0000 (01:37 +0000)]
invoke.texi (-fdump-translation-unit): New option.

* invoke.texi (-fdump-translation-unit): New option.
* Make-lang.in (CXX_SRCS): Add dump.c.
* Makefile.in (CXX_OBJS): Add dump.o.
(dump.o): New target.
* cp-tree.h (DECL_CONV_FN_P): Document.
(DECL_OVERLOADED_OPERATOR_P): New function.
(TYPE_PTRMEM_CLASS_TYPE): New macro.
(TYPE_PTRMEM_POINTED_TO_TYPE): Likewise.
(PTRMEM_CST_CLASS): Use TYPE_PTRMEM_CLASS_TYPE.
(ASM_VOLATILE_P): New macro.
(STMT_LINENO): Likewise.
(cp_namespace_decls): New function.
(dump_node_to_file): New function.
* decl.c (cp_namespace_decls): New function.
(walk_namespaces_r): Use it.
(wrapup_globals_for_namespace): Likewise.
* decl2.c (flag_dump_translation_unit): New variable.
(lang_decode_option): Handle -fdump-translation-unit.
(finish_file): If flag_dump_translation_unit is set, dump the
translation unit.
* dump.c: New file.
* lang-options.h: Add -fdump-translation-unit.
* pt.c (tsubst_template_parms): Robustify.
(tsubst_decl): Use DECL_OVERLOADED_OPERATOR_P.
(tsubst_expr): Use STMT_LINENO.
* semantics.c (finish_asm_stmt): Eliminate duplicate code.  Check
for invalid cv-qualifiers even while building templates.

From-SVN: r28434

25 years agoexpr.h (PROMOTE_PROTOTYPES): Move ...
Richard Henderson [Tue, 3 Aug 1999 00:58:44 +0000 (17:58 -0700)]
expr.h (PROMOTE_PROTOTYPES): Move ...

        * expr.h (PROMOTE_PROTOTYPES): Move ...
        * defaults.h: ... to here.
        * c-decl.c: Include defaults.h instead of expr.h.
        * c-typeck.c: Include defaults.h.

From-SVN: r28433

25 years agocall.c: Include defaults.h instead of expr.h.
Richard Henderson [Tue, 3 Aug 1999 00:58:19 +0000 (17:58 -0700)]
call.c: Include defaults.h instead of expr.h.

        * call.c: Include defaults.h instead of expr.h.
        * decl.c: Likewise.
        * pt.c: Likewise.
        * typeck.c: Include defaults.h.

From-SVN: r28432

25 years agodecl.c: Include defaults.h instead of expr.h.
Richard Henderson [Tue, 3 Aug 1999 00:57:50 +0000 (17:57 -0700)]
decl.c: Include defaults.h instead of expr.h.

        * decl.c: Include defaults.h instead of expr.h.
        * parse.y: Likewise.

From-SVN: r28431

25 years agonatFile.cc (performMkdir): Remove FIXME.
Bryce McKinlay [Tue, 3 Aug 1999 00:32:14 +0000 (00:32 +0000)]
natFile.cc (performMkdir): Remove FIXME.

        * java/io/natFile.cc (performMkdir): Remove FIXME.
        * java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode.

From-SVN: r28430

25 years agoServerSocket.java: Define ANY_IF.
Bryce McKinlay [Tue, 3 Aug 1999 00:30:53 +0000 (00:30 +0000)]
ServerSocket.java: Define ANY_IF.

        * java/net/ServerSocket.java: Define ANY_IF.
        (ServerSocket (int,int)): Use ANY_IF instead of null to bind to
        all network interfaces.
        * java/net/DatagramSocket.java (DatagramSocket): ditto.
        * java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
        null.
        * java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
        instead of null.

From-SVN: r28429

25 years agoboehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR.
Bryce McKinlay [Tue, 3 Aug 1999 00:23:03 +0000 (00:23 +0000)]
boehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR.

eth'

        * boehm.cc (_Jv_RegisterFinalizer): Cast \reth' to GC_PTR.
        * exception.cc (_Jv_Throw): Cast _Jv_type_matcher' to __eh_matcher.

From-SVN: r28428

25 years agolex.c (errorcount, sorrycount): Don't declare.
Mark Mitchell [Tue, 3 Aug 1999 00:13:45 +0000 (00:13 +0000)]
lex.c (errorcount, sorrycount): Don't declare.

* lex.c (errorcount, sorrycount): Don't declare.
* repo.c (errorcount, sorrycount): Likewise.
* typeck2.c (errorcount, sorrycount): Likewise.

From-SVN: r28427

25 years agotoplev.h (errorcount): Declare.
Mark Mitchell [Tue, 3 Aug 1999 00:07:52 +0000 (00:07 +0000)]
toplev.h (errorcount): Declare.

* toplev.h (errorcount): Declare.
(warningcount): Likewise.
(sorrycount): Likewise.
* c-lex.c (errorcount): Don't declare.
* dwarf2out.c (errorcount): Don't declare.

From-SVN: r28426

25 years agolibgloss.h: Add a note discouraging use with ELF.
Jason Merrill [Tue, 3 Aug 1999 00:06:05 +0000 (00:06 +0000)]
libgloss.h: Add a note discouraging use with ELF.

* config/libgloss.h: Add a note discouraging use with ELF.
* configure.in: Don't use libgloss.h for ELF targets.

From-SVN: r28425

25 years agoOptimize duplicate zero_extend operations.
Jim Wilson [Mon, 2 Aug 1999 23:53:14 +0000 (23:53 +0000)]
Optimize duplicate zero_extend operations.

* combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
(force_to_mode, case ASHIFTRT): Add shiftrt label.

From-SVN: r28424

25 years agoloop.c (strength_reduce): When doing biv->giv conversion, update reg note of NEXT...
J"orn Rennecke [Mon, 2 Aug 1999 23:50:36 +0000 (23:50 +0000)]
loop.c (strength_reduce): When doing biv->giv conversion, update reg note of NEXT->insn.

* loop.c (strength_reduce): When doing biv->giv conversion, update
reg note of NEXT->insn.

From-SVN: r28423

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Mon, 2 Aug 1999 23:23:45 +0000 (01:23 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.

From-SVN: r28422

25 years agoarc.h: Define PROMOTE_PROTOTYPES to 1.
Richard Henderson [Mon, 2 Aug 1999 23:19:33 +0000 (16:19 -0700)]
arc.h: Define PROMOTE_PROTOTYPES to 1.

        * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
        * config/convex/convex.h: Ditto.
        * config/dsp16xx/dsp16xx.h: Ditto.
        * config/fx80/fx80.h: Ditto.
        * config/gmicro/gmicro.h: Ditto.
        * config/i370/i370.h: Ditto.
        * config/i386/i386.h: Ditto.
        * config/m32r/m32r.h: Ditto.
        * config/m68k/m68k.h: Ditto.
        * config/m88k/m88k.h: Ditto.
        * config/mips/mips.h: Ditto.
        * config/pa/pa.h: Ditto.
        * config/pyr/pyr.h: Ditto.
        * config/tahoe/tahoe.h: Ditto.
        * config/we32k/we32k.h: Ditto.

        * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
        based on arch size.

        * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.

From-SVN: r28421

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Mon, 2 Aug 1999 23:17:06 +0000 (01:17 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
        PROMOTE_PROTOTYPES, so that it tests it as a C expression.
        Ensure expr.h is included.
        * c-typecheck.c (convert_arguments): Ditto.

        * expr.h: Supply default for PROMOTE_PROTOTYPES (0).

From-SVN: r28420

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Mon, 2 Aug 1999 23:14:31 +0000 (01:14 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * java/decl.c (start_java_method): Change all uses of
        PROMOTE_PROTOTYPES, so that it tests it as a C expression.
        Ensure expr.h is included.
        * java/expr.c (pop_arguments): Ditto.
        * java/parse.y (expand_start_java_method): Ditto.

From-SVN: r28419

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Mon, 2 Aug 1999 23:14:12 +0000 (01:14 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * call.c (convert_default_arg, build_over_call): Change all uses of
        PROMOTE_PROTOTYPES, so that it tests it as a C expression.
        Ensure expr.h is included.
        * decl.c (grokparams): Ditto.
        * pt.c (tsubst_decl): Ditto.
        * typeck.c (convert_arguments): Ditto.

From-SVN: r28418

25 years agom32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set for the register...
Richard Henderson [Mon, 2 Aug 1999 23:08:49 +0000 (16:08 -0700)]
m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set for the register spill block.

        * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
        for the register spill block.
        (m32r_va_arg): New.
        * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
        (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.

        * m32r.h (INT8_P): Don't short-cut test with (unsigned).
        (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
        (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.

From-SVN: r28417

25 years agolinux.h: Define WCHAR_TYPE as "int" and undef MAX_WCHAR_TYPE defined in sparc.h.
Jakub Jelinek [Mon, 2 Aug 1999 23:06:52 +0000 (01:06 +0200)]
linux.h: Define WCHAR_TYPE as "int" and undef MAX_WCHAR_TYPE defined in sparc.h.

        * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
        MAX_WCHAR_TYPE defined in sparc.h.
        * config/sparc/linuxaout.h: Likewise.
        * config/sparc/linux64.h: Likewise.
        Also default to -mvis if CPU is UltraSPARC.

From-SVN: r28416

25 years agoclass.c (mark_overriders): Fix order of args to overrides.
Jason Merrill [Mon, 2 Aug 1999 22:59:03 +0000 (22:59 +0000)]
class.c (mark_overriders): Fix order of args to overrides.

* class.c (mark_overriders): Fix order of args to overrides.
(warn_hidden): Likewise.  Fix for having virtual and non-virtual
functions with the same name.

From-SVN: r28415

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Richard Henderson [Mon, 2 Aug 1999 22:58:04 +0000 (15:58 -0700)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
        (RTX_OK_FOR_OLO10): Likewise.
        (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
        %lo(), allow it in addresses...
        (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
        * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
        does not make sense.
        * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
        (sparc_output_scratch_registers): New function.
        (output_function_prologue, sparc_flat_output_function_prologue): Use
        it.
        * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
        defined.
        * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
        * configure.in: Add check for .register pseudo-op support in as and
        check for offsetable %lo().
        * acconfig.h: Add templates for the above checks.
        * configure: Regenerate.

Richard Henderson  <rth@cygnus.com>

        * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
        * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
        * sparc/sol2.h (TARGET_DEFAULT): Likewise.

From-SVN: r28414

25 years agoloop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class.
J"orn Rennecke [Mon, 2 Aug 1999 22:50:49 +0000 (22:50 +0000)]
loop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class.

* loop.c (strength_reduce): When doing biv->giv conversion, fix up
reg_biv_class.

From-SVN: r28413

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Mon, 2 Aug 1999 22:34:17 +0000 (00:34 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/float-sparc.h: New file.
        * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
        sparc-*-linux-gnu and sparc64-*-linux*.

From-SVN: r28412

25 years ago* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.
Richard Henderson [Mon, 2 Aug 1999 21:33:32 +0000 (14:33 -0700)]
* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.

From-SVN: r28409

25 years agoFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl [Mon, 2 Aug 1999 20:40:56 +0000 (20:40 +0000)]
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.c (rs6000_va_list): Type is an array.
        (rs6000_va_start): Don't doubly adjust for varargs.
        (rs6000_va_arg): Evaluate long long GPR adjustment.

From-SVN: r28408

25 years agoAdapted from tests from Franz Sirl:
Richard Henderson [Mon, 2 Aug 1999 20:36:53 +0000 (13:36 -0700)]
Adapted from tests from Franz Sirl:

        * gcc.c-torture/execute/va-arg-7.c: New test.
        * gcc.c-torture/execute/va-arg-8.c: New test.

From-SVN: r28407

25 years ago[multiple changes]
David Edelsohn [Mon, 2 Aug 1999 20:20:12 +0000 (16:20 -0400)]
[multiple changes]

Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>

* rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
-maix64 and -maix32.
(ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
LINK_SPEC): Change appropriately.
* rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
(u_short_cint_operand): Likewise.
* rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
for 64-bit hosts.
* rs6000/t-aix43 (MULTILIB): Change to -m64.

* invoke.texi (RS/6000 Submodel): Document 64-bit processor options.

Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>

* rs6000/rs6000.c (num_insns_constant_wide): Correct
for type promotion.
(add_operand): Get test correct for 64-bit HOST_WIDE_INT.
(non_add_cint_operand): Likewise.
(logical_operand): Likewise.
(non_logical_cint_operand): Likewise.
(print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
(print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
(rs6000_select_rtx_section): Suppress warning.
(small_data_operand): Suppress warning.
(rs6000_got_register): Suppress warning.
* rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
type, so `J' is generally the wrong constraint for a SImode value;
use `L' instead.
(andsi3_internal2): Likewise.
(andsi3_internal3): Likewise.
(iorsi3_internal1): Likewise.
(xorsi3_internal1): Likewise.
(movsi): Likewise.
(movsf_softfloat): Likewise.
(scc insns): Likewise.
(movsi+2): Preserve sign bits of SImode constant.
(floatsidf2_internal+1): Sign-extend SImode constant correctly.
(movdf+1): Sign-extend properly.
(movdi_32+1): Sign-extend properly.
(scc insns): Sign-extend properly.

* md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
K, L, and T.

From-SVN: r28406

25 years agoalpha.c (override_options): Move ev6 alpha_tp frobbing out of -mcpu parsing code.
Richard Henderson [Mon, 2 Aug 1999 19:37:58 +0000 (12:37 -0700)]
alpha.c (override_options): Move ev6 alpha_tp frobbing out of -mcpu parsing code.

        * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
        -mcpu parsing code.
        (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
        * alpha.md (all fp insns): Likewise.

From-SVN: r28404

25 years agoUnroll my commit of 1999/08/01 16:14:58, there was a communications mixup
Geoffrey Keating [Mon, 2 Aug 1999 15:44:50 +0000 (15:44 +0000)]
Unroll my commit of 1999/08/01 16:14:58, there was a communications mixup
about its status.

From-SVN: r28403

25 years agoOnly define STRICT_ALIGNMENT if it is not already defined.
Nick Clifton [Mon, 2 Aug 1999 14:06:07 +0000 (14:06 +0000)]
Only define STRICT_ALIGNMENT if it is not already defined.

From-SVN: r28402

25 years agopa.c (legitimize_pic_address): Clarify comments.
Jeffrey A Law [Mon, 2 Aug 1999 09:45:16 +0000 (09:45 +0000)]
pa.c (legitimize_pic_address): Clarify comments.

        * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
        pic_load_label generator directly.
        * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
        No longer a named pattern.

From-SVN: r28401

25 years agoI'm a dufus.
Jeff Law [Mon, 2 Aug 1999 09:29:33 +0000 (03:29 -0600)]
I'm a dufus.

From-SVN: r28400

25 years agoCall force_operand if X does not satisfy general_operand
Nick Clifton [Mon, 2 Aug 1999 08:40:22 +0000 (08:40 +0000)]
Call force_operand if X does not satisfy general_operand

From-SVN: r28399

25 years agoDaily bump.
Jeff Law [Mon, 2 Aug 1999 07:45:46 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28398

25 years agofix-header.c (main): When testing for CONTINUED, use string equality, not pointer...
Jeffrey A Law [Mon, 2 Aug 1999 07:37:40 +0000 (07:37 +0000)]
fix-header.c (main): When testing for CONTINUED, use string equality, not pointer equality.

        * fix-header.c (main): When testing for CONTINUED, use string
        equality, not pointer equality.

From-SVN: r28396

25 years ago* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
Dan Nicolaescu [Mon, 2 Aug 1999 07:31:09 +0000 (07:31 +0000)]
* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.

From-SVN: r28395

25 years agoNew tests
Mark Mitchell [Mon, 2 Aug 1999 06:44:33 +0000 (06:44 +0000)]
New tests

From-SVN: r28393

25 years ago* call.c (build_conditional_expr): Fix typo in comment.
Mark Mitchell [Mon, 2 Aug 1999 06:19:31 +0000 (06:19 +0000)]
* call.c (build_conditional_expr): Fix typo in comment.

From-SVN: r28391

25 years ago* gcc.c-torture/compile/990801-2.c: New test.
Jeffrey A Law [Mon, 2 Aug 1999 05:57:31 +0000 (05:57 +0000)]
* gcc.c-torture/compile/990801-2.c: New test.

From-SVN: r28390

25 years ago* splay-tree.h (splay_tree_insert): Return the new node.
Mark Mitchell [Mon, 2 Aug 1999 05:54:50 +0000 (05:54 +0000)]
* splay-tree.h (splay_tree_insert): Return the new node.

From-SVN: r28389

25 years agocse.c (cse_insn): Fix loop which deletes insns after a jump that has become an uncond...
Jeffrey A Law [Mon, 2 Aug 1999 05:53:02 +0000 (05:53 +0000)]
cse.c (cse_insn): Fix loop which deletes insns after a jump that has become an unconditional jump.

        * cse.c (cse_insn): Fix loop which deletes insns after a jump
        that has become an unconditional jump.

From-SVN: r28388

25 years agom68k.c (output_function_prologue): Fix typo in CPU32 case.
Jeffrey A Law [Mon, 2 Aug 1999 04:49:11 +0000 (04:49 +0000)]
m68k.c (output_function_prologue): Fix typo in CPU32 case.

        * m68k.c (output_function_prologue): Fix typo in CPU32 case.
        (output_function_epilogue): Similarly.

From-SVN: r28382

25 years ago* gcc.c-torture/compile/990801-1.c: New test.
Jeffrey A Law [Mon, 2 Aug 1999 04:31:35 +0000 (04:31 +0000)]
* gcc.c-torture/compile/990801-1.c: New test.

From-SVN: r28381

25 years agoconfigure.in: Check for bstring.h.
Alexandre Oliva [Sun, 1 Aug 1999 23:39:53 +0000 (23:39 +0000)]
configure.in: Check for bstring.h.

1999-08-01  Alexandre Oliva  <oliva@dcc.unicamp.br>

* configure.in: Check for bstring.h.
* configure, include/config.h.in: Rebuilt.
* java/net/natPlainDatagramSocketImpl.cc: #include bstring.h.
* java/net/natPlainSocketImpl.cc: Likewise.

From-SVN: r28378

25 years agoCheck in part of an earlier patch that got lost
Bernd Schmidt [Sun, 1 Aug 1999 19:16:15 +0000 (19:16 +0000)]
Check in part of an earlier patch that got lost

From-SVN: r28376

25 years agors6000.c (num_insns_constant_wide): Correct for type promotion.
Geoff Keating [Sun, 1 Aug 1999 16:14:58 +0000 (16:14 +0000)]
rs6000.c (num_insns_constant_wide): Correct for type promotion.

* config/rs6000/rs6000.c (num_insns_constant_wide): Correct
for type promotion.
(add_operand): Get test correct for 64-bit HOST_WIDE_INT.
(non_add_cint_operand): Likewise.
(logical_operand): Likewise.
(non_logical_cint_operand): Likewise.
(print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
(print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
(rs6000_select_rtx_section): Suppress warning.
(small_data_operand): Suppress warning.
(rs6000_got_register): Suppress warning.
* config/rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
type, so `J' is generally the wrong constraint for a SImode value;
use `L' instead.
(andsi3_internal2): Likewise.
(andsi3_internal3): Likewise.
(iorsi3_internal1): Likewise.
(xorsi3_internal1): Likewise.
(movsi): Likewise.
(movsf_softfloat): Likewise.
various unnamed compare insns: Likewise.
(movsi+2): Preserve sign bits of SImode constant.
(floatsidf2_internal+1): Sign-extend SImode constant correctly.
(movdf+1): Preserve high bits of DFmode constant.
(movdi_32+1): Sign-extend properly.
various unnamed compare insns: Sign-extend properly.

* unroll.c (loop_iterations): Convert HOST_WIDE_INT to unsigned
properly for mode.
* expmed.c (expand_mult_highpart): Convert HOST_WIDE_INT from unsigned
properly for mode.
(expand_divmod): Likewise.
* optabs.c (expand_fix): Keep HOST_WIDE_INT constants properly signed.
(expand_binop): Sometimes there is work to do when changing
the mode of a CONST_INT.

From-SVN: r28375

25 years agoBackport of GC branch patches part 2: kill stmt status saving.
Bernd Schmidt [Sun, 1 Aug 1999 12:07:41 +0000 (12:07 +0000)]
Backport of GC branch patches part 2: kill stmt status saving.

From-SVN: r28374

25 years agoDaily bump.
Jeff Law [Sun, 1 Aug 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28373

25 years ago* Makefile.in (ALL_CFLAGS): Add '-W -Wall'.
Kaveh R. Ghazi [Sun, 1 Aug 1999 04:26:47 +0000 (04:26 +0000)]
* Makefile.in (ALL_CFLAGS): Add '-W -Wall'.

From-SVN: r28372

25 years agoNEWS: Likewise.
Tom Tromey [Sun, 1 Aug 1999 04:04:04 +0000 (04:04 +0000)]
NEWS: Likewise.

* NEWS: Likewise.
* THANKS: New file.

From-SVN: r28371

25 years agoconfigure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyna...
Alexandre Oliva [Sun, 1 Aug 1999 00:14:32 +0000 (00:14 +0000)]
configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r...

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* configure.in: Check for struct hostent_data and need for
-D_REENTRANT for gethostbyname_r declaration.
* java/net/natInetAddress.cc: Define _REENTRANT if needed.
(lookup): Use hostent_data for fixed_buffer.
* configure, include/config.h.in: Rebuilt.

From-SVN: r28369

25 years agolibjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as...
Alexandre Oliva [Sat, 31 Jul 1999 23:52:52 +0000 (23:52 +0000)]
libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that
defaults to javac, as Sun-javac compiler or compatible.
(libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST
nor TOOL_EXECUTABLE are set.  Set `original_ld_library_path' from
environment.
(libjava_arguments): Prepend `.' and `$srcdir/$subdir' to
CLASSPATH, for `support' sources.  Search for libgcj.spec in
`$objdir/..', by adding -B to GCJ_UNDER_TEST.  Append
original_ld_library_path to ld_library_path.
* libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from
GCJ_UNDER_TEST, calculated just like in libjava.exp.

From-SVN: r28364

25 years agomips_sgi_mach_dep.s: Enable PIC option.
Alexandre Oliva [Sat, 31 Jul 1999 23:50:05 +0000 (23:50 +0000)]
mips_sgi_mach_dep.s: Enable PIC option.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* mips_sgi_mach_dep.s: Enable PIC option.

From-SVN: r28363

25 years agonatSystem.cc (arraycopy): Use bcopy if memmove is not available.
Alexandre Oliva [Sat, 31 Jul 1999 23:41:15 +0000 (23:41 +0000)]
natSystem.cc (arraycopy): Use bcopy if memmove is not available.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* java/lang/natSystem.cc (arraycopy): Use bcopy if memmove is not
available.  Don't cast memmove args to (void*).
* configure.in: Do not abort if memmove is not available.

From-SVN: r28360

25 years agogcc.texi: Use terms "GNU Compiler Collection" and "GCC".
Joe Buck [Sat, 31 Jul 1999 13:28:54 +0000 (13:28 +0000)]
gcc.texi: Use terms "GNU Compiler Collection" and "GCC".

        * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
        Also update copyright.

From-SVN: r28359