gcc.git
25 years agoREADME.g77, [...]: Update email addresses.
Jeffrey A Law [Sat, 6 Feb 1999 17:20:33 +0000 (17:20 +0000)]
README.g77, [...]: Update email addresses.

        * README.g77, gcc.c, gcc.texi: Update email addresses.
        * invoke.texi system.h: Likewise.

From-SVN: r25064

25 years ago* typeck2.c: Update email addrsses.
Jeffrey A Law [Sat, 6 Feb 1999 17:12:29 +0000 (17:12 +0000)]
* typeck2.c: Update email addrsses.

From-SVN: r25063

25 years ago* g77.texi: Update email addresses.
Jeffrey A Law [Sat, 6 Feb 1999 17:06:57 +0000 (17:06 +0000)]
* g77.texi: Update email addresses.

From-SVN: r25062

25 years ago* README: Update email addresses.
Jeffrey A Law [Sat, 6 Feb 1999 17:04:18 +0000 (17:04 +0000)]
* README: Update email addresses.

From-SVN: r25061

25 years agounroll.c (find_splittable_givs): After express_from, call replace_rtx to convert...
Jim Wilson [Sat, 6 Feb 1999 10:08:51 +0000 (10:08 +0000)]
unroll.c (find_splittable_givs): After express_from, call replace_rtx to convert dest_reg to new_reg.

        * unroll.c (find_splittable_givs): After express_from, call replace_rtx
        to convert dest_reg to new_reg.

From-SVN: r25056

25 years agoreload1.c (reload_combine_note_store): Be more careful with STRICT_LOW_PART, ZERO_EXT...
Jeffrey A Law [Sat, 6 Feb 1999 09:41:08 +0000 (09:41 +0000)]
reload1.c (reload_combine_note_store): Be more careful with STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.

        * reload1.c (reload_combine_note_store): Be more careful with
        STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
        (move2add_note_store): Likewise.

From-SVN: r25055

