platform/upstream/gcc.git
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

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

From-SVN: r26323

25 years agoMon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Jeff Law [Fri, 9 Apr 1999 22:26:17 +0000 (16:26 -0600)]
Mon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

From-SVN: r26322

25 years agogas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
Krister Walfridsson [Fri, 9 Apr 1999 20:31:32 +0000 (22:31 +0200)]
gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.

        * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
        * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

From-SVN: r26321

25 years agoFix comments/ChangeLog entry for last night's change.
Jeffrey A Law [Fri, 9 Apr 1999 20:15:39 +0000 (20:15 +0000)]
Fix comments/ChangeLog entry for last night's change.

From-SVN: r26320

25 years agocpphash.c (special_symbol): When expanding __LINE__, use the top file buffer, not...
Zack Weinberg [Fri, 9 Apr 1999 20:02:39 +0000 (20:02 +0000)]
cpphash.c (special_symbol): When expanding __LINE__, use the top file buffer, not the top buffer.

1999-04-09 22:58 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cpphash.c (special_symbol): When expanding __LINE__, use the
top file buffer, not the top buffer.

From-SVN: r26319

25 years agoparse.y (patch_assignment): Added ArrayStoreException runtime check.
Alexandre Petit-Bianco [Fri, 9 Apr 1999 16:26:33 +0000 (16:26 +0000)]
parse.y (patch_assignment): Added ArrayStoreException runtime check.

Tue Apr  6 15:15:51 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (patch_assignment): Added ArrayStoreException runtime
        check.

From-SVN: r26318

25 years agodecl.c (make_typename_type): Complain if we don't find a type when trying to make...
Mark Mitchell [Fri, 9 Apr 1999 16:05:47 +0000 (16:05 +0000)]
decl.c (make_typename_type): Complain if we don't find a type when trying to make a typename type for a...

* decl.c (make_typename_type): Complain if we don't find a type
when trying to make a typename type for a non-template type.

From-SVN: r26317

25 years agoFix bad cut and paste of ChangeLog entry.
Mike Stump [Fri, 9 Apr 1999 14:57:21 +0000 (14:57 +0000)]
Fix bad cut and paste of ChangeLog entry.

From-SVN: r26316

25 years agoFix for make check with relative srcdir path.
Jim Wilson [Fri, 9 Apr 1999 13:49:23 +0000 (13:49 +0000)]
Fix for make check with relative srcdir path.

* Makefile.in (check-g++, check-gcc, check-g77, check-objc): Add
cd .. to TCL_LIBRARY command.

From-SVN: r26315

25 years agoPrevent warning about redefinition of SUBTARGET_CPU_DEFAULT
Nick Clifton [Fri, 9 Apr 1999 13:07:56 +0000 (13:07 +0000)]
Prevent warning about redefinition of SUBTARGET_CPU_DEFAULT

From-SVN: r26314

25 years agodecl.c (start_decl): Pass attributes to grokdeclarator.
Jason Merrill [Fri, 9 Apr 1999 12:44:53 +0000 (12:44 +0000)]
decl.c (start_decl): Pass attributes to grokdeclarator.

* decl.c (start_decl): Pass attributes to grokdeclarator.
(grokdeclarator): Handle attributes on constructor-syntax
initializers.

From-SVN: r26313

25 years agoc-common.c (decl_attributes, [...]): Allow arrays of classes, too.
Jason Merrill [Fri, 9 Apr 1999 12:43:24 +0000 (12:43 +0000)]
c-common.c (decl_attributes, [...]): Allow arrays of classes, too.

* c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays
of classes, too.

From-SVN: r26312

25 years ago* libjava.mauve/mauve.exp (KEYS): Default to libgcj.
Warren Levy [Fri, 9 Apr 1999 11:44:38 +0000 (11:44 +0000)]
* libjava.mauve/mauve.exp (KEYS): Default to libgcj.

From-SVN: r26311

25 years agoplusplus.java: New file.
Tom Tromey [Fri, 9 Apr 1999 10:45:10 +0000 (10:45 +0000)]
plusplus.java: New file.

* libjava.compile/plusplus.java: New file.
From MoT <Sebastien.Villemot@ens.fr>.

From-SVN: r26310

25 years agocplus-dem.c: Attempt to handle overflows in counts with some semblance of grace.
Jim Blandy [Fri, 9 Apr 1999 09:01:35 +0000 (09:01 +0000)]
cplus-dem.c: Attempt to handle overflows in counts with some semblance of grace.

1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
* cplus-dem.c: Attempt to handle overflows in counts with some
semblance of grace.
(consume_count): Detect overflows.  Return -1 to indicate errors,
instead of zero.
(demangle_template_value_parm, demangle_template): Handle change
to consume_count's return convention.

From-SVN: r26309

25 years agors6000.c (rs6000_override_options, [...]): Const-ify a char*.
Kaveh R. Ghazi [Fri, 9 Apr 1999 07:45:00 +0000 (07:45 +0000)]
rs6000.c (rs6000_override_options, [...]): Const-ify a char*.

        * rs6000.c (rs6000_override_options, ptt, rs6000_file_start,
        rs6000_float_const, rs6000_replace_regno, debug_stack_info,
        rs6000_output_load_toc_table, output_prolog, output_epilog):
        Const-ify a char*.
        (output_mi_thunk): Likewise.  Mark parameter `thunk_fndecl' with
        ATTRIBUTE_UNUSED.  Hide unused variables `r0', `sp', `toc',
        `schain', `r12', `buf' and `labelno'.
        (output_ascii): Const-ify a char*.
        (rs6000_gen_section_name): Initialize variable `last_period'.
        (rs6000_adjust_priority): Mark parameter `insn' with
        ATTRIBUTE_UNUSED.
        (rs6000_trampoline_template, rs6000_dll_import_ref,
        rs6000_longcall_ref, rs6000_encode_section_info): Const-ify a char*.
        * rs6000.h (offsettable_mem_operand, optimization_options): Add
        prototypes.
        * rs6000.md (movdi, define_split): Cast a value to HOST_WIDE_INT
        when comparing against one.

From-SVN: r26308

25 years agoexpr.c (expand_expr, [...]): Do not try to optimize a aggregate address which has...
Jeffrey A Law [Fri, 9 Apr 1999 01:35:36 +0000 (01:35 +0000)]
expr.c (expand_expr, [...]): Do not try to optimize a aggregate address which has VOIDmode.

        * expr.c (expand_expr, case ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF):
        Do not try to optimize a aggregate address which has VOIDmode.
        Mirrors March 23 change to expand_assignment.

From-SVN: r26307

25 years agoflow.c (delete_unreachable_blocks): Do not require an edge to be marked with EDGE_FAL...
Jeffrey A Law [Fri, 9 Apr 1999 01:23:05 +0000 (01:23 +0000)]
flow.c (delete_unreachable_blocks): Do not require an edge to be marked with EDGE_FALLTHRU when...

* flow.c (delete_unreachable_blocks): Do not require an edge to
be marked with EDGE_FALLTHRU when tidying an edge which connects
consecutive basic blocks.
* flow.c (can_delete_label_p): Do not convert a label into a
deleted label here.

From-SVN: r26306

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

From-SVN: r26305

25 years agocse.c (flush_hash_table): New function.
Jeffrey A Law [Fri, 9 Apr 1999 00:29:45 +0000 (00:29 +0000)]
cse.c (flush_hash_table): New function.

        * cse.c (flush_hash_table): New function.
        (cse_insn): Flush the hash table when we encounter a volatile asm.
        (cse_basic_block): Use flush_hash_table instead of doing it
        inline.
        * reload1.c (reload_cse_regs_1): Flush known register values if
        we encounter a volatile asm.

From-SVN: r26304

25 years agoFix spelling and spaces
Mike Stump [Thu, 8 Apr 1999 23:01:07 +0000 (23:01 +0000)]
Fix spelling and spaces

From-SVN: r26303

25 years agoupdate
Jason Merrill [Thu, 8 Apr 1999 22:03:08 +0000 (18:03 -0400)]
update

From-SVN: r26302

25 years agoFix spelling errors and spaces
Mike Stump [Thu, 8 Apr 1999 20:52:09 +0000 (20:52 +0000)]
Fix spelling errors and spaces

From-SVN: r26301