gcc.git
25 years agoconfigure.in (interix Alpha): Add.
Donn Terry [Tue, 13 Apr 1999 22:02:20 +0000 (22:02 +0000)]
configure.in (interix Alpha): Add.

* configure.in(interix Alpha): Add.
* configure.in(winnt Alpha): Use alpha32.h
* configure.in(interix i386): Parallel Alpha32.
* config/interix.h: Move common elements from i386-interix.h.
* config/i386/i386-interix.h: Delete same.
* config/alpha/alpha-interix.h: New file
* config/alpha/alpha32.h: New file, part fron win-nt.h.
* config/alpha/win-nt.h: Deletions (-> alpha32.h).
* config/alpha/interix.h:  New file
* config/alpha/alpha.md (interix): Comment.
* config/alpha/xm-alpha-interix.h: New file.
        * config/alpha/t-interix: New file.
* fixinc/mkfixinc.sh (interix/Alpha): Add.

Co-Authored-By: Martin Heller <Ing.-Buero_Heller@t-online.de>
From-SVN: r26424

25 years agoconfig.guess (interix Alpha): Add.
Donn Terry [Tue, 13 Apr 1999 21:55:39 +0000 (21:55 +0000)]
config.guess (interix Alpha): Add.

        * config.guess (interix Alpha): Add.

Co-Authored-By: Martin Heller <Ing.-Buero_Heller@t-online.de>
From-SVN: r26423

25 years agovxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.
Mike Stump [Tue, 13 Apr 1999 21:30:32 +0000 (21:30 +0000)]
vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.

        * i386/vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.
        (CPP_PREDEFINES, LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): likewise.

From-SVN: r26422

25 years agotree.c (cp_valid_lang_attribute): New fn.
Jason Merrill [Tue, 13 Apr 1999 21:28:25 +0000 (21:28 +0000)]
tree.c (cp_valid_lang_attribute): New fn.

* tree.c (cp_valid_lang_attribute): New fn.  Handle init_priority
and com_interface.
* cp-tree.h: Add prototype.
* decl.c (init_decl_processing): Set valid_lang_attribute.

From-SVN: r26421

25 years agoclass.c (finish_struct_1): Look at the const-ness of the field's type...
Mark Mitchell [Tue, 13 Apr 1999 21:20:49 +0000 (21:20 +0000)]
class.c (finish_struct_1): Look at the const-ness of the field's type...

* class.c (finish_struct_1): Look at the const-ness of the field's
type, not the TREE_READONLY-ness of the declaration.
* method.c (synthesize_method): Likewise.
* pt.c (tsubst_decl): Call c_apply_type_quals_to_decl when
creating new declarations.

From-SVN: r26420

25 years agoc-common.c (default_valid_lang_attribute): New fn.
Jason Merrill [Tue, 13 Apr 1999 21:04:06 +0000 (21:04 +0000)]
c-common.c (default_valid_lang_attribute): New fn.

* c-common.c (default_valid_lang_attribute): New fn.
(valid_lang_attribute): New callback ptr.
(decl_attributes): Call it.  Move init_priority support into
C++ frontend.

From-SVN: r26419

25 years agoFix typo in ChangeLog.
Jeff Law [Tue, 13 Apr 1999 20:24:51 +0000 (14:24 -0600)]
Fix typo in ChangeLog.

From-SVN: r26418

25 years agoFix up spelling and formatting.
Mike Stump [Tue, 13 Apr 1999 19:38:08 +0000 (19:38 +0000)]
Fix up spelling and formatting.

From-SVN: r26417

25 years agodecl2.c (import_export_decl): Because vtables always reference virtual functions...
Mike Stump [Tue, 13 Apr 1999 18:09:57 +0000 (18:09 +0000)]
decl2.c (import_export_decl): Because vtables always reference virtual functions...

* decl2.c (import_export_decl): Because vtables always reference
virtual functions, even if they are inlined, don't allow
-fno-implement-inlines to not emit them, instead, emit them with
the vtable.
* decl.c (start_function): Likewise.
Fixes vtable1.C

From-SVN: r26416

25 years agoJohn Wehle (john@feith.com)
John Wehle [Tue, 13 Apr 1999 17:47:40 +0000 (17:47 +0000)]
John Wehle (john@feith.com)

John Wehle  (john@feith.com)
        * i386.md (movdi): Add splitter.

From-SVN: r26415

25 years agoRevert one over-aggressive "0" -> "%%r0" conversion ;-)
Jeff Law [Tue, 13 Apr 1999 17:00:28 +0000 (11:00 -0600)]
Revert one over-aggressive "0" -> "%%r0" conversion ;-)

From-SVN: r26414

25 years agoc4x.md (storeqf_int, [...]): Add new patterns with corresponding splitters to handle...
Michael Hayes [Tue, 13 Apr 1999 15:38:12 +0000 (15:38 +0000)]
c4x.md (storeqf_int, [...]): Add new patterns with corresponding splitters to handle moves of floating point...

* config/c4x/c4x.md (storeqf_int, storeqf_int_clobber, loadqf_int,
  loadqf_int_clobber): Add new patterns with corresponding splitters
  to handle moves of floating point values into and out of intager
  registers by using memory.