25 years agocppfiles.c (read_and_prescan): Cast the result of `xrealloc' to U_CHAR* when assignin...
Kaveh R. Ghazi [Sat, 6 Feb 1999 07:38:50 +0000 (07:38 +0000)]
cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to U_CHAR* when assigning to one.

        * cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
        U_CHAR* when assigning to one.  Ensure the values of a ?: operator
        have the same type.
        * cppinit.c (initialize_char_syntax): Use K&R function definition.

From-SVN: r25054

25 years agoSupport for ARM9
Richard Earnshaw [Sat, 6 Feb 1999 04:09:55 +0000 (04:09 +0000)]
Support for ARM9

Support for ARM9
* config/arm/arm.c (all_procs): Add arm9 and arm9tdmi.
* config/arm/arm.h ((TARGET_CPU_arm9, TARGET_CPUD_arm9tdmi): Define.
(TARGET_CPU_DEFAULT): Rework to support ARM9.
(CPP_CPU_ARCH_SPEC): Likewise.
(enum processor_type): Likewise.
* config/arm/arm.md (attr cpu): Add arm9.
General scheduling changes
* config/arm/arm.c (MAX_INSNS_SKIPPED): Delete.
(max_insns_skipped): New variable.
(arm_override_options): If generating hard floating point code for
the FPA, emit code for version 3.
When optimizing for space, don't synthesize constants.
Reword several flags based on the requested processor and optimization
level.
(use_return_insn): New argument iscond, all callers changed.  Don't
use a return insn if it will be conditional and that would be
expensive; eg on StrongARM.
(arm_adjust_cost): Anti- and output- dependencies normally have no
cost.
(load_multiple_sequence): Newer ARMs don't benefit from ldm if
the sequence is short.
(final_prescan_insn): Use max_insns_skipped instead of
MAX_INSNS_SKIPPED.  Note whether we will make a return instruction
conditional, and aviod this if it would be expensive.
* config/arm/arm.md (scheduling attributes and function units):
Rewrite to better describe ARM8, 9 and StrongARM.
* config/arm/arm.md (*movhi_insn_littleend): Make op0 predicate
s_register_operand.
(*ifcompare_plus_move): Use arm_rhs_operand in place of
arm_rhsm_operand.  Rework constraints.
(*if_plus_move): Likewise.
(*ifcompare_move_plus): Likewise.
(*if_move_plus): Likewise.
(*ifcompre_arith_move): Likewise.
(*if_arith_move): Likewise.
(*ifcompare_move_arith): Likewise.
(*if_move_arith): Likewise.
* config/arm/xm-netbsd.h: Don't include arm/xm-arm.h.

From-SVN: r25053

25 years agoDaily bump.
Jeff Law [Sat, 6 Feb 1999 00:47:03 +0000 (17:47 -0700)]
Daily bump.

From-SVN: r25052

25 years agoloop.c (check_dbra_loop): A store using an address giv for which we have no life...
Michael Meissner [Sat, 6 Feb 1999 00:46:54 +0000 (00:46 +0000)]
loop.c (check_dbra_loop): A store using an address giv for which we have no life information is not...

        * loop.c (check_dbra_loop): A store using an address giv for which
        we have no life information is not reversible.

From-SVN: r25051

25 years agoloop.c (strength_reduce): Clear not_every_iteration when passing the NOTE_INSN_LOOP_C...
Jeffrey A Law [Fri, 5 Feb 1999 14:38:32 +0000 (14:38 +0000)]
loop.c (strength_reduce): Clear not_every_iteration when passing the NOTE_INSN_LOOP_CONT note.

        * loop.c (strength_reduce): Clear not_every_iteration when
        passing the NOTE_INSN_LOOP_CONT note.

From-SVN: r25050

25 years agofunction.c (fixup_var_refs): Scan catch_clauses too.
Dave Brolley [Fri, 5 Feb 1999 14:12:38 +0000 (14:12 +0000)]
function.c (fixup_var_refs): Scan catch_clauses too.

Fri Feb  5 17:08:01 1999  Dave Brolley  <brolley@cygnus.com>
        * function.c (fixup_var_refs): Scan catch_clauses too.

From-SVN: r25049

25 years agobogus tests
Brendan Kehoe [Fri, 5 Feb 1999 12:28:26 +0000 (07:28 -0500)]
bogus tests

From-SVN: r25048

25 years agoc-common.c (decl_attributes): Fix reserved space for init_priority.
Benjamin Kosnik [Fri, 5 Feb 1999 11:46:16 +0000 (11:46 +0000)]
c-common.c (decl_attributes): Fix reserved space for init_priority.


Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* c-common.c (decl_attributes): Fix reserved space for init_priority.
* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25047

25 years agoc-common.c (decl_attributes): Fix reserved space for init_priority.
Benjamin Kosnik [Fri, 5 Feb 1999 11:46:14 +0000 (11:46 +0000)]
c-common.c (decl_attributes): Fix reserved space for init_priority.


Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* c-common.c (decl_attributes): Fix reserved space for init_priority.
* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25046

25 years agoc-common.c (decl_attributes): Fix reserved space for init_priority.
Benjamin Kosnik [Fri, 5 Feb 1999 11:46:10 +0000 (11:46 +0000)]
c-common.c (decl_attributes): Fix reserved space for init_priority.


Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* c-common.c (decl_attributes): Fix reserved space for init_priority.
* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25045

25 years agohaifa-sched.c (add_dependence): Do not add a dependency on a note.
Jeff Law [Fri, 5 Feb 1999 11:43:22 +0000 (04:43 -0700)]
haifa-sched.c (add_dependence): Do not add a dependency on a note.

h
        * haifa-sched.c (add_dependence): Do not add a dependency on a
        note.

From-SVN: r25044

25 years agohaifa-sched.c (add_dependence): Do not add a dependency on a note.
Jeff Law [Fri, 5 Feb 1999 11:43:20 +0000 (04:43 -0700)]
haifa-sched.c (add_dependence): Do not add a dependency on a note.


        * haifa-sched.c (add_dependence): Do not add a dependency on a
        note.

From-SVN: r25043

25 years agoOnly call update_flow_info if instruction scheduling is enabled.
Nick Clifton [Fri, 5 Feb 1999 10:57:02 +0000 (10:57 +0000)]
Only call update_flow_info if instruction scheduling is enabled.

From-SVN: r25042

25 years agoMakefile.in (gen-protos): Use libcpp.a like everyone else.
Zack Weinberg [Fri, 5 Feb 1999 08:24:29 +0000 (08:24 +0000)]
Makefile.in (gen-protos): Use libcpp.a like everyone else.

1999-02-05 11:22 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* Makefile.in (gen-protos): Use libcpp.a like everyone else.

From-SVN: r25041

25 years agocpplib.c (initialize_char_syntax): Move to cppinit.c.
Zack Weinberg [Fri, 5 Feb 1999 08:11:18 +0000 (08:11 +0000)]
cpplib.c (initialize_char_syntax): Move to cppinit.c.

1999-02-04 14:33 -0500 Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (initialize_char_syntax): Move to cppinit.c.
(cpp_define): Remove redundant syntax checks.
(make_assertion): Rename cpp_assert, remove redundant syntax
checks, export.
(cpp_options_init): Don't init things to zero twice.
(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
(do_include): Kill excessively verbose #import warning that
snuck back in in the gcc2 merge.
(convert_string): Removed.
(do_line): Rewrite with simple last-name-used cache instead of
private hashtable.
(cpp_start_read): Call initialize_char_syntax here, not...
(cpp_reader_init): ...here.
(cpp_handle_options): Support the -std switch.
* cpplib.h (cpp_buffer): Add last_nominal_fname member.
(cpp_options): Add c9x flag.
Declare all the is_* tables and trigraph table here, as const.
Prototype cpp_assert and initialize_char_syntax.
* cppinit.c: New file.
* cppfiles.c (read_and_prescan): Optimize.
* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25040

25 years agoclass.c (make_class_data): The superclass of an interface should be null, not class...
Andrew Haley [Fri, 5 Feb 1999 07:58:05 +0000 (07:58 +0000)]
class.c (make_class_data): The superclass of an interface should be null, not class Object.

1999-02-05  Andrew Haley  <aph@cygnus.com>
        * class.c (make_class_data): The superclass of an interface should
        be null, not class Object.
        * lex.c (java_lex): Sign extend hex literals.

From-SVN: r25039

25 years agocp-tree.h: Declare it.
Jason Merrill [Fri, 5 Feb 1999 02:55:44 +0000 (02:55 +0000)]
cp-tree.h: Declare it.

* cp-tree.h: Declare it.
Missed a piece...

From-SVN: r25038

25 years agodecl2.c: Remove flag_init_priority.
Jason Merrill [Fri, 5 Feb 1999 02:47:00 +0000 (21:47 -0500)]
decl2.c: Remove flag_init_priority.

* decl2.c: Remove flag_init_priority.  Always enable initp stuff.
(start_objects, finish_objects): Only use special
init_priority code if the user specified a priority.
(do_ctors, do_dtors): Use DEFAULT_INIT_PRIORITY for the non-initp
objects.

From-SVN: r25037

25 years agopt.c (unify): Call coerce_template_parms with the COMPLAIN flag turned off.
Jason Merrill [Fri, 5 Feb 1999 02:42:48 +0000 (21:42 -0500)]
pt.c (unify): Call coerce_template_parms with the COMPLAIN flag turned off.

* pt.c (unify): Call coerce_template_parms with the COMPLAIN flag
turned off.
* lex.c (retrofit_lang_decl): Split out...
(build_lang_decl): From here.
* decl.c (pushdecl): Call it for functions generated by the middle
end that don't have DECL_LANG_SPECIFIC.
* decl2.c: Remove flag_init_priority.  Always enable initp stuff.
(start_objects, finish_objects): Only use special
init_priority code if the user specified a priority.
(do_ctors, do_dtors): Use DEFAULT_INIT_PRIORITY for the non-initp
objects.

From-SVN: r25036

25 years agoDaily bump.
Jeff Law [Fri, 5 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25035

25 years agoloop.c (first_loop_store_insn): New file-scope variable.
J"orn Rennecke [Thu, 4 Feb 1999 23:10:46 +0000 (23:10 +0000)]
loop.c (first_loop_store_insn): New file-scope variable.

* loop.c (first_loop_store_insn): New file-scope variable.
(prescan_loop): Set it.
(check_dbra_loop): Check if a store depends on a register
that is set after the store.

From-SVN: r25034

25 years agounroll.c (entire file): Remove tabs / spaces at end of lines.
J"orn Rennecke [Thu, 4 Feb 1999 22:55:55 +0000 (22:55 +0000)]
unroll.c (entire file): Remove tabs / spaces at end of lines.

* unroll.c (entire file): Remove tabs / spaces at end of lines.
Replace spaces with tabs where appropriate.

From-SVN: r25033

25 years agofix to actually offer usable results
Brendan Kehoe [Thu, 4 Feb 1999 19:33:22 +0000 (14:33 -0500)]
fix to actually offer usable results

From-SVN: r25032

25 years agoUpdate.
Ulrich Drepper [Thu, 4 Feb 1999 15:53:14 +0000 (15:53 +0000)]
Update.

From-SVN: r25031

25 years agoConfiguration fragment for thread lbirary.
Ulrich Drepper [Thu, 4 Feb 1999 15:52:53 +0000 (15:52 +0000)]
Configuration fragment for thread lbirary.

From-SVN: r25030

25 years ago(frags): Add fragments for Solaris defining macro specifying thread library to...
Ulrich Drepper [Thu, 4 Feb 1999 15:52:08 +0000 (15:52 +0000)]
(frags): Add fragments for Solaris defining macro specifying thread library to...

(frags): Add fragments for Solaris defining macro specifying thread
library to be used and generic POSIX thread libraries.

From-SVN: r25029

25 years agoAdd support for Solaris thread library.
Ulrich Drepper [Thu, 4 Feb 1999 15:51:42 +0000 (15:51 +0000)]
Add support for Solaris thread library.

From-SVN: r25028

25 years agoRecognize _SOLTHREADS and define internal macros appropriately.
Ulrich Drepper [Thu, 4 Feb 1999 15:51:19 +0000 (15:51 +0000)]
Recognize _SOLTHREADS and define internal macros appropriately.

From-SVN: r25027

25 years agoloop.c (scan_loop): New argument loop_cont.
J"orn Rennecke [Thu, 4 Feb 1999 14:19:36 +0000 (14:19 +0000)]
loop.c (scan_loop): New argument loop_cont.

        * loop.c (scan_loop): New argument loop_cont.  Changed caller.
        (strength_reduce): New argument loop_cont. Changed caller.
        Before clearing not_every_iteration after a label, check if
        we are not already past LOOP_CONT.

From-SVN: r25026

25 years agocpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge.
Zack Weinberg [Thu, 4 Feb 1999 13:06:30 +0000 (13:06 +0000)]
cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge.

1999-02-04 16:04 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* cpperror.c (cpp_print_containing_files): Fix formatting
bug induced by merge.

From-SVN: r25025

25 years agocpplib.c (initialize_char_syntax): Move to cppinit.c.
Zack Weinberg [Thu, 4 Feb 1999 11:36:54 +0000 (06:36 -0500)]
cpplib.c (initialize_char_syntax): Move to cppinit.c.

1999-02-04 14:33 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (initialize_char_syntax): Move to cppinit.c.
(cpp_define): Remove redundant syntax checks.
(make_assertion): Rename cpp_assert, remove redundant syntax
checks, export.
(cpp_options_init): Don't init things to zero twice.
(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
(do_include): Kill excessively verbose import warning that
snuck back in in the gcc2 merge.
(convert_string): Removed.
(do_line): Rewrite with simple last-name-used cache instead of
private hashtable.
(cpp_start_read): Call initialize_char_syntax here, not...
(cpp_reader_init): ...here.
(cpp_handle_options): Support the -std switch.
* cpplib.h (cpp_buffer): Add last_nominal_fname member.
(cpp_options): Add c9x flag.
Declare all the is_* tables and trigraph table here, as const.
Prototype cpp_assert and initialize_char_syntax.
* cppinit.c: New file.
* cppfiles.c (read_and_prescan): Optimize.
* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25024

25 years agofix typo in libf2c/ChangeLog
Craig Burley [Thu, 4 Feb 1999 09:35:23 +0000 (04:35 -0500)]
fix typo in libf2c/ChangeLog

From-SVN: r25023

25 years agoclass.c (build_utf8_ref): Output signatures using '.' as a separator, rather than...
Andrew Haley [Thu, 4 Feb 1999 08:15:41 +0000 (08:15 +0000)]
class.c (build_utf8_ref): Output signatures using '.' as a separator, rather than '/'.

1999-02-04  Andrew Haley  <aph@cygnus.com>
        * class.c (build_utf8_ref): Output signatures using '.' as a
        separator, rather than '/'.
        (make_class_data): Likewise.

From-SVN: r25022

25 years agoegcs_update: Test return values of 'cvs update'.
Robert Lipe [Thu, 4 Feb 1999 08:07:51 +0000 (08:07 +0000)]
egcs_update: Test return values of 'cvs update'.

       * egcs_update: Test return values of 'cvs update'.  Propogate
       to caller as exit values.

From-SVN: r25021

25 years agoupdate copyright
Gavin Romig-Koch [Thu, 4 Feb 1999 07:52:04 +0000 (07:52 +0000)]
update copyright

From-SVN: r25020

25 years agomips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3, [...]): Don't copy the "zero...
Gavin Romig-Koch [Thu, 4 Feb 1999 07:51:51 +0000 (07:51 +0000)]
mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3, [...]): Don't copy the "zero" argument to a register before calling gen_div_trap.

       * config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
[u]modsi3,[u]moddi3) : Don't copy the "zero" argument to a register
        before calling gen_div_trap.

From-SVN: r25019

25 years agoDaily bump.
Jeff Law [Thu, 4 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25018

25 years agoupdate
Jason Merrill [Wed, 3 Feb 1999 23:30:20 +0000 (18:30 -0500)]
update

From-SVN: r25017

25 years agoMakefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and mkstemp.
Marc Espie [Wed, 3 Feb 1999 22:01:05 +0000 (23:01 +0100)]
Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and mkstemp.

        * Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and
        mkstemp.  Get them from libiberty.
        (COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
        (PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
        (cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
        (mkstemp.o, getopt1.o, getopt.o): Likewise.

From-SVN: r25016

25 years agoMake-lang.in ($(GCJ)(exeext)): Remove choose-temp.o, pexecute.o and mkstemp.o.
Marc Espie [Wed, 3 Feb 1999 21:57:59 +0000 (22:57 +0100)]
Make-lang.in ($(GCJ)(exeext)): Remove choose-temp.o, pexecute.o and mkstemp.o.

        * Make-lang.in ($(GCJ)(exeext)): Remove choose-temp.o, pexecute.o and
        mkstemp.o.  Get them from libiberty now.

From-SVN: r25015

25 years agoMake-lang.in (GXX_OBJS): Remove choose-temp.o, pexecute.o and mkstemp.o.
Marc Espie [Wed, 3 Feb 1999 21:56:50 +0000 (22:56 +0100)]
Make-lang.in (GXX_OBJS): Remove choose-temp.o, pexecute.o and mkstemp.o.

        * Make-lang.in (GXX_OBJS): Remove choose-temp.o, pexecute.o and
        mkstemp.o.  Get them from libiberty now.
        (DEMANGLER_PROG): Simlarly, temove getopt.o getopt1.o.

From-SVN: r25014

25 years agoMake-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and mkstemp.o from libiberty.
Marc Espie [Wed, 3 Feb 1999 21:54:40 +0000 (22:54 +0100)]
Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and mkstemp.o from libiberty.

        * Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and
        mkstemp.o from libiberty.

From-SVN: r25013

25 years agoMakefile.in (iostream.list): Remove dependency on stamp-picdir.
H.J. Lu [Wed, 3 Feb 1999 21:11:03 +0000 (21:11 +0000)]
Makefile.in (iostream.list): Remove dependency on stamp-picdir.

        * Makefile.in (iostream.list): Remove dependency on
        stamp-picdir.
        ($(LIBIOSTREAM_DEP)): Depend on stamp-picdir.
        ($(LIBIO_FILES)): Similarly.
        * config.shared (all): Make $(PICDIR) concurrent.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r25012

25 years agoconfigure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather than numeric value...
Jeff Law [Wed, 3 Feb 1999 21:04:26 +0000 (14:04 -0700)]
configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather than numeric value for target_cpu_default..

        * configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather
        than numeric value for target_cpu_default..
        * configure: Rebuilt.
        * pa-gas.h (TARGET_DEFAULT): Use symbolic values rather than numeric
        values.
        * pa-hpux.h (LINK_SPEC): Likewise.
        * pa-hpux10.h (LINK_SPEC): Likewise.
        * pa-hpux9.h (LINK_SPEC): Likewise.
        * pa-osf.h: (LINK_SPEC): Likewise.
        * pa-pro.h (TARGET_DEFAULT): Likewise.
        * pa1.h (TARGET_DEFAULT): Likewise.
        * pa.h (MASK_*): New defines.
        (TARGET_*): Use symbolic values rather than numeric values.
        (TARGET_SWITCHES): Likewise.
        (TARGET_DEFAULT): likewise.
        (CPP_SPEC): likewise.

From-SVN: r25011

25 years agoreload1.c (reload_cse_regs_1): Undo Jan 16 patch.
Bernd Schmidt [Wed, 3 Feb 1999 20:11:56 +0000 (20:11 +0000)]
reload1.c (reload_cse_regs_1): Undo Jan 16 patch.

        * reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
        * reload.c (find_reusable_reload): New function, broken out of
        push_reload.  Add code to verify that none of the involved
        outputs are subject to earlyclobbers.
        (push_reload): Break out new function find_reusable_reload.
        Delete "register" keyword for IN, OUT args.

From-SVN: r25010

25 years agoChange my email address
Craig Burley [Wed, 3 Feb 1999 15:38:49 +0000 (10:38 -0500)]
Change my email address

From-SVN: r25009

25 years agomips.c (true_reg_or_0_operand): New function.
Gavin Romig-Koch [Wed, 3 Feb 1999 13:04:22 +0000 (13:04 +0000)]
mips.c (true_reg_or_0_operand): New function.

* config/mips/mips.c (true_reg_or_0_operand) : New function.
* config/mips/mips.h (PREDICATE_CODES): Add true_reg_or_0_operand.
* config/mips/mips.md (div_trap,div_trap_normal,div_trap_mips16):
Use true_reg_or_0_operand for div_trap.

From-SVN: r25008

25 years agoloop.h (express_from): Declare.
J"orn Rennecke [Wed, 3 Feb 1999 12:48:48 +0000 (12:48 +0000)]
loop.h (express_from): Declare.

* loop.h (express_from): Declare.
(struct induction): Replace derived flag with derived_from pointer.
* loop.c (strength_reduce, record_giv, recombine_givs): Likewise.
(express_from): No longer static.
* unroll.c (find_splittable_givs): Replace derived with derived_from.
When processing an address giv with which another giv has been
combined that has also been derived from a third giv, handle like
having combined with the third giv.
Set splittable_regs_updates appropriately for derived givs.

From-SVN: r25007

25 years ago(div_trap_mips16): Remove nop's after branches.
Gavin Romig-Koch [Wed, 3 Feb 1999 12:47:19 +0000 (12:47 +0000)]
(div_trap_mips16): Remove nop's after branches.

Properly this time.

From-SVN: r25006

25 years agoundo last revision; I commited more stuff than I intended.
Gavin Romig-Koch [Wed, 3 Feb 1999 12:42:12 +0000 (12:42 +0000)]
undo last revision; I commited more stuff than I intended.

From-SVN: r25005

25 years ago(div_trap_mips16): Remove nop's after branches.
Gavin Romig-Koch [Wed, 3 Feb 1999 12:31:38 +0000 (12:31 +0000)]
(div_trap_mips16): Remove nop's after branches.

From-SVN: r25004

25 years agopa.c (insn_sets_and_refs_are_delayed): New function.
Jeffrey A Law [Wed, 3 Feb 1999 11:01:19 +0000 (11:01 +0000)]
pa.c (insn_sets_and_refs_are_delayed): New function.

        * pa.c (insn_sets_and_refs_are_delayed): New function.
        * pa.h (INSN_SETS_ARE_DELAYED): Use it.
        (INSN_REFERENCES_ARE_DELAYED): Likewise.

From-SVN: r25003

25 years agoFix blkarg.c test to fail even on alpha.
Nick Clifton [Wed, 3 Feb 1999 10:30:26 +0000 (10:30 +0000)]
Fix blkarg.c test to fail even on alpha.

Make blkarg.c an expected failure.
Fix driver.c to use exit()/abort().

From-SVN: r25002

25 years agot-arm-elf (LIBGCC2_CFLAGS): Delete.
Richard Earnshaw [Wed, 3 Feb 1999 06:30:56 +0000 (06:30 +0000)]
t-arm-elf (LIBGCC2_CFLAGS): Delete.

* config/arm/t-arm-elf (LIBGCC2_CFLAGS): Delete.
* config/arm/t-linux (LIBGCC2_CFLAGS): Delete.
(TARGET_LIBGCC2_CFLAGS): Define.
(LIBGCC2_DEBUG_CFLAGS): Define.
* config/arm/t-netbsd: Likewise.
* config/arm/t-semi: Likewise.
* config/arm/t-semiaof: Likewise.
* config/arm/t-riscix: Likewise.

From-SVN: r25001

25 years agom68k.c (print_operand_address): When printing a SYMBOL_REF that ends in `.<letter...
Andreas Schwab [Wed, 3 Feb 1999 02:03:23 +0000 (02:03 +0000)]
m68k.c (print_operand_address): When printing a SYMBOL_REF that ends in `.<letter>' put parentheses around it.

* config/m68k/m68k.c (print_operand_address): When printing a
SYMBOL_REF that ends in `.<letter>' put parentheses around it.

From-SVN: r25000

25 years agoMissed rtl.h on commit and from ChangeLog.
Richard Henderson [Wed, 3 Feb 1999 01:26:55 +0000 (17:26 -0800)]
Missed rtl.h on commit and from ChangeLog.

Add copyright to resource.c.

From-SVN: r24999

25 years agoMissed commit from last.
Bob Manson [Wed, 3 Feb 1999 01:13:52 +0000 (01:13 +0000)]
Missed commit from last.

From-SVN: r24998

25 years agoDaily bump.
Jeff Law [Wed, 3 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24997

25 years agoclock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on platforms that don't have HZ.
Mumit Khan [Tue, 2 Feb 1999 23:05:16 +0000 (23:05 +0000)]
clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on platforms that don't have HZ.

        * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
        platforms that don't have HZ.
        * getruntime.c (HZ): Likewise.

From-SVN: r24993

25 years ago* i386/freebsd*.h now allows '$' in label names and does not use the PCC struct
David O'Brien [Tue, 2 Feb 1999 22:48:49 +0000 (22:48 +0000)]
* i386/freebsd*.h now allows '$' in label names and does not use the PCC struct
        return method.

From-SVN: r24992

25 years agoPatch to fix canadian cross build problem with libcpp.a.
Jim Wilson [Tue, 2 Feb 1999 22:39:13 +0000 (22:39 +0000)]
Patch to fix canadian cross build problem with libcpp.a.

* Makefile.in: Change all uses of AR to AR_FOR_TARGET.  Change all uses
of HOST_AR to AR.  Likewise for AR_FLAGS, RANLIB, and RANLIB_TEST.
(RANLIB_TEST): Test to see if ranlib exists.  Only test absolute file
names if host == target.
(HOST_AR, HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Delete.
(AR_FLAGS_FOR_TARGET): Renamed from AR_FOR_TARGET_FLAGS.
(AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Delete rules
setting them to *_FOR_TARGET.
* cross-make (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST):
Delete.

From-SVN: r24991

25 years agoPatch to fix canadian cross build problem with libcpp.a.
Jim Wilson [Tue, 2 Feb 1999 22:36:33 +0000 (22:36 +0000)]
Patch to fix canadian cross build problem with libcpp.a.

* Makefile.in (EXTRA_GCC_FLAGS):  Set AR to $AR instead of
$AR_FOR_TARGET.  Likewise for RANLIB.

From-SVN: r24990

25 years agoNew test.
Joern Rennecke [Tue, 2 Feb 1999 22:05:52 +0000 (22:05 +0000)]
New test.

From-SVN: r24989

25 years agomh-armpic: New file.
Philip Blundell [Tue, 2 Feb 1999 21:54:35 +0000 (21:54 +0000)]
mh-armpic: New file.

        * mh-armpic: New file.  Patch from Jim Pick <jim@jimpick.com>.
        * mt-armpic: Likewise.

From-SVN: r24988

25 years agoMissed from last commit.
Richard Henderson [Tue, 2 Feb 1999 21:49:34 +0000 (13:49 -0800)]
Missed from last commit.

From-SVN: r24987

25 years ago* decl2.c (lang_decode_option): Use read_integral_parameter.
Theodore Papadopoulo [Tue, 2 Feb 1999 21:47:20 +0000 (22:47 +0100)]
* decl2.c (lang_decode_option): Use read_integral_parameter.

From-SVN: r24986

25 years agotoplev.h (read_integral_parameter): Declare.
Theodore Papadopoulo [Tue, 2 Feb 1999 21:43:19 +0000 (22:43 +0100)]
toplev.h (read_integral_parameter): Declare.

* toplev.h (read_integral_parameter): Declare.
* toplev.c (read_integral_parameter): New function.

From-SVN: r24985

25 years agoBob Manson <manson@charmed.cygnus.com>
Bob Manson [Tue, 2 Feb 1999 21:22:52 +0000 (21:22 +0000)]
Bob Manson <manson@charmed.cygnus.com>

Bob Manson  <manson@charmed.cygnus.com>
        * resource.c, resource.h: New files.
        * haifa-sched.c (regno_use_in): Moved to rtlanal.c.
        (split_block_insns): Moved to recog.c.
        (update_flow_info): Make public.
        * reorg.c: Moved the functions dealing with computing resource
        usage to resource.c.
        * sched.c (regno_use_in): Moved to rtlanal.c.
        (update_flow_info): Make public.
        (schedule_insns): Use split_block_insns.
        * recog.c (split_block_insns): New function.

From-SVN: r24982

25 years agolinux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
David Edelsohn [Tue, 2 Feb 1999 19:10:15 +0000 (14:10 -0500)]
linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.

        * rs6000/linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
        (LINK_OS_DEFAULT_SPEC): Delete, unused.

From-SVN: r24981

25 years agoi386.md (ashlsi3): Turn into a define_expand an anonymous pattern.
Jeffrey A Law [Tue, 2 Feb 1999 19:06:58 +0000 (19:06 +0000)]
i386.md (ashlsi3): Turn into a define_expand an anonymous pattern.

        * i386.md (ashlsi3): Turn into a define_expand an anonymous pattern.
        Make the anonymous pattern match when ! optimize_size.
        (ashlsi3 size optimizer): New pattern.

From-SVN: r24980

25 years agoconfigure.in (arm-*-oabi): Support.
Catherine Moore [Tue, 2 Feb 1999 18:56:07 +0000 (18:56 +0000)]
configure.in (arm-*-oabi): Support.

        * configure.in (arm-*-oabi):  Support.
        * configure:  Regenerate.
        * config/arm/unknown-elf-oabi.h:  New file.

From-SVN: r24979

25 years ago* jcf-io.c: Do not include sys/stat.h or sys/wait.h
Jeffrey A Law [Tue, 2 Feb 1999 18:53:29 +0000 (18:53 +0000)]
* jcf-io.c: Do not include sys/stat.h or sys/wait.h

From-SVN: r24978

25 years ago* intl/Makefile.in (uninstall): Add missing "; \".
Jeffrey A Law [Tue, 2 Feb 1999 18:49:16 +0000 (18:49 +0000)]
* intl/Makefile.in (uninstall): Add missing "; \".

From-SVN: r24977

25 years agoconfig.sub (oabi): Recognize.
Catherine Moore [Tue, 2 Feb 1999 18:29:47 +0000 (18:29 +0000)]
config.sub (oabi): Recognize.

        * config.sub (oabi):  Recognize.
        * configure.in (arm-*-oabi):  Handle.

From-SVN: r24976

25 years agojvspec.c (xmalloc): Fix the prototype to match the one obtained from libiberty.h
Kaveh R. Ghazi [Tue, 2 Feb 1999 17:16:58 +0000 (17:16 +0000)]
jvspec.c (xmalloc): Fix the prototype to match the one obtained from libiberty.h

        * jvspec.c (xmalloc): Fix the prototype to match the one obtained
        from libiberty.h

From-SVN: r24975

25 years ago* sparc.h (TARGET_CPU_sparc86x): Added. TARGET_CPU_sparclite86x synonym.
Stan Cox [Tue, 2 Feb 1999 15:34:45 +0000 (15:34 +0000)]
* sparc.h (TARGET_CPU_sparc86x): Added. TARGET_CPU_sparclite86x synonym.

From-SVN: r24974

25 years agoloop.c (loop_optimize): Fix value max_uid_for_loop is reset to after find_and_verify_...
J"orn Rennecke [Tue, 2 Feb 1999 13:38:56 +0000 (13:38 +0000)]
loop.c (loop_optimize): Fix value max_uid_for_loop is reset to after find_and_verify_loops call.

* loop.c (loop_optimize): Fix value max_uid_for_loop is reset
to after find_and_verify_loops call.

From-SVN: r24973

25 years agoOptimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
Per Bothner [Tue, 2 Feb 1999 12:20:39 +0000 (04:20 -0800)]
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.

Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
* jcf-write.c (generate_bytecode_return):  New function.
(generate_bytecode_insns):  Use it, for RETURN_EXPR.
* jcf-write.c (generate_bytecode_insns):  For REAL_CST that is 0 or 1,
generate special [fd]const_[01] instructions.
* jcf-parse.c (yyparse):  Don't emit_register_classes if -fsyntax-only.
* verify.c (verify_jvm_instructions):  Do INVALIDATE_PC after
handling OPCODE_lookupswitch or OPCODE_tableswitch.

From-SVN: r24972

25 years agoOptimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
Per Bothner [Tue, 2 Feb 1999 12:20:36 +0000 (04:20 -0800)]
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.

a
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
* jcf-write.c (generate_bytecode_return):  New function.
(generate_bytecode_insns):  Use it, for RETURN_EXPR.
* jcf-write.c (generate_bytecode_insns):  For REAL_CST that is 0 or 1,
generate special [fd]const_[01] instructions.
* jcf-parse.c (yyparse):  Don't emit_register_classes if -fsyntax-only.
* verify.c (verify_jvm_instructions):  Do INVALIDATE_PC after
handling OPCODE_lookupswitch or OPCODE_tableswitch.

From-SVN: r24971

25 years agoOptimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
Per Bothner [Tue, 2 Feb 1999 12:20:34 +0000 (04:20 -0800)]
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.

Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'.
* jcf-write.c (generate_bytecode_return):  New function.
(generate_bytecode_insns):  Use it, for RETURN_EXPR.
* jcf-write.c (generate_bytecode_insns):  For REAL_CST that is 0 or 1,
generate special [fd]const_[01] instructions.
* jcf-parse.c (yyparse):  Don't emit_register_classes if -fsyntax-only.
* verify.c (verify_jvm_instructions):  Do INVALIDATE_PC after
handling OPCODE_lookupswitch or OPCODE_tableswitch.

From-SVN: r24970

25 years agoparse.y (patch_method_invocation): Handle calling static methods...
Per Bothner [Tue, 2 Feb 1999 12:07:01 +0000 (04:07 -0800)]
parse.y (patch_method_invocation): Handle calling static methods...


* parse.y (patch_method_invocation):  Handle calling static methods,
even in the form EXPR.METHOD(ARGS), not just TYPE.METHOD(ARGS).
* parse.y (java_complete_lhs):  Don't complain about unreachable
exit condition in a do-while statement.

From-SVN: r24969

25 years agoparse.y (patch_method_invocation): Handle calling static methods...
Per Bothner [Tue, 2 Feb 1999 12:06:59 +0000 (04:06 -0800)]
parse.y (patch_method_invocation): Handle calling static methods...

d
* parse.y (patch_method_invocation):  Handle calling static methods,
even in the form EXPR.METHOD(ARGS), not just TYPE.METHOD(ARGS).
* parse.y (java_complete_lhs):  Don't complain about unreachable
exit condition in a do-while statement.

From-SVN: r24968

25 years ago(recombine_givs): Don't use a giv that's likely to be dead to derive others.
J"orn Rennecke [Tue, 2 Feb 1999 11:52:00 +0000 (11:52 +0000)]
(recombine_givs): Don't use a giv that's likely to be dead to derive others.

* (recombine_givs): Don't use a giv that's likely to be dead to
derive others.
* loop.c (recombine_givs): Fix test for lifetime overlaps / loop
wrap around when deriving givs.

From-SVN: r24967

25 years agoFix typo in comment.
Per Bothner [Tue, 2 Feb 1999 10:18:25 +0000 (02:18 -0800)]
Fix typo in comment.

From-SVN: r24966

25 years agojcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_le...
Per Bothner [Tue, 2 Feb 1999 10:16:58 +0000 (02:16 -0800)]
jcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.


* jcf-write.c (localvar_alloc):  Only emit entry for
LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
(generate_bytecode_insns):  Only call put_linenumber if
debug_info_level > DINFO_LEVEL_NONE.
* jvspec.c (lang_specific_driver):  If no -O* or -g* option
is specified, add -g1 (for compatibility wih javac).

From-SVN: r24965

25 years agojcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_le...
Per Bothner [Tue, 2 Feb 1999 10:16:57 +0000 (02:16 -0800)]
jcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.

0
* jcf-write.c (localvar_alloc):  Only emit entry for
LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
(generate_bytecode_insns):  Only call put_linenumber if
debug_info_level > DINFO_LEVEL_NONE.
* jvspec.c (lang_specific_driver):  If no -O* or -g* option
is specified, add -g1 (for compatibility wih javac).

From-SVN: r24964

25 years agojcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_le...
Per Bothner [Tue, 2 Feb 1999 10:16:56 +0000 (02:16 -0800)]
jcf-write.c (localvar_alloc): Only emit entry for LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.

* jcf-write.c (localvar_alloc):  Only emit entry for
LocalVariableTable if debug_info_level > DINFO_LEVEL_TERSE.
(generate_bytecode_insns):  Only call put_linenumber if
debug_info_level > DINFO_LEVEL_NONE.
* jvspec.c (lang_specific_driver):  If no -O* or -g* option
is specified, add -g1 (for compatibility wih javac).

From-SVN: r24963

25 years agoDaily bump.
Jeff Law [Tue, 2 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24962

25 years agorecog.c (check_asm_operands): Treat indeterminate operand ok results as success.
Richard Henderson [Mon, 1 Feb 1999 20:03:23 +0000 (12:03 -0800)]
recog.c (check_asm_operands): Treat indeterminate operand ok results as success.

        * recog.c (check_asm_operands): Treat indeterminate operand ok
        results as success.  Try harder to resolve a matching constraint.
        * stmt.c (expand_asm_operands): Recognize when an output operand's
        constraint does not allow memory.  Treat indeterminate operand ok
        results as failure.  Try harder to resolve a matching constraint.

From-SVN: r24959

25 years agopt.c (tsubst, [...]): Check TYPE_BEING_DEFINED before calling complete_type_or_else.
Mark Mitchell [Mon, 1 Feb 1999 17:25:51 +0000 (17:25 +0000)]
pt.c (tsubst, [...]): Check TYPE_BEING_DEFINED before calling complete_type_or_else.

* pt.c (tsubst, case TYPENAME_TYPE): Check TYPE_BEING_DEFINED
before calling complete_type_or_else.

From-SVN: r24958

25 years agotop.c: Don't define ffe_is_ident_.
Zack Weinberg [Mon, 1 Feb 1999 14:50:40 +0000 (14:50 +0000)]
top.c: Don't define ffe_is_ident_.

1999-02-01  Zack Weinberg  <zack@rabi.columbia.edu>
* top.c: Don't define ffe_is_ident_.  Don't process
-f(no-)ident here.
* top.h: Remove declaration of ffe_is_ident_ and macros
ffe_is_ident() and ffe_set_is_ident().
* lex.c: Use flag_no_ident instead of ffe_is_ident().

From-SVN: r24957

25 years agoUse varrays for constant-equivalence data:
Ken Raeburn [Mon, 1 Feb 1999 12:50:53 +0000 (12:50 +0000)]
Use varrays for constant-equivalence data:

* varray.h (struct const_equiv_data): New type.
(union varray_data_tag): New element const_equiv.
(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV): New macros.
(VARRAY_SIZE): New macro, returns number of elements.
* integrate.h: Include varray.h.
(struct inline_remap): Replace const_equiv_map, const_age_map and
const_equiv_map_size with a const_equiv_varray element.
(MAYBE_EXTEND_CONST_EQUIV_VARRAY): New macro; grows varray if needed.
(SET_CONST_EQUIV_DATA): New macro; sets rtx and age fields simultaneously,
growing the varray if needed.
* integrate.c (global_const_equiv_map, global_const_equiv_map_size): Deleted,
replaced by....
(global_const_equiv_varray): New variable.
(expand_inline_function): References changed.
* integrate.h: Update declarations.
* integrate.c (process_reg_parm, expand_inline_function,
copy_rtx_and_substitute, try_constants, subst_constants, mark_stores): Use
varray allocation and accessor macros, new integrate.h macros, and
global_const_equiv_varray.  Don't conditionalize non-NULL stores on array size;
instead, expand the array as needed.
* unroll.c (unroll_loop): Likewise.
* unroll.c (unroll_loop): Initialize const_equiv_varray element to zero.  After
allocating varray, always exit through bottom of function, where it can be
deallocated if needed.  Don't explicitly reallocate const_equiv_map storage;
instead, just ensure the varray has been initialized, and update the global
reference.

From-SVN: r24956

25 years agoMakefile.in: Add missing dependencies for jcf-dump.o, gjavah.o, check-init.o, jv...
Hans-Peter Nilsson [Mon, 1 Feb 1999 12:38:56 +0000 (13:38 +0100)]
Makefile.in: Add missing dependencies for jcf-dump.o, gjavah.o, check-init.o, jv-scan.o

Thu Jan 28 09:17:51 1999  Hans-Peter Nilsson  <hp@axis.se>
* java/Makefile.in: Add missing dependencies for jcf-dump.o,
gjavah.o, check-init.o, jv-scan.o

From-SVN: r24955

25 years agoMakefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS" to avoid installing anything.
Manfred Hollstein [Mon, 1 Feb 1999 10:33:58 +0000 (10:33 +0000)]
Makefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS" to avoid installing anything.

  * util/Makefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS"
to avoid installing anything.
(noinst_SCRIPTS): Likewise.
  * util/Makefile.in: Regenerate using automake-1.3.

From-SVN: r24954