platform/upstream/gcc.git
25 years agofix assignment to partially-overlapped COMPLEX
Craig Burley [Sun, 25 Apr 1999 18:01:35 +0000 (18:01 +0000)]
fix assignment to partially-overlapped COMPLEX

From-SVN: r26625

25 years agofunction.c (assign_parms/STACK_BYTES): Revert last change, and that of 19 Nov.
Richard Henderson [Sun, 25 Apr 1999 13:09:33 +0000 (06:09 -0700)]
function.c (assign_parms/STACK_BYTES): Revert last change, and that of 19 Nov.

        * function.c (assign_parms/STACK_BYTES): Revert last change,
        and that of 19 Nov.

From-SVN: r26624

25 years agocalls.c (emit_call_1): New arg rounded_stack_size; update callers.
Richard Henderson [Sun, 25 Apr 1999 12:31:52 +0000 (05:31 -0700)]
calls.c (emit_call_1): New arg rounded_stack_size; update callers.

        * calls.c (emit_call_1): New arg rounded_stack_size; update callers.
        Update pending_stack_adjust based on this value.
        (compute_argument_block_size): Include pending_stack_adjust in
        PREFERRED_STACK_BOUNDARY alignment.
        * function.c (assign_parms): Don't round to PREFERRED_STACK_BOUNDARY.

From-SVN: r26623

25 years ago* gcc.dg/990424-1.c: New test.
Richard Henderson [Sun, 25 Apr 1999 12:29:35 +0000 (05:29 -0700)]
* gcc.dg/990424-1.c: New test.

From-SVN: r26622

25 years agostupid.c (stupid_mark_refs): Generate a REG_UNUSED note for a register which is clobb...
John Wehle [Sun, 25 Apr 1999 11:43:49 +0000 (11:43 +0000)]
stupid.c (stupid_mark_refs): Generate a REG_UNUSED note for a register which is clobbered even if...

* stupid.c (stupid_mark_refs): Generate a REG_UNUSED note
for a register which is clobbered even if the register
was used by an earlier instruction.
* i386.md (fix_truncsfdi2, fix_truncdfdi2,
fix_truncxfdi2): Don't bother with the gen_reg_RTX.
(fix_truncsfsi2, fix_truncsfdi2, fix_truncdfsi2,
fix_truncdfdi2, fix_truncxfsi2, fix_truncxfdi2): Update
operand constraints and modes.
* i386.c (output_fix_trunc): Use HImode register to avoid
memory stalls.  Call output_move_double instead of output_to_reg.
(output_to_reg): Remove.
* i386.h: Likewise.
* i386.md (negsf2, negdf2, negxf2): Set the type
attribute to fpop.

From-SVN: r26621

25 years agoDaily bump.
Jeff Law [Sun, 25 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26620

25 years ago* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
Mumit Khan [Sun, 25 Apr 1999 00:23:06 +0000 (00:23 +0000)]
* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.

From-SVN: r26619

25 years agoMakefile.in (CC1OBJ): Define in terms of CC.
Mumit Khan [Sun, 25 Apr 1999 00:21:51 +0000 (00:21 +0000)]
Makefile.in (CC1OBJ): Define in terms of CC.

        * Makefile.in (CC1OBJ): Define in terms of CC.
        (runtime-info.h): Use.

From-SVN: r26618

25 years ago* alpha.md (call_value_nt): Correct subscripts.
Donn Terry [Sat, 24 Apr 1999 23:16:46 +0000 (23:16 +0000)]
* alpha.md (call_value_nt): Correct subscripts.

From-SVN: r26617

25 years agoalpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
Richard Henderson [Sat, 24 Apr 1999 20:50:46 +0000 (13:50 -0700)]
alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...

        * alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
        * alpha.c (print_operand_address): here.  Handle subregs.

From-SVN: r26616

25 years agoturn LSTAT/STAT checking back on
Craig Burley [Sat, 24 Apr 1999 10:08:34 +0000 (10:08 +0000)]
turn LSTAT/STAT checking back on

From-SVN: r26615

25 years agoforgot to update news.texi
Craig Burley [Sat, 24 Apr 1999 09:29:46 +0000 (09:29 +0000)]
forgot to update news.texi

From-SVN: r26614

25 years agofix INTEGER*2 in DATA implied-DO
Craig Burley [Sat, 24 Apr 1999 09:24:13 +0000 (09:24 +0000)]
fix INTEGER*2 in DATA implied-DO

From-SVN: r26613

25 years agofix typos
Craig Burley [Sat, 24 Apr 1999 09:19:48 +0000 (05:19 -0400)]
fix typos

From-SVN: r26612

25 years agohave ChangeLog entries default to current-time-string as per gcc/, gcc/f/
Craig Burley [Sat, 24 Apr 1999 08:14:33 +0000 (04:14 -0400)]
have ChangeLog entries default to current-time-string as per gcc/, gcc/f/

From-SVN: r26611

25 years agorevert Sat Apr 17 patch
Craig Burley [Sat, 24 Apr 1999 08:10:00 +0000 (08:10 +0000)]
revert Sat Apr 17 patch

From-SVN: r26610

25 years agoDaily bump.
Jeff Law [Sat, 24 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26609

25 years agoacconfig.h (HAVE_GAS_FILDS_FISTS): Add.
John Wehle [Fri, 23 Apr 1999 19:41:03 +0000 (19:41 +0000)]
acconfig.h (HAVE_GAS_FILDS_FISTS): Add.

* acconfig.h (HAVE_GAS_FILDS_FISTS): Add.
* configure.in: Check assembler instructions.
* configure: Rebuild.
* config.in: Likewise.
* i386.md (floathisf2, floathidf2, floathixf2): New patterns.
* i386.c (print_operand): Use the proper suffix for a 387 HImode
operand.  Abort if a 387 operand has an unsupported size.

From-SVN: r26608

25 years agoalpha.c (alpha_write_verstamp): Mark `file' unused.
Richard Henderson [Fri, 23 Apr 1999 16:58:24 +0000 (09:58 -0700)]
alpha.c (alpha_write_verstamp): Mark `file' unused.

        * alpha.c (alpha_write_verstamp): Mark `file' unused.
        * alpha.h (FUNCTION_VALUE): Use gen_rtx_REG not gen_rtx.
        (LIBCALL_VALUE): Likewise.
        (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Handle normal subregs.

From-SVN: r26607

25 years agodecl2.c (finish_file): Tweak handling of extern inlines so that they are not unnecess...
Mark Mitchell [Fri, 23 Apr 1999 16:58:01 +0000 (16:58 +0000)]
decl2.c (finish_file): Tweak handling of extern inlines so that they are not unnecessarily put out.

* decl2.c (finish_file): Tweak handling of extern inlines so that
they are not unnecessarily put out.

From-SVN: r26606

25 years agoMakefile.am: Added URLDecoder and URLEncoder.
Warren Levy [Fri, 23 Apr 1999 16:36:22 +0000 (16:36 +0000)]
Makefile.am: Added URLDecoder and URLEncoder.

* Makefile.am: Added URLDecoder and URLEncoder.
* Makefile.in: Rebuilt.
* java/net/ServerSocket.java (setSocketFactory): Renamed from
setSocketImplFactory to match spec.
* java/net/Socket.java (getSoLinger): Changed return type to
match spec.
* java/net/URLDecoder.java: New file.
* java/net/URLEncoder.java: New file.

From-SVN: r26605

25 years agoalpha.c (alpha_initialize_trampoline): Add covert_memory_address calls as needed.
Donn Terry [Fri, 23 Apr 1999 15:04:07 +0000 (15:04 +0000)]
alpha.c (alpha_initialize_trampoline): Add covert_memory_address calls as needed.

        * alpha.c (alpha_initialize_trampoline): Add covert_memory_address
        calls as needed.

From-SVN: r26604

25 years ago* alpha32.h (INITIALIZE_TRAMPOLINE): Get offsets right.
Donn Terry [Fri, 23 Apr 1999 14:58:10 +0000 (14:58 +0000)]
* alpha32.h (INITIALIZE_TRAMPOLINE): Get offsets right.

From-SVN: r26603

25 years agoalpha.c (alpha_expand_prologue): Don't negate frame size for use with subq.
Richard Henderson [Fri, 23 Apr 1999 14:39:42 +0000 (07:39 -0700)]
alpha.c (alpha_expand_prologue): Don't negate frame size for use with subq.

        * alpha.c (alpha_expand_prologue): Don't negate frame size
        for use with subq.

From-SVN: r26602

25 years agosearch.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and such as base classes.
Mark Mitchell [Fri, 23 Apr 1999 10:16:21 +0000 (10:16 +0000)]
search.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and such as base classes.

* search.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and
such as base classes.

From-SVN: r26601

25 years agoDisplay LABEL_NUSES when printing a code label
Nick Clifton [Fri, 23 Apr 1999 09:44:28 +0000 (09:44 +0000)]
Display LABEL_NUSES when printing a code label

From-SVN: r26600

25 years agoAdd Nathan Sidwell (write after approval)
Nathan Sidwell [Fri, 23 Apr 1999 04:41:38 +0000 (04:41 +0000)]
Add Nathan Sidwell (write after approval)

From-SVN: r26599

25 years agoDaily bump.
Jeff Law [Fri, 23 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26598

25 years agotree.c (build_exception_variant): Fix typo: use the chain of U, not trying V, while...
Brendan Kehoe [Thu, 22 Apr 1999 23:33:15 +0000 (23:33 +0000)]
tree.c (build_exception_variant): Fix typo: use the chain of U, not trying V, while cycling through U.

* tree.c (build_exception_variant): Fix typo: use the chain of U,
not trying V, while cycling through U.

From-SVN: r26597

25 years agoupdate NEWS derived file
Craig Burley [Thu, 22 Apr 1999 23:15:41 +0000 (19:15 -0400)]
update NEWS derived file

From-SVN: r26596

25 years agodoc cleanup vis-a-vis f2c
Craig Burley [Thu, 22 Apr 1999 23:14:03 +0000 (23:14 +0000)]
doc cleanup vis-a-vis f2c

From-SVN: r26595

25 years agocp-tree.h (lang_decl_flags): Remove returns_first_arg and preserves_first_arg.
Mark Mitchell [Thu, 22 Apr 1999 23:13:12 +0000 (23:13 +0000)]
cp-tree.h (lang_decl_flags): Remove returns_first_arg and preserves_first_arg.

* cp-tree.h (lang_decl_flags): Remove returns_first_arg and
preserves_first_arg.  Enlarge dummy accordingly.
(DECL_TINFO_FN_P): New macro.
(SET_DECL_TINO_FN_P): Likeiwse.
(DECL_RETURNS_FIRST_ARG): Remove.
(DECL_PRESERVES_THIS): Likewise.
(DECL_INIT_PRIORITY): New macro.
(finish_struct_1): Change prototype.
(cat_namespace_levels): Remove prototype.
(vtable_decl_p): New prototype.
(vtype_decl_p): Likewise.
(sigtable_decl_p): Likewise.
(walk_globals_pred): New typedef.
(walk_globals_fn): Likewise.
(walk_globals): New prototype.
(walk_namespaces_fn): New typedef.
(walk_namespaces): New prototype.
(wrapup_globals_for_namespace): Likewise.
(walk_vtables): Remove prototype.
(walk_sigtables): Likewise.
(instantiate_pending_templates): New prototype.
* class.c (finish_struct_1): Don't return a value.
* decl.h (pending_statics): Remove declaration.
* decl.c (walk_namespaces_r): New function.
(walk_globals_r): Likewise.
(vtable_decl_p): Likewise.
(vtype_decl_p): Likewise.
(sigtable_decl_p): Likewise.
(walk_namespaces): Likewise.
(walk_globals_data): New type.
(walk_globals): New function.
(wrapup_globals_for_namespace): Likewise.
(expand_static_init): Remove assertion.  Remove redundancy in
conditional.  Don't put static data members in static_aggregates
Tidy.
(finish_function): Remove redundancy in conditional.  Don't set
DECL_RETURNS_FIRST_ARG.
(cat_namespace_levels): Remove.
* decl2.c: Include splay-tree.h and varray.h.
(priority_info_s): New structure.
(finish_vtable_vardecl): Change prototype.  Adjust for new calling
conventions.
(prune_vtable_vardecl): Likewise.
(finish_sigtable_vardecl): Likewise.
(setup_initp): Remove.
(do_dtors): Remove.
(do_ctors): Remove.
(start_static_storage_duration_function): New function.
(generate_inits_for_priority): Likewise.
(finish_static_storage_duration_function): Likewise.
(get_priority_info): Likewise.
(do_static_initialization): Likewise.
(do_static_destruction): Likewise.
(do_static_initialization_and_destruction): Likewise.
(generate_ctor_or_dtor_function): Likewise.
(generate_ctor_and_dtor_functions_for_priority): Likewise.
(pending_statics): Make it a varray.
(pending_statics_used): New variable.
(saved_inlines): Make it a varray.
(saved_inlines_used): New variable.
(finish_static_data_member): Change method of updating
pending_statics.
(mark_inline_for_output): Remove #if 0'd code.  Change method of
updating saved_inlines.
(walk_vtables): Remove.
(walk_sigtables): Likewise.
(import_export_decl): Use DECL_TINFO_FN_P.
(pending_templates): Remove declaration.
(maybe_templates): Likewise.
(static_aggregates_initp): Likewise.
(setup_initp): Likewise.
(finish_objects): Simplify.
(INITIALIZE_P_IDENTIFIER): New macro.
(PRIORITY_IDENTIFIER): New macro.
(SSDF_IDENTIFIER): New macro.
(initialize_p_decl): New variable.
(priority_decl): Likewise.
(ssdf_decl): Likewise.
(priority_info_map): Likewise.
(finish_file): Recode output of static intializers and other
file-scope finalization tasks.
* error.c (OB_END_TEMPLATE_ID): New macro.
(dump_type_real): Use it.
(dump_decl): Likewise.
(dump_function_name): Likewise.
* lex.c (set_typedecl_interface_info): Adjust for new walk_globals
interface.
(check_newline): Use walk_globals, not walk_vtables.
* pt.c (pending_tempalte_expansions): Remove.
(set_vardecl_interface_info): Likewise.
(pending_templates): Make static.
(maybe_templates): Likewise.
(instantiate_class_template): Adjust call to finish_struct_1.
(instantiate_pending_templates): New function.
* rtti.c (get_tinfo_fn): Use SET_DECL_TINFO_FN_P.
* tree.c (static_aggregates_initp): Remove.
(cp_valid_lang_attribute): Don't use it; use DECL_INIT_PRIORITY
instead.
* Makefile.in (decl2.o): Depend on varray.h and splay-tree.h.

From-SVN: r26594

25 years agotoplev.h (wrapup_global_declarations): Declare.
Mark Mitchell [Thu, 22 Apr 1999 23:06:09 +0000 (23:06 +0000)]
toplev.h (wrapup_global_declarations): Declare.

* toplev.h (wrapup_global_declarations): Declare.
(check_global_declarations): Likewise.
* toplev.c (wrapup_global_declarations): New function, split out
from ...
(check_global_declarations): Likewise...
(compile_file): Here.

From-SVN: r26593

25 years agosupport array bounds checking
Craig Burley [Thu, 22 Apr 1999 23:01:43 +0000 (23:01 +0000)]
support array bounds checking

From-SVN: r26592

25 years agoThis isn't Saturday.
Richard Henderson [Thu, 22 Apr 1999 22:35:24 +0000 (15:35 -0700)]
This isn't Saturday.

From-SVN: r26591

25 years agoc-parse.in (expr_no_commas): Verify we've an expr before calling C_SET_EXP_ORIGINAL_CODE.
Richard Henderson [Thu, 22 Apr 1999 22:04:02 +0000 (15:04 -0700)]
c-parse.in (expr_no_commas): Verify we've an expr before calling C_SET_EXP_ORIGINAL_CODE.

        * c-parse.in (expr_no_commas): Verify we've an expr before
        calling C_SET_EXP_ORIGINAL_CODE.

From-SVN: r26590

25 years agotoplev.c (rest_of_compilation): Always set current_function_uses_only_leaf_regs appro...
John Wehle [Thu, 22 Apr 1999 19:25:05 +0000 (19:25 +0000)]
toplev.c (rest_of_compilation): Always set current_function_uses_only_leaf_regs appropriately.

* toplev.c (rest_of_compilation): Always set
current_function_uses_only_leaf_regs appropriately.

From-SVN: r26589

25 years agogxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes with the RTL code RETURN.
Mark Mitchell [Thu, 22 Apr 1999 17:37:35 +0000 (17:37 +0000)]
gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes with the RTL code RETURN.

* gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes
with the RTL code RETURN.
* hash.h: Regenerated.
* lex.c (reinit_parse_for_block): Use RETURN_KEYWORD.
* parse.y: Replace RETURN with RETURN_KEYWORD throughout.
* parse.c: Regenerated.
* parse.h: Likewise.
* pt.c: Include varray.h.  Include rtl.h since varray.h requires
it.
(inline_parm_levels): New variable.
(inline_parm_levels_used): Likewise.
(maybe_begin_member_template_processing): Update them.
(maybe_end_member_template_processing): Use them, rather than
guessing how many levels to pop.

From-SVN: r26588

25 years agogxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes with the RTL code RETURN.
Mark Mitchell [Thu, 22 Apr 1999 17:37:02 +0000 (17:37 +0000)]
gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes with the RTL code RETURN.

* gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes
with the RTL code RETURN.
* hash.h: Regenerated.
* lex.c (reinit_parse_for_block): Use RETURN_KEYWORD.
* parse.y: Replace RETURN with RETURN_KEYWORD throughout.
* parse.c: Regenerated.
* pt.c: Include varray.h.  Include rtl.h since varray.h requires
it.
(inline_parm_levels): New variable.
(inline_parm_levels_used): Likewise.
(maybe_begin_member_template_processing): Update them.
(maybe_end_member_template_processing): Use them, rather than
guessing how many levels to pop.

From-SVN: r26587

25 years ago* decl.c (make_typename_type): Tighten error-checking.
Mark Mitchell [Thu, 22 Apr 1999 16:26:44 +0000 (16:26 +0000)]
* decl.c (make_typename_type): Tighten error-checking.

From-SVN: r26586

25 years ago* Make-lang.in (JAVA_SRCS): Added check-init.c.
Tom Tromey [Thu, 22 Apr 1999 16:19:35 +0000 (16:19 +0000)]
* Make-lang.in (JAVA_SRCS): Added check-init.c.

From-SVN: r26585

25 years agoxm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.
Mumit Khan [Thu, 22 Apr 1999 14:40:55 +0000 (14:40 +0000)]
xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.

        * i386/xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.
        (HAVE_BZERO): Likewise.
        (HAVE_BCMP): Likewise.
        (HAVE_RINDEX): Likewise.
        (HAVE_INDEX): Likewise.
        (DIR_SEPARATOR_2): Define.
        (GET_ENV_PATH_LIST): Turn path lists into POSIX.
        (PATH_SEPARATOR): Use ':'.

From-SVN: r26584

25 years ago* libjava.compile/OperatorBenchmark.java: New file.
Anthony Green [Thu, 22 Apr 1999 14:22:11 +0000 (14:22 +0000)]
* libjava.compile/OperatorBenchmark.java: New file.

From-SVN: r26583

25 years agoenable disabling of fast fixincludes
Bruce Korb [Thu, 22 Apr 1999 07:25:11 +0000 (07:25 +0000)]
enable disabling of fast fixincludes

From-SVN: r26582

25 years agoDaily bump.
Jeff Law [Thu, 22 Apr 1999 00:45:06 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26581

25 years agoCheck in test for previous changes
Mark Mitchell [Thu, 22 Apr 1999 00:34:21 +0000 (00:34 +0000)]
Check in test for previous changes

From-SVN: r26580

25 years agonatString.cc (getBytes): Reverted earlier change and applied correct fix from Per...
Tom Tromey [Wed, 21 Apr 1999 13:50:39 +0000 (13:50 +0000)]
natString.cc (getBytes): Reverted earlier change and applied correct fix from Per Bothner.

* java/lang/natString.cc (getBytes): Reverted earlier change and
applied correct fix from Per Bothner.

From-SVN: r26579

25 years agodecl.c (predef_filenames, [...]): New globals
Alexandre Petit-Bianco [Wed, 21 Apr 1999 13:49:49 +0000 (13:49 +0000)]
decl.c (predef_filenames, [...]): New globals

Wed Apr 21 11:13:36 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* decl.c (predef_filenames, predef_filenames_size): New globals
(init_decl_processing): predef_filenames and predef_filenames_size
  initialized.
* java-tree.h (predef_filenames, predef_filenames_size): Declared
  extern.
* jcf-parse.c (predefined_filename_p): New function.
(yyparse): Check that files on the command line are specified only
  once and issue a warning otherwise.
* parse.h (JPRIMITIVE_TYPE_OR_VOID_P): New macro.
* parse.y (source_end_java_method): Nullify NOP method bodies, to
  avoid a gcc warning with -W -Wall turned on.
(java_expand_classes): Abort if errors were encountered.
(java_complete_lhs): If the cross reference flag is set, wrap
  field DECL node around a WFL when resolving expression name.

From-SVN: r26578

25 years agoString.java: Don't throw UnsupportedEncodingException.
Tom Tromey [Wed, 21 Apr 1999 12:12:39 +0000 (12:12 +0000)]
String.java: Don't throw UnsupportedEncodingException.

* java/lang/String.java: Don't throw
UnsupportedEncodingException.

From-SVN: r26577

25 years agogen-protos.c: #undef abort after including system.h.
Zack Weinberg [Wed, 21 Apr 1999 11:58:11 +0000 (11:58 +0000)]
gen-protos.c: #undef abort after including system.h.

1999-04-21 14:55 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* gen-protos.c: #undef abort after including system.h.
Delete defns of fancy_abort and fatal.
* fix-header.c: Delete defn of fancy_abort.

From-SVN: r26576

25 years agonatString.cc (getBytes): Correctly size result buffer.
Tom Tromey [Wed, 21 Apr 1999 11:49:39 +0000 (11:49 +0000)]
natString.cc (getBytes): Correctly size result buffer.

* java/lang/natString.cc (getBytes): Correctly size result
buffer.  From Bryce McKinlay <bryce@albatross.co.nz>.

From-SVN: r26575

25 years agoos_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.
Tom Tromey [Wed, 21 Apr 1999 09:42:28 +0000 (09:42 +0000)]
os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.

* os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
sigcontext.h.  From Matthias Klose <doko@itso.de>.

From-SVN: r26574

25 years agocccp.c (simplify_filename): Always preserve leading double slash.
Mumit Khan [Wed, 21 Apr 1999 09:11:15 +0000 (09:11 +0000)]
cccp.c (simplify_filename): Always preserve leading double slash.

Wed Apr 21 12:09:38 1999  Mumit Khan  <khan@xraylith.wisc.edu>
* cccp.c (simplify_filename): Always preserve leading double slash.

From-SVN: r26573

25 years agoDaily bump.
Jeff Law [Wed, 21 Apr 1999 00:45:34 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26572

25 years ago* config/c4x/c4x.md: Add new peepholes to remove redundant loads.
Michael Hayes [Tue, 20 Apr 1999 23:18:44 +0000 (23:18 +0000)]
* config/c4x/c4x.md: Add new peepholes to remove redundant loads.

From-SVN: r26571

25 years agoc4x.md (binary patterns): Reorder alternatives so that two operand instructions are...
Michael Hayes [Tue, 20 Apr 1999 23:12:27 +0000 (23:12 +0000)]
c4x.md (binary patterns): Reorder alternatives so that two operand instructions are chosen before three...

* config/c4x/c4x.md (binary patterns): Reorder alternatives
so that two operand instructions are chosen before three operand
instructions.

From-SVN: r26570

25 years agoMake-lang.in (objc-parse.c): Put BISON parameters in correct order.
Nathan Sidwell [Tue, 20 Apr 1999 22:47:49 +0000 (22:47 +0000)]
Make-lang.in (objc-parse.c): Put BISON parameters in correct order.

        * objc/Make-lang.in (objc-parse.c): Put BISON parameters in correct
        order.

From-SVN: r26569

25 years agoMake-lang.in (c-parse.c): Put BISON parameters in correct order.
Nathan Sidwell [Tue, 20 Apr 1999 22:43:31 +0000 (22:43 +0000)]
Make-lang.in (c-parse.c): Put BISON parameters in correct order.

        * Make-lang.in (c-parse.c): Put BISON parameters in correct
        order.
Thanks.  Installed.

From-SVN: r26568

25 years agoMake-lang.in (ch/chill.info): Put MAKEINFO parameters in correct order.
Nathan Sidwell [Tue, 20 Apr 1999 22:40:41 +0000 (22:40 +0000)]
Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct order.

        * Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct
        order.

From-SVN: r26567

25 years agocp-tree.h (build_binary_op): Remove unneeded parameter.
Mark Mitchell [Tue, 20 Apr 1999 21:48:52 +0000 (21:48 +0000)]
cp-tree.h (build_binary_op): Remove unneeded parameter.

* cp-tree.h (build_binary_op): Remove unneeded parameter.
* class.c (build_vrable_entry_ref): Adjust call to
build_binary_op.
* decl.c (expand_static_init): Likewise.
(grokdeclarator): Likewise.
(finish_function): Likewise.
* decl2.c (delete_sanity): Likewise.
(do_dtors): Likewise.
(do_ctors): Likewise.
* error.c (dump_type_suffix): Likewise.
* expr.c (cplus_expand_expr): Likewise.
* init.c (resolve_offset_ref): Likewise.
(build_new): Likewise.
(build_new_1): Likewise.
(build_vec_delete_1): Likewise.
(expand_vec_init_catch_clause): Likewise.
(build_delete): Likewise.
* pt.c (tsubst): Likewise.
* rtti.c (synthesize_tinfo_fn): Likewise.
* search.c (expand_upcast_fixups): Likewise.
(expand_direct_vtbls_init): Likewise.
* typeck.c (get_member_function_from_ptrfunc): Likewise.
(build_binary_op_nodefault): Likewise.
(point_int_sum): Likewise.
(pointer_diff): Likewise.
(build_unary_op): Likewise.
(build_modify_expr): Likewise.
(get_delta_difference): Likewise.
(build_ptrmemfunc): Likewise.
(expand_ptrmemfunc_cst): Likewise.

From-SVN: r26566

25 years agoalpha.md (nt_lda): New pattern.
Richard Henderson [Tue, 20 Apr 1999 16:44:09 +0000 (09:44 -0700)]
alpha.md (nt_lda): New pattern.

        * alpha.md (nt_lda): New pattern.
        * alpha.c (alpha_expand_prologue): Use it for large frames
        under windows nt.

From-SVN: r26565

25 years agoarm.md (movhi): Add check for odd offset.
Catherine Moore [Tue, 20 Apr 1999 16:42:31 +0000 (16:42 +0000)]
arm.md (movhi): Add check for odd offset.

Tue Apr 20 17:57:14 1999  Catherine Moore  <clm@cygnus.com>
        * config/arm/arm.md (movhi):  Add check for odd offset.

From-SVN: r26564

25 years ago*** empty log message ***
Jim Blandy [Tue, 20 Apr 1999 11:02:02 +0000 (11:02 +0000)]
*** empty log message ***

From-SVN: r26563

25 years agoFix from Dale Hawkins:
Jim Blandy [Tue, 20 Apr 1999 11:00:27 +0000 (11:00 +0000)]
Fix from Dale Hawkins:

* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
reallocated properly if we use it again.
* cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
stricter about syntax.  Always null-terminate string.

From-SVN: r26562

25 years agoi386.c (output_move_double): Abort if a non-offsettable memory operand is encountered.
John Wehle [Tue, 20 Apr 1999 10:18:33 +0000 (10:18 +0000)]
i386.c (output_move_double): Abort if a non-offsettable memory operand is encountered.

* i386.c (output_move_double): Abort if a non-offsettable
memory operand is encountered.  Delete unused code.
(find_addr_reg): Remove.

From-SVN: r26561

25 years agosparc-signal.h: new file.
Andrew Haley [Tue, 20 Apr 1999 06:27:11 +0000 (06:27 +0000)]
sparc-signal.h: new file.

1999-04-20  Andrew Haley  <aph@cygnus.com>
        * include/sparc-signal.h: new file.
        * configure.in: include/sparc-signal.h added.
        * configure: regenerated.
        * prims.cc (JvRunMain): signal handling code rewritten to be more
        portable.
        (catch_segv): ditto.
        (catch_fpe): ditto.
        * include/i386-signal.h: reorganized.
        * include/default-signal.h: reorganized.

From-SVN: r26560

25 years agonew
Jason Merrill [Tue, 20 Apr 1999 01:21:00 +0000 (21:21 -0400)]
new

From-SVN: r26559

25 years agodecl.c (grokfndecl): Always call cplus_decl_attributes.
Jason Merrill [Tue, 20 Apr 1999 01:20:07 +0000 (01:20 +0000)]
decl.c (grokfndecl): Always call cplus_decl_attributes.

* decl.c (grokfndecl): Always call cplus_decl_attributes.
* decl2.c (grokfield): Pass attrlist to grokdeclarator.

From-SVN: r26558

25 years agoDaily bump.
Jeff Law [Tue, 20 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26557

25 years agoupdate BUGS, INSTALL, NEWS derived files
Craig Burley [Mon, 19 Apr 1999 22:43:40 +0000 (18:43 -0400)]
update BUGS, INSTALL, NEWS derived files

From-SVN: r26556

25 years agoclarify -malign-double situation
Craig Burley [Mon, 19 Apr 1999 22:42:00 +0000 (22:42 +0000)]
clarify -malign-double situation

From-SVN: r26555

25 years agoFix DATA repeat-count bug
Craig Burley [Mon, 19 Apr 1999 22:27:05 +0000 (22:27 +0000)]
Fix DATA repeat-count bug

From-SVN: r26554

25 years agofix DO WHILE
Craig Burley [Mon, 19 Apr 1999 21:38:54 +0000 (21:38 +0000)]
fix DO WHILE

From-SVN: r26553

25 years agonew tests, derived from bug-reports from Toon and Tim
Craig Burley [Mon, 19 Apr 1999 21:29:25 +0000 (21:29 +0000)]
new tests, derived from bug-reports from Toon and Tim

From-SVN: r26552

25 years agofix typo in comment
Craig Burley [Mon, 19 Apr 1999 18:16:33 +0000 (18:16 +0000)]
fix typo in comment

From-SVN: r26551

25 years agolang.c (lang_decode_option): Fixed returned value when parsing `-fxref=...' and ...
Alexandre Petit-Bianco [Mon, 19 Apr 1999 15:45:57 +0000 (15:45 +0000)]
lang.c (lang_decode_option): Fixed returned value when parsing `-fxref=...' and `-Wall'.

Mon Apr 19 14:44:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* lang.c (lang_decode_option): Fixed returned value when parsing
  `-fxref=...' and `-Wall'.
* parse.y (source_end_java_method): Do not generate code when
  flag_emit_xref is set.
(resolve_expression_name): Do not build static field access when
  flag_emit_xref is set.
(resolve_field_access): No special treatement on `length' when
  flag_emit_xref is set. Do not build qualified static field access
  when flag_emit_xref is set.
(patch_invoke): Keep the method DECL as operand 0 of the CALL_EXPR
  when flag_emit_xref is set.
(patch_assignment): Do not generate array store runtime check when
  flag_emit_xref is set.
* xref.c (xref_flag_value): Fixed function declaration
  indentation.
(xset_set_data): New function.
* xref.h (xref_set_data): Added prototype for new function.
(typedef struct xref_flag_table): New field data.
(XREF_GET_DATA): New macro.

From-SVN: r26550

25 years agoBack out accidental commit of unrelated patch
Zack Weinberg [Mon, 19 Apr 1999 15:23:57 +0000 (15:23 +0000)]
Back out accidental commit of unrelated patch

From-SVN: r26549

25 years agocp-tree.h (finish_static_data_member_decl): New function.
Mark Mitchell [Mon, 19 Apr 1999 12:23:55 +0000 (12:23 +0000)]
cp-tree.h (finish_static_data_member_decl): New function.

* cp-tree.h (finish_static_data_member_decl): New function.
* decl2.c (finish_static_data_member_decl): Split out from ...
(grokfield): Here.
* pt.c (instantiate_class_template): Use it here instead of
trying to fake it.
(tsubst_decl): Don't set DECL_ASSEMBLER_NAME;
finish_static_data_member_decl will do that.  Explicit set
DECL_EXTERNAL to match non-template processing.

From-SVN: r26548

25 years agocpplib.c (output_line_command): Drop CONDITIONAL argument.
Zack Weinberg [Mon, 19 Apr 1999 11:55:04 +0000 (11:55 +0000)]
cpplib.c (output_line_command): Drop CONDITIONAL argument.

1999-04-19 14:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cpplib.c (output_line_command): Drop CONDITIONAL argument.
We can omit unnecessary line commands if file_change ==
same_file and pfile->lineno != 0.  All callers changed.
(cpp_get_token [case '\n']): Don't bump pfile->lineno if
CPP_OPTIONS (pfile)->no_line_commands is set.
* cpplib.h: Fix prototype of output_line_command.

From-SVN: r26547

25 years agoxref.h (enum): Removed trailing comma.
Tom Tromey [Mon, 19 Apr 1999 10:20:27 +0000 (10:20 +0000)]
xref.h (enum): Removed trailing comma.

* xref.h (enum): Removed trailing comma.
* parse.y (resolve_qualified_expression_name): Added missing
`break'.

From-SVN: r26546

25 years agonatSystem.cc (init_properties): Only declare pwd_entry once.
Tom Tromey [Mon, 19 Apr 1999 09:43:18 +0000 (09:43 +0000)]
natSystem.cc (init_properties): Only declare pwd_entry once.

* java/lang/natSystem.cc (init_properties): Only declare pwd_entry
once.  From Anthony Green.

From-SVN: r26545

25 years agoMakefile.in: Processed with new automake.
Andrew Haley [Mon, 19 Apr 1999 07:57:04 +0000 (07:57 +0000)]
Makefile.in: Processed with new automake.

1999-04-19  Andrew Haley  <aph@cygnus.com>
        * Makefile.in: Processed with new automake.

From-SVN: r26544

25 years ago* include/javaprims.h: Removed security namespace.
Tom Tromey [Mon, 19 Apr 1999 07:48:02 +0000 (07:48 +0000)]
* include/javaprims.h: Removed security namespace.

From-SVN: r26543

25 years agoDaily bump.
Jeff Law [Mon, 19 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26542

25 years ago* java/io/PrintStream.java (println): Remove extra println.
Anthony Green [Sun, 18 Apr 1999 22:22:44 +0000 (22:22 +0000)]
* java/io/PrintStream.java (println): Remove extra println.

From-SVN: r26541

25 years agofix crashes on I/O statements involving COMMON variables
Craig Burley [Sun, 18 Apr 1999 18:58:04 +0000 (18:58 +0000)]
fix crashes on I/O statements involving COMMON variables

From-SVN: r26540

25 years agocppfiles.c (find_position, [...]): Use `unsigned long' variables consistently to...
Zack Weinberg [Sun, 18 Apr 1999 14:54:35 +0000 (14:54 +0000)]
cppfiles.c (find_position, [...]): Use `unsigned long' variables consistently to count line and column numbers.

1999-04-18 17:46 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cppfiles.c (find_position, read_and_prescan): Use `unsigned
long' variables consistently to count line and column numbers.

From-SVN: r26539

25 years agooutput.h (current_function_is_leaf, [...]): Declare.
John Wehle [Sun, 18 Apr 1999 13:09:37 +0000 (13:09 +0000)]
output.h (current_function_is_leaf, [...]): Declare.

* output.h (current_function_is_leaf,
current_function_uses_only_leaf_regs): Declare.
* function.c (current_function_is_leaf,
current_function_uses_only_leaf_regs): Define.
(init_function_start): Initialize current_function_is_leaf
and current_function_uses_only_leaf_regs.
* final.c (leaf_function): Don't define.
(final_start_function): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* toplev.c (rest_of_compilation): Set current_function_is_leaf
prior to invoking local register allocation.
(rest_of_compilation): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* dbxout.c (dbxout_symbol, dbxout_parms): Likewise.
* dwarf2out.c (add_location_or_const_vaule_attribute): Likewise.
* dwarfout.c (add_location_or_const_value_attribute): Likewise.
* sdbout.c (sdbout_symbol): Likewise.
* sparc.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
* sparc.c (eligible_for_epilogue_delay, output_return,
sparc_return_peephole_ok): Likewise.
* sparc.md (leaf_function attribute, untyped_return): Likewise.
* i386.c (ix86_compute_frame_size): Don't align the stack
for leaf functions which don't allocate any stack slots.
* tm.texi: Update documentation.

From-SVN: r26538

25 years agocp-tree.h (finish_class_definition): Add parameter.
Mark Mitchell [Sun, 18 Apr 1999 10:58:42 +0000 (10:58 +0000)]
cp-tree.h (finish_class_definition): Add parameter.

* cp-tree.h (finish_class_definition): Add parameter.
* parse.y (structsp): Use it.  Don't call pop_scope here.
* parse.c: Regenerated.
* semantics.c (finish_class_definition): Pop it here.

From-SVN: r26537

25 years agoMakefile.in: Rebuilt.
Anthony Green [Sun, 18 Apr 1999 08:24:30 +0000 (08:24 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add new security files.
* java/security/NoSuchAlgorithmException.java,
java/security/MessageDigest.java: New files.
* include/javaprims.h: Add security namespace.

From-SVN: r26536

25 years agoBump for snapshot
Jeffrey A Law [Sun, 18 Apr 1999 02:15:18 +0000 (20:15 -0600)]
Bump for snapshot

From-SVN: r26534

25 years agoMisapplied patch.
Richard Henderson [Sun, 18 Apr 1999 01:35:07 +0000 (18:35 -0700)]
Misapplied patch.

From-SVN: r26533

25 years agoDaily bump.
Jeff Law [Sun, 18 Apr 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26532

25 years agoalpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure FP_BASE_P...
Richard Henderson [Sun, 18 Apr 1999 00:10:06 +0000 (17:10 -0700)]
alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure FP_BASE_P registers are only used with an integer.

        * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change --
        make sure FP_BASE_P registers are only used with an integer.

From-SVN: r26531

25 years agoalpha.h (REG_OK_FP_BASE_P): New macro.
Richard Henderson [Sat, 17 Apr 1999 23:31:34 +0000 (16:31 -0700)]
alpha.h (REG_OK_FP_BASE_P): New macro.

        * alpha.h (REG_OK_FP_BASE_P): New macro.
        (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Use it.
        * alpha.md (adddi3+1): New insn to handle large constants off
        the soft frame pointer.
        (adddi3+2): Don't split soft frame pointer or arg pointer additions.

From-SVN: r26530

25 years agoc4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile forcing...
Michael Hayes [Sat, 17 Apr 1999 22:27:41 +0000 (22:27 +0000)]
c4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile forcing a constant into a register.

* config/c4x/c4x.c (legitimize_operands): Use rtx_cost
to determine if it is worthwhile forcing a constant into a register.
* config/c4x/c4x.h (CONST_COSTS): An integer value of 255 or 65535
used with a logical and or an integer value of 16 or 24 used with
a right shift has zero cost on the C40.

From-SVN: r26529

25 years agoBernd Schmidt <crux@pool.informatik.rwth-aachen.de>
Bernd Schmidt [Sat, 17 Apr 1999 21:33:24 +0000 (21:33 +0000)]
Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>

Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
        * gcse.c (compute_local_properties): If setp is nonzero, clear
        TRANSP instead of setting it to all ones.

From-SVN: r26528

25 years agoi386.c (i386_preferred_stack_boundary_string): New global variable.
Jan Hubicka [Sat, 17 Apr 1999 21:13:53 +0000 (23:13 +0200)]
i386.c (i386_preferred_stack_boundary_string): New global variable.

        * i386.c (i386_preferred_stack_boundary_string): New global variable.
        (i386_preferred_stack_boundary): New global variable.
        (override_functions): Set it.  Tidy option setting code.
        * i386.h (TARGET_OPTIONS): New command line option.
        (i386_preferred_stack_boundary_string): Declare it.
        (i386_preferred_stack_boundary): Likewise.
        (PREFERRED_STACK_BOUNDARY): Use i386_preferred_stack_boundary.

From-SVN: r26527

25 years ago* i386.c (k6_cost): Take into account the decoding time.
Jan Hubicka [Sat, 17 Apr 1999 19:23:54 +0000 (21:23 +0200)]
* i386.c (k6_cost): Take into account the decoding time.

From-SVN: r26526

25 years agoDonn Terry <donn@interix.com>
Richard Henderson [Sat, 17 Apr 1999 19:15:29 +0000 (12:15 -0700)]
Donn Terry <donn@interix.com>

Donn Terry  <donn@interix.com>
        * i386.h (PRINT_OPERAND_PUNCT_VALID_P): Allow _.
        * i386.c (print_operand): New %_ operator.
        (load_pic_register): Proper number of leading _ in GOT literal.
        * i386.md (prologue_get_pc_and_set_got): Likewise.
        * i386/unix.h (ASM_OUTPUT_MI_THUNK): Likewise.

From-SVN: r26525