* config/c4x/c4x.c (c4x_check_legit_addr): Disallow PRE_INC for modes
other than QFmode and QImode.
(mixed_subreg_operand): New function.
(c4x_emit_move_sequence): If moving a floating point value into or
out of an integer register, use the new patterns storeqf_int_clobber
or loadqf_int_clobber.
(reg_imm_operand, *_reg_operand): Call reg_operand instead of
register_operand.
(reg_operand, src_operand): Disallow operand if it satisifes
mixed_subreg_operand.
* config/c4x/c4x.h (mixed_subreg_operand): Add prototype.

From-SVN: r26413

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Tue, 13 Apr 1999 14:50:49 +0000 (16:50 +0200)]
Jan Hubicka <hubicka@freesoft.cz>

Jan Hubicka <hubicka@freesoft.cz>
        * i386.c (agi_dependent): Handle push operation more correctly.

From-SVN: r26412

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Tue, 13 Apr 1999 14:46:47 +0000 (16:46 +0200)]
Jan Hubicka <hubicka@freesoft.cz>

Jan Hubicka <hubicka@freesoft.cz>
        * i386.md (anddi3): Add % constraint.
        (iordi3, xordi3): Likewise.

From-SVN: r26411

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Tue, 13 Apr 1999 14:43:53 +0000 (16:43 +0200)]
Jan Hubicka <hubicka@freesoft.cz>

Jan Hubicka <hubicka@freesoft.cz>
        * i386.md (extendhisi2): Output mov instead of cw instruction for K6
        to improve decoding bandwidth.
        * i386.md (extendhiqi2): Likewise.

From-SVN: r26410

25 years agopa.c: Avoid Using immediate zero for register zero.
Jeffrey A Law [Tue, 13 Apr 1999 14:34:06 +0000 (14:34 +0000)]
pa.c: Avoid Using immediate zero for register zero.

        * pa.c: Avoid Using immediate zero for register zero.
        * pa.md: Likewise.

From-SVN: r26409

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Tue, 13 Apr 1999 14:28:39 +0000 (16:28 +0200)]
Jan Hubicka <hubicka@freesoft.cz>

Jan Hubicka <hubicka@freesoft.cz>
        * i386.md (movsf_push): Handle memory to memory case too, new splitter.
        (movdf_push, movxf_push): Likewise.
        (movsf_push_memory, movdf_push_memory, movxf_push_memory): Remove.

From-SVN: r26408

25 years agoMakefile.in: Rebuilt.
Tom Tromey [Tue, 13 Apr 1999 14:28:15 +0000 (14:28 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
solaris-threads.h.

From-SVN: r26407

25 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Tue, 13 Apr 1999 14:15:46 +0000 (16:15 +0200)]
Jan Hubicka <hubicka@freesoft.cz>

Jan Hubicka <hubicka@freesoft.cz>
        * i386.md: Do not output mov %0,reg on AMD K6.

From-SVN: r26406

25 years agonatSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual eleme...
Tom Tromey [Tue, 13 Apr 1999 12:16:41 +0000 (12:16 +0000)]
natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual element type.

* java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray;
instead switch on actual element type.

From-SVN: r26405

25 years agopa.c: Use a register name...
Jeffrey A Law [Tue, 13 Apr 1999 12:10:07 +0000 (12:10 +0000)]
pa.c: Use a register name...

        * pa.c: Use a register name, not a raw immediate in branch,
        compare/clear, sub, subb, uaddcm and vshd instructions.
        * pa.md: Likewise.

From-SVN: r26404

25 years agopa.c: Use a register name, not a raw immediate in "bv" instructions.
Jeffrey A Law [Tue, 13 Apr 1999 11:31:35 +0000 (11:31 +0000)]
pa.c: Use a register name, not a raw immediate in "bv" instructions.

        * pa.c: Use a register name, not a raw immediate in "bv" instructions.
        * pa.md, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

From-SVN: r26403

25 years agoMakefile.in: Rebuilt.
Tom Tromey [Tue, 13 Apr 1999 10:54:14 +0000 (10:54 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (AM_MAKEFLAGS): Added JC1FLAGS.

From-SVN: r26402

25 years agocppinit.c (cpp_start_read): Fix buffer overwrite.
Dave Brolley [Tue, 13 Apr 1999 09:43:28 +0000 (09:43 +0000)]
cppinit.c (cpp_start_read): Fix buffer overwrite.

Tue Apr 13 12:14:07 1999  Dave Brolley  <brolley@cygnus.com>
* cppinit.c (cpp_start_read): Fix buffer overwrite.
* Makefile.in (cppinit.o): Typo in dependencies.

From-SVN: r26401

25 years agoi386-signal.h, [...]: New files.
Andrew Haley [Tue, 13 Apr 1999 09:18:09 +0000 (09:18 +0000)]
i386-signal.h, [...]: New files.

1999-04-13  Andrew Haley  <aph@cygnus.com>
        * include/i386-signal.h, include/default-signal.h: New files.
        * prims.cc (catch_segv): Call MAKE_THROW_FRAME in exception
        handler.
        (catch_fpe): New function.
        * configure.in: Make link to appropriate include/java-signal.h.
        * configure: Rebuilt.
        * Makefile.am: include/java-signal.h added to dependency list.
        * Makefile.in: Rebuilt.

From-SVN: r26400

25 years agoarm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined.
Richard Earnshaw [Tue, 13 Apr 1999 05:12:37 +0000 (05:12 +0000)]
arm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined.

* arm.h (function prototypes for arm.c): Ifdef these out if
HAVE_CONFIG_H is not defined.

From-SVN: r26399

25 years agopa.c: Remove space register specification in memory addresses...
Jeffrey A Law [Tue, 13 Apr 1999 01:13:07 +0000 (01:13 +0000)]
pa.c: Remove space register specification in memory addresses...

        * pa.c: Remove space register specification in memory addresses,
        except where it is actually needed.
        * pa.md, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

From-SVN: r26398

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

From-SVN: r26397

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

From-SVN: r26395

25 years agocp-tree.h (struct lang_type): Add com_interface.
Jason Merrill [Tue, 13 Apr 1999 00:39:32 +0000 (00:39 +0000)]
cp-tree.h (struct lang_type): Add com_interface.

* cp-tree.h (struct lang_type): Add com_interface.
(CLASSTYPE_COM_INTERFACE): New macro.
* class.c (set_rtti_entry): COM interface classes have no RTTI
entries in their vtables; adjust.
(add_virtual_function, finish_base_struct, skip_rtti_stuff,
modify_one_vtable, fixup_vtable_deltas1, override_one_vtable,
finish_struct_1): Likewise.
* decl2.c (mark_vtable_entries): Likewise.
* rtti.c (build_headof, get_tinfo_fn_dynamic): Likewise.
* search.c (get_abstract_virtuals_1, get_abstract_virtuals,
expand_upcast_fixups): Likewise.
* tree.c (debug_binfo): Likewise.

From-SVN: r26394

25 years agocp-tree.h (COMPARE_NO_ATTRIBUTES): New macro.
Jason Merrill [Tue, 13 Apr 1999 00:20:42 +0000 (00:20 +0000)]
cp-tree.h (COMPARE_NO_ATTRIBUTES): New macro.

* cp-tree.h (COMPARE_NO_ATTRIBUTES): New macro.
* typeck.c (comptypes): If we get it, ignore attributes.
* class.c (instantiate_type): Use BASELINK_P.  Change complain
parameter to flags; 2 means ignore attributes.
* call.c (build_op_delete_call): Pass it.

From-SVN: r26393

25 years agodecl.c (xref_tag): Only complain once about using a typedef-name with 'struct'.
Jason Merrill [Tue, 13 Apr 1999 00:10:42 +0000 (00:10 +0000)]
decl.c (xref_tag): Only complain once about using a typedef-name with 'struct'.

* decl.c (xref_tag): Only complain once about using a typedef-name
with 'struct'.  Downgrade to pedwarn.
* decl.c (grokdeclarator): Allow [] syntax for zero-length array.

From-SVN: r26392

25 years agoupdate comment
Jason Merrill [Tue, 13 Apr 1999 00:04:33 +0000 (20:04 -0400)]
update comment

From-SVN: r26391

25 years agoparse.y (absdcl_intern): New nonterminal.
Jason Merrill [Mon, 12 Apr 1999 23:57:36 +0000 (23:57 +0000)]
parse.y (absdcl_intern): New nonterminal.

* parse.y (absdcl_intern): New nonterminal.
(absdcl, direct_abstract_declarator): Use it.

From-SVN: r26390

25 years agonew
Jason Merrill [Mon, 12 Apr 1999 23:56:18 +0000 (19:56 -0400)]
new

From-SVN: r26389

25 years ago* stl_config.h (__MINGW32__): Mingw32 RTL lacks drand48.
Mumit Khan [Mon, 12 Apr 1999 23:37:24 +0000 (23:37 +0000)]
* stl_config.h (__MINGW32__): Mingw32 RTL lacks drand48.

From-SVN: r26388

25 years agoBump for snapshot
Jeffrey A Law [Mon, 12 Apr 1999 23:34:41 +0000 (17:34 -0600)]
Bump for snapshot

From-SVN: r26387

25 years ago* reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.
Jan Hubicka [Mon, 12 Apr 1999 23:25:38 +0000 (17:25 -0600)]
* reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.

From-SVN: r26386

25 years ago* libF77/getenv_.c: Include stdlib.h.
Mumit Khan [Mon, 12 Apr 1999 20:42:45 +0000 (20:42 +0000)]
* libF77/getenv_.c: Include stdlib.h.

From-SVN: r26385

25 years agoFix typo in subroutine check
Zack Weinberg [Mon, 12 Apr 1999 18:49:47 +0000 (18:49 +0000)]
Fix typo in subroutine check

From-SVN: r26384

25 years agog77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is null to decide whethe...
Mumit Khan [Mon, 12 Apr 1999 18:35:43 +0000 (18:35 +0000)]
g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is null to decide whether to use it.

        * g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
        null to decide whether to use it.

From-SVN: r26383

25 years agoparse.y (patch_unaryop): Fix ++ operator check on array references.
Alexandre Petit-Bianco [Mon, 12 Apr 1999 18:32:22 +0000 (18:32 +0000)]
parse.y (patch_unaryop): Fix ++ operator check on array references.

Mon Apr 12 18:27:32 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (patch_unaryop): Fix ++ operator check on array
  references.

From-SVN: r26382

25 years agoDataInputStream.java (readLine): Corrected handling of empty lines, from null to "".
Urban Widmark [Mon, 12 Apr 1999 18:27:56 +0000 (20:27 +0200)]
DataInputStream.java (readLine): Corrected handling of empty lines, from null to "".

1999-04-12  Urban Widmark <urban@svenskatest.se>
* java/io/DataInputStream.java (readLine): Corrected handling of
empty lines, from null to "".

From-SVN: r26381

25 years agofiledoalloc.c (_POSIX_SOURCE): Remove definition.
Mumit Khan [Mon, 12 Apr 1999 18:27:53 +0000 (18:27 +0000)]
filedoalloc.c (_POSIX_SOURCE): Remove definition.

        * filedoalloc.c (_POSIX_SOURCE): Remove definition.
        * fileops.c (_POSIX_SOURCE): Likewise.
        * iopopen.c (_POSIX_SOURCE): Likewise.
        * procbuf.cc (_POSIX_SOURCE): Likewise.
        * libioP.h (_POSIX_SOURCE): And define it here.
        * stdiostream.cc: Include libioP.h before others.

From-SVN: r26380

25 years ago* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Add missing backslash.
Daniel Jacobowitz [Mon, 12 Apr 1999 18:22:02 +0000 (18:22 +0000)]
* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Add missing backslash.

From-SVN: r26379

25 years agocygwin.h (SUBTARGET_SWITCHES): Add -mconsole; fix -mno-nop-fun-dllimport and minor...
Mumit Khan [Mon, 12 Apr 1999 18:18:06 +0000 (18:18 +0000)]
cygwin.h (SUBTARGET_SWITCHES): Add -mconsole; fix -mno-nop-fun-dllimport and minor doc fixes.

        * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mconsole; fix
        -mno-nop-fun-dllimport and minor doc fixes.
        (STARTFILE_SPEC): Cygwin DLLs don't have dllcrt0.
        (LINK_SPEC): Add -mconsole support.
        * i386/mingw32.h (LIB_SPEC): Make libraries consistent with
        Cygwin.
        (LINK_SPEC): Remove. Use Cygwin's version.
        (MATH_LIBRARY): Make it null.
        * i386/crtdll.h (MATH_LIBRARY): Likewise.

From-SVN: r26378

25 years agoDocument -mcpu=k6.
Richard Henderson [Mon, 12 Apr 1999 16:14:48 +0000 (09:14 -0700)]
Document -mcpu=k6.

From-SVN: r26377

25 years agoc-decl.c (c_decode_option, [...]): Recognize -Wno-main so we can avoid warnings.
Stan Cox [Mon, 12 Apr 1999 14:05:29 +0000 (14:05 +0000)]
c-decl.c (c_decode_option, [...]): Recognize -Wno-main so we can avoid warnings.

* c-decl.c (c_decode_option, start_decl, start_function,
finish_function) : Recognize -Wno-main so we can avoid warnings.

From-SVN: r26376

25 years agoMakefile.in: Rebuilt.
Tom Tromey [Mon, 12 Apr 1999 12:46:01 +0000 (12:46 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (libgcj.zip): Put `gnu' classes into zip file.

From-SVN: r26375

25 years ago*** empty log message ***
Jim Blandy [Mon, 12 Apr 1999 12:36:31 +0000 (12:36 +0000)]
*** empty log message ***

From-SVN: r26374

25 years agoFix from Marcus Daniels:
Jim Blandy [Mon, 12 Apr 1999 12:36:00 +0000 (12:36 +0000)]
Fix from Marcus Daniels:

* cplus-dem.c (demangle_fund_type): Don't run off the end of the
identifier looking for another underscore.

From-SVN: r26373

25 years agonatSystem.cc (SystemClass): New define.
Tom Tromey [Mon, 12 Apr 1999 12:34:41 +0000 (12:34 +0000)]
natSystem.cc (SystemClass): New define.

* java/lang/natSystem.cc (SystemClass): New define.
(init_properties): Synchronize.

From-SVN: r26372

25 years agocpphash.c (collect_expansion, [...]): Make the escape character in macro buffers...
Zack Weinberg [Mon, 12 Apr 1999 12:03:10 +0000 (12:03 +0000)]
cpphash.c (collect_expansion, [...]): Make the escape character in macro buffers '\r', not '@'.

1999-04-12 14:55 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cpphash.c (collect_expansion, macroexpand,
push_macro_expansion): Make the escape character in macro
buffers '\r', not '@'.  Remove code to protect literal
occurences of the escape character; '\r' cannot appear
in a macro buffer unless we put it there.
* cpplib.c (skip_comment, copy_comment, cpp_skip_hspace,
copy_rest_of_line, cpp_get_token, parse_string,
parse_assertion): '\r' might be a backslash-newline marker, or
it might be a macro escape marker, depending on
CPP_BUFFER (pfile)->has_escapes.  '@' is not a special
character.
* cpplib.h: Update commentary.

From-SVN: r26371

25 years ago* pt.c (lookup_template_class): Look through implict typename.
Jason Merrill [Mon, 12 Apr 1999 10:54:06 +0000 (10:54 +0000)]
* pt.c (lookup_template_class): Look through implict typename.

From-SVN: r26370

25 years agonew
Jason Merrill [Mon, 12 Apr 1999 10:53:36 +0000 (06:53 -0400)]
new

From-SVN: r26369

25 years agoarm.h (target_fp_name, [...]): Const-ify.
Richard Earnshaw [Mon, 12 Apr 1999 09:43:37 +0000 (09:43 +0000)]
arm.h (target_fp_name, [...]): Const-ify.

* arm.h (target_fp_name, structure_size_string, arm_cpu_select):
Const-ify.
* arm.c (target_fp_name, structure_size_string): Const-ify.
* arm.md (reload_inhi, reload_outhi): Make the scratch DImode.
* arm.c (arm_reload_in_hi): Handle cases when the input is still
a pseudo, make use of scratch registers for reloading the address
as appropriate.
(arm_reload_outhi): Similarly for when the output is still a pseudo.
* riscix.h (SUBTARGET_SWITCHES): Document.

From-SVN: r26368

25 years agomake fixincludes behave like the scripts in fixinc/
Bruce Korb [Mon, 12 Apr 1999 07:28:13 +0000 (07:28 +0000)]
make fixincludes behave like the scripts in fixinc/

From-SVN: r26367

25 years agoensure the SHELL value is that of the make
Bruce Korb [Mon, 12 Apr 1999 07:21:36 +0000 (07:21 +0000)]
ensure the SHELL value is that of the make

From-SVN: r26366

25 years agofixincl work
Bruce Korb [Mon, 12 Apr 1999 07:18:18 +0000 (07:18 +0000)]
fixincl work

From-SVN: r26365

25 years agoregenerated
Bruce Korb [Mon, 12 Apr 1999 07:12:21 +0000 (07:12 +0000)]
regenerated

From-SVN: r26364

25 years ago1. the file name lists ought to be restricted to "*.h" anyway 2. C++ files may be...
Bruce Korb [Mon, 12 Apr 1999 07:11:20 +0000 (07:11 +0000)]
1. the file name lists ought to be restricted to "*.h" anyway 2. C++ files may be named .../[a-z]++/...

1.  the file name lists ought to be restricted to "*.h" anyway
2.  C++ files may be named .../[a-z]++/... also
3.  the original egrep pattern was not finding "__MIPSEL".
    I am not enough of a regexp person to know why.
4.  Adding copyright year and attribution to output
5.  Add copyright date and attribution
6.  Clarify a bunch of comments
7.  Remove dead template text
8.  Correct the counting of regular expressions

From-SVN: r26363

25 years agoalpha.c (aligned_memory_operand): Handle out of range stack slots.
Richard Henderson [Mon, 12 Apr 1999 03:11:37 +0000 (20:11 -0700)]
alpha.c (aligned_memory_operand): Handle out of range stack slots.

        * alpha.c (aligned_memory_operand): Handle out of range stack slots.
        Take a new SCRATCH argument for the occasion.  Update all callers.
        (get_unaligned_address): Abort on out of range stack slots.
        * alpha.md (adddi3 splitter): Check s_p_rtx not REGNO.
        (reload_inqi): Check for aligned mems before unaligned.
        (reload_inhi): Likewise.

From-SVN: r26362

25 years agoflow.c (flow_delete_insn): If we delete a CODE_LABEL...
Jeffrey A Law [Mon, 12 Apr 1999 02:18:55 +0000 (02:18 +0000)]
flow.c (flow_delete_insn): If we delete a CODE_LABEL...

* flow.c (flow_delete_insn): If we delete a CODE_LABEL, also remove
it from the nonlocal_goto_handler_labels list.
* jump.c (delete_insn): Likewise.
(jump_optimize_1): Also recompute LABEL_NUSES when we are just
marking labels.
* rtl.h (remove_node_from_expr_list): Declare.
* rtlanal.c (remove_node_from_expr_list): New function.

From-SVN: r26361

25 years agoreg-stack.c: Update comment, include varray.h.
Jan Hubicka [Mon, 12 Apr 1999 01:39:00 +0000 (03:39 +0200)]
reg-stack.c: Update comment, include varray.h.

        * reg-stack.c: Update comment, include varray.h.
        (stack_regs_mentioned_data): New global variable.
        (check_stack_regs_mentioned): New function.
        (stack_regs_mentioned): New function.
        (reg_to_stack): Initialize and free stack_regs_mentioned_data,
        use stack_regs_mentioned.
        (record_asm_reg_life): Change insn type cache for changed insn.
        (record_reg_life): Do not change the insn mode.
        (emit_pop_insn): Likewise.
        (emit_swap_insn): Likewise.
        (move_for_stack_reg): Likewise.
        (stack_reg_life_analysis): Use stack_regs_mentioned.
        (emit_swap_insn): Likewise.
        (subst_stack_regs): Likewise.
        (convert_regs): Likewise.
        * jump.c (find_cross_jump): Use stack_regs_mentioned.
        * rtl.h (stack_regs_mentioned): Declare.

From-SVN: r26360

25 years agoForgot to cvs add this with Mumit's previous patch.
Jeff Law [Mon, 12 Apr 1999 01:26:16 +0000 (19:26 -0600)]
Forgot to cvs add this with Mumit's previous patch.

From-SVN: r26359

25 years agodtime_.c: Handle all variants of WIN32.
Mumit Khan [Mon, 12 Apr 1999 01:25:38 +0000 (01:25 +0000)]
dtime_.c: Handle all variants of WIN32.

        * libU77/dtime_.c: Handle all variants of WIN32.
        * libU77/etime_.c: Likewise.

From-SVN: r26358

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

From-SVN: r26357

25 years ago* integrate.c (INTEGRATE_THRESHOLD): Sync it with the comment.
Theodore Papadopoulo [Mon, 12 Apr 1999 00:03:02 +0000 (02:03 +0200)]
* integrate.c (INTEGRATE_THRESHOLD): Sync it with the comment.

From-SVN: r26356

25 years agoconfig-ml.in: On mips*-*-*...
Alexandre Oliva [Sun, 11 Apr 1999 23:00:24 +0000 (23:00 +0000)]
config-ml.in: On mips*-*-*...

        * config-ml.in: On mips*-*-*, if multidirs contains mabi=64, try to
        link a trivial program with -mabi=64.  If it fails, remove mabi=64
        from multidirs.

From-SVN: r26355

25 years ago* bitset: Re-install Alexandre's lost patch from 1998-11-27.
Jeffrey A Law [Sun, 11 Apr 1999 22:53:05 +0000 (22:53 +0000)]
* bitset: Re-install Alexandre's lost patch from 1998-11-27.

From-SVN: r26354

25 years agoaclocal.m4: New file.
Mumit Khan [Sun, 11 Apr 1999 22:35:17 +0000 (22:35 +0000)]
aclocal.m4: New file.

        * libU77/aclocal.m4: New file.
        * libU77/configure.in (LIBU77_HAVE_STRUCT_TIMEZONE): Add test.
        * libU77/acconfig.h (HAVE_STRUCT_TIMEZONE): Add macro.
        * libU77/datetime_c.c (G77_date_and_time_0): Use.
        * libU77/config.hin: Regenerate.
        * libU77/configure: Likewise.

From-SVN: r26353

25 years agopexecute.c: Change all references to __UWIN__ to _UWIN.
Mumit Khan [Sun, 11 Apr 1999 22:21:28 +0000 (22:21 +0000)]
pexecute.c: Change all references to __UWIN__ to _UWIN.

        * pexecute.c: Change all references to __UWIN__ to _UWIN.
        * xmalloc.c: Likewise.
        (xcalloc): UWIN has sbrk.
        (xrealloc): Fix guard macro.

From-SVN: r26352

25 years agofriend.c (add_friend): Deal gracefully with error_mark_node.
Mark Mitchell [Sun, 11 Apr 1999 18:48:27 +0000 (18:48 +0000)]
friend.c (add_friend): Deal gracefully with error_mark_node.

* friend.c (add_friend): Deal gracefully with error_mark_node.
* method.c (build_overload_value): Handle pointers-to-members as
template parameters.

From-SVN: r26351

25 years agocplus-dem.c (demangle_template_value_parm): Handle pointers-to-members.
Mark Mitchell [Sun, 11 Apr 1999 18:46:52 +0000 (18:46 +0000)]
cplus-dem.c (demangle_template_value_parm): Handle pointers-to-members.

* cplus-dem.c (demangle_template_value_parm): Handle
pointers-to-members.
(do_type): Handle template parameters as qualifiers.

From-SVN: r26350

25 years ago* decl.c (push_binding): Fix typo in comment.
Mark Mitchell [Sun, 11 Apr 1999 11:38:32 +0000 (11:38 +0000)]
* decl.c (push_binding): Fix typo in comment.

From-SVN: r26349

25 years agoForgot to check in.
Jeff Law [Sun, 11 Apr 1999 11:35:44 +0000 (05:35 -0600)]
Forgot to check in.

From-SVN: r26348

25 years ago* rtl.h (rtx_def): Update documentation for jump and call.
Mark Mitchell [Sun, 11 Apr 1999 10:23:56 +0000 (10:23 +0000)]
* rtl.h (rtx_def): Update documentation for jump and call.

From-SVN: r26347

25 years agojump.c (jump_optimize_1): Make the definition static to match the prototype.
Kaveh R. Ghazi [Sun, 11 Apr 1999 04:51:57 +0000 (04:51 +0000)]
jump.c (jump_optimize_1): Make the definition static to match the prototype.

        * jump.c (jump_optimize_1): Make the definition static to match
        the prototype.

From-SVN: r26346

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

From-SVN: r26345

25 years agoFix typo.
Jeff Law [Sun, 11 Apr 1999 00:34:02 +0000 (18:34 -0600)]
Fix typo.

From-SVN: r26344

25 years agoflow.c (life_analysis): New parameter remove_dead_code.
Jan Hubicka [Sat, 10 Apr 1999 22:53:08 +0000 (00:53 +0200)]
flow.c (life_analysis): New parameter remove_dead_code.

        * flow.c (life_analysis): New parameter remove_dead_code.
        (life_analysis_1): Likewise.
        (propagate_block): Likewise; use it.
        * output.h: Update prototype.
        * toplev.c: Update calls to life_analysis.

From-SVN: r26343

25 years agorecog.c (constrain_operands): Ignore unary operators when matching operands.
Jan Hubicka [Sat, 10 Apr 1999 22:16:29 +0000 (00:16 +0200)]
recog.c (constrain_operands): Ignore unary operators when matching operands.

        * recog.c (constrain_operands): Ignore unary operators when
        matching operands.  Recognize '5'..'9' as well.

From-SVN: r26342

25 years agoconfigure.in: Set target_cpu_default2 for target_alias k6.
Philipp Thomas [Sat, 10 Apr 1999 22:00:04 +0000 (22:00 +0000)]
configure.in: Set target_cpu_default2 for target_alias k6.

        * configure.in: Set target_cpu_default2 for target_alias k6.
        * i386.h (TARGET_SWITCHES): Remove no-<cpu> entries.
        (CC1_CPU_SPEC): Likewise.
        (CPP_CPU_DEFAULT_SPEC): Streamline definition.  Add K6 version.
        (CPP_K6_SPEC): New.
        (CPP_CPU_SPEC): Add K6 variant.
        (EXTRA_SPECS): Likewise.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r26341

25 years ago* config.sub: Set basic_machine to i586 when target_alias = k6-*.
Philipp Thomas [Sat, 10 Apr 1999 21:50:51 +0000 (21:50 +0000)]
* config.sub: Set basic_machine to i586 when target_alias = k6-*.

From-SVN: r26340

25 years agoflow.c (merge_blocks_nomove): Rewrite to properly handle two blocks that vanish entir...
Richard Henderson [Sat, 10 Apr 1999 21:06:47 +0000 (14:06 -0700)]
flow.c (merge_blocks_nomove): Rewrite to properly handle two blocks that vanish entirely during merging.

        * flow.c (merge_blocks_nomove): Rewrite to properly handle two
        blocks that vanish entirely during merging.

From-SVN: r26339

25 years agoi386.md (floatsisf2, [...]): Remove unused register constraints from the splitters.
John Wehle [Sat, 10 Apr 1999 17:18:08 +0000 (17:18 +0000)]
i386.md (floatsisf2, [...]): Remove unused register constraints from the splitters.

* i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
floatsixf2, floatdixf2, movsicc, movhicc, movsfcc, movdfcc,
movxfcc, movdicc): Remove unused register constraints from
the splitters.
* i386.md (fixuns_truncsfsi2, fixuns_truncdfsi2,
fixuns_truncxfsi2): Delete.
* reg-stack.c (delete_insn_for_stacker): Ensure that
the only side effects of a PARALLEL are clobbers.
(subst_stack_regs): Handle subst_stack_regs_pat deleting
a PARALLEL.
* i386.md (extendsfdf2, extenddfxf2,
extendsfxf2): Rewrite using a splitter.
* i386.c (output_op_from_reg): Remove.
* i386.h: Likewise.

From-SVN: r26338

25 years agoMake this test less fragile
Zack Weinberg [Sat, 10 Apr 1999 14:20:44 +0000 (14:20 +0000)]
Make this test less fragile

From-SVN: r26337

25 years agoAllow SUBREGs in place of REGs in soft_df_operand and di_operand
Nick Clifton [Sat, 10 Apr 1999 13:12:10 +0000 (13:12 +0000)]
Allow SUBREGs in place of REGs in soft_df_operand and di_operand

From-SVN: r26336

25 years agoerror.c (dump_type_real): If a typename is a template-id, put out the template arguments.
Mark Mitchell [Sat, 10 Apr 1999 10:51:09 +0000 (10:51 +0000)]
error.c (dump_type_real): If a typename is a template-id, put out the template arguments.

* error.c (dump_type_real): If a typename is a template-id, put
out the template arguments.
(dump_expr): Handle TEMPLATE_ID_EXPR.
* pt.c (lookup_template_class): Now that full arguments are
available everywhere, remove code that tried to guess them.

From-SVN: r26335

25 years agoextend.texi (Assembler Instructions with C Expression Operands): Document the i386...
Jan Hubicka [Sat, 10 Apr 1999 05:19:58 +0000 (07:19 +0200)]
extend.texi (Assembler Instructions with C Expression Operands): Document the i386 floating point operands.

        * extend.texi (Assembler Instructions with C Expression Operands):
        Document the i386 floating point operands.

From-SVN: r26334

25 years agoconfigure.in (*-*-vxworks): Add vxWorks thread support for all vxWorks targets.
Mike Stump [Sat, 10 Apr 1999 05:17:32 +0000 (05:17 +0000)]
configure.in (*-*-vxworks): Add vxWorks thread support for all vxWorks targets.

        * configure.in (*-*-vxworks): Add vxWorks thread support for all
        vxWorks targets.
        * configure.in (thumb-wrs-xvworks): Add vxWorks support for thumb.
        * configure: Rebuilt.

From-SVN: r26333

25 years agot-interix: Use mostly system headers unchanged.
Donn Terry [Sat, 10 Apr 1999 05:15:27 +0000 (05:15 +0000)]
t-interix: Use mostly system headers unchanged.

        * i386/t-interix: Use mostly system headers unchanged.
        Use system assert.h
        * fixinc/fixinc.interix: Ditto (make almost no-op).
        * config/x-interix.h (_ALL_SOURCE): add -D
        * config/x-interix.h (crti.o): Delete dependency.
        * config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping.
        * i386/xm-i386-interix.h: New file.
        * i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings.
        * i386/i386-interix.h: Renamed from interix.h.
        * configure.in (interix): Use new files.
        * configure: Rebuilt.

From-SVN: r26332

25 years agocccp.c (DIR_SEPARATOR): Move to the top of the file.
Mark Elbrecht [Sat, 10 Apr 1999 05:07:32 +0000 (05:07 +0000)]
cccp.c (DIR_SEPARATOR): Move to the top of the file.

        * cccp.c (DIR_SEPARATOR): Move to the top of the file.
        (is_dir_separator): New function.
        (simplify_filename): Use it.
Last bit of the dir separator patches.

From-SVN: r26331

25 years ago* i386/djgpp.h (SET_ASM_OP): Define.
Mark Elbrecht [Sat, 10 Apr 1999 04:34:36 +0000 (04:34 +0000)]
* i386/djgpp.h (SET_ASM_OP): Define.

From-SVN: r26330

25 years agosysv4.h (CPP_OS_LINUX_SPEC): Fix conditions for -Dunix and -Dlinux, and remove duplic...
Daniel Jacobowitz [Sat, 10 Apr 1999 04:32:43 +0000 (04:32 +0000)]
sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions for -Dunix and -Dlinux, and remove duplicate definition.

        * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions
        for -Dunix and -Dlinux, and remove duplicate definition.
        Change -Asystem(linux) to -Asystem(posix).
        (CPP_OS_SOLARIS_SPEC): Fix conditions for -Dunix, -Dsun,
        -DSVR4, -D__EXTENSIONS__.
        * rs6000/linux.h (CPP_PREDEFINES): Remove -Dunix,
        -Dlinux, -Asystem(linux), and -Asystem(unix).

From-SVN: r26329

25 years agocollect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place of the DIR_SEPARATO...
Mark Elbrecht [Sat, 10 Apr 1999 04:27:16 +0000 (04:27 +0000)]
collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place of the DIR_SEPARATOR test.

        * collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place
        of the DIR_SEPARATOR test.
        Consider any file starting with a drivename to be absolute.
        If the absolute filename test fails and EXECUTABLE_SUFFIX is
        defined, append EXECUTABLE_SUFFIX to the file and try again.
        * cppinit.c (base_name): Use HAVE_DOS_BASED_FILE_SYSTEM
        in place of __MSDOS__ and _WIN32.
        * cppfiles.c (simplify_pathname): Likewise.
        * gcc.c (IS_DIR_SEPARATOR): Define new macro. Returns true if a
        character is a directory separator.
        (find_a_file): Use it.
        (convert_filename): Likewise.
        (process_command): Likewise.
        (do_spec_1): Likewise.
        (is_directory): Likewise.
        (main): Likewise.
        * prefix.c (IS_DIR_SEPARATOR): Define. Tests whether a character is
        a directory separator.
        (translate_name): Use it.
        (update_path): Change DIR_SEPARATOR_2 to DIR_SEPARATOR. Fix
        warning in block where '/' is changed to DIR_SEPARATOR.
        * i386/xm-djgpp.h (DIR_SEPARATOR): Set to '/'.
        (DIR_SEPARATOR_2): New macro. Set to '\'.
        (HAVE_DOS_BASED_FILESYS): Define.
        * i386/xm-mingw32.h: Updated copyright. Set
        DIR_SEPARATOR_2 to '/'. Define HAVE_DOS_BASED_FILE_SYSTEM.
        * i386/xm-os2.h: Likewise.
        * winnt/xm-winnt.h: Likewise.
        * i386/xm-dos.h: Likewise.  Add copyright.

From-SVN: r26328

25 years agortl.h (rebuild_jump_labels): Declare.
Jeffrey A Law [Sat, 10 Apr 1999 04:17:51 +0000 (04:17 +0000)]
rtl.h (rebuild_jump_labels): Declare.

        * rtl.h (rebuild_jump_labels): Declare.
        * jump.c (jump_optimize_1): Renamed from jump_optimize.  Make static.
        Add new argument MARK_LABELS_ONLY.  Quit after mark_all_labels if
        requested.
        (jump_optimize, rebuild_jump_labels): New wrapper functions for
        jump_optimize_1.
        * toplev.c (rest_of_compilation): Use rebuild_jump_labels instead of
        running the entire jump optimizer.

From-SVN: r26327

25 years agoFix thinko in last ChangeLog entry.
Jeff Law [Sat, 10 Apr 1999 03:45:15 +0000 (21:45 -0600)]
Fix thinko in last ChangeLog entry.

From-SVN: r26326

25 years agopdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
Joseph Myers [Sat, 10 Apr 1999 03:09:40 +0000 (21:09 -0600)]
pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.

1999-04-09  Joseph S. Myers  <jsm28@cam.ac.uk>
* pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
(TARGET_DEFAULT): Possibly use UNIX syntax.
(TARGET_UNIX_ASM, TARGET_UNIX_ASM_DEFAULT): New macros.
(REGISTER_NAMES): Use "r5" instead of "fp".
(ASM_OUTPUT_ALIGN): Use ".even" directive, and abort for any
greater alignment.
* 2bsd.h (TARGET_UNIX_ASM_DEFAULT): Default to UNIX assembler
syntax for 2BSD.
* pdp11.c (output_ascii): Use working syntax for ".byte".
(print_operand_address): Use "*" instead of "@" when using UNIX
assembler syntax.

From-SVN: r26325

25 years agortl.h (local_alloc): Returns an integer now.
Jeffrey A Law [Sat, 10 Apr 1999 02:55:36 +0000 (02:55 +0000)]
rtl.h (local_alloc): Returns an integer now.

        * rtl.h (local_alloc): Returns an integer now.
        * local-alloc.c (recorded_label_ref): New file scoped variable.
        (local_alloc): Initialize recorded_label_ref to zero.  Return its
        value when local allocation has completed.
        (update_equiv_regs); If we create an equivalence for a LABEL_REF,
        set recorded_label_ref.
        * toplev.c (rest_of_compilation): Run the loop optimizer after
        register allocation and reloading if needed.

From-SVN: r26324