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
Jeffrey A Law [Sat, 6 Feb 1999 17:12:29 +0000 (17:12 +0000)]
* typeck2.c: Update email addrsses.
From-SVN: r25063
Jeffrey A Law [Sat, 6 Feb 1999 17:06:57 +0000 (17:06 +0000)]
* g77.texi: Update email addresses.
From-SVN: r25062
Jeffrey A Law [Sat, 6 Feb 1999 17:04:18 +0000 (17:04 +0000)]
* README: Update email addresses.
From-SVN: r25061
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
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
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
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
Jeff Law [Sat, 6 Feb 1999 00:47:03 +0000 (17:47 -0700)]
Daily bump.
From-SVN: r25052
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
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
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
Brendan Kehoe [Fri, 5 Feb 1999 12:28:26 +0000 (07:28 -0500)]
bogus tests
From-SVN: r25048
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
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
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
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
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
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
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
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
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
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
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
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
Jeff Law [Fri, 5 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25035
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
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
Brendan Kehoe [Thu, 4 Feb 1999 19:33:22 +0000 (14:33 -0500)]
fix to actually offer usable results
From-SVN: r25032
Ulrich Drepper [Thu, 4 Feb 1999 15:53:14 +0000 (15:53 +0000)]
Update.
From-SVN: r25031
Ulrich Drepper [Thu, 4 Feb 1999 15:52:53 +0000 (15:52 +0000)]
Configuration fragment for thread lbirary.
From-SVN: r25030
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
Ulrich Drepper [Thu, 4 Feb 1999 15:51:42 +0000 (15:51 +0000)]
Add support for Solaris thread library.
From-SVN: r25028
Ulrich Drepper [Thu, 4 Feb 1999 15:51:19 +0000 (15:51 +0000)]
Recognize _SOLTHREADS and define internal macros appropriately.
From-SVN: r25027
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
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
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
Craig Burley [Thu, 4 Feb 1999 09:35:23 +0000 (04:35 -0500)]
fix typo in libf2c/ChangeLog
From-SVN: r25023
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
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
Gavin Romig-Koch [Thu, 4 Feb 1999 07:52:04 +0000 (07:52 +0000)]
update copyright
From-SVN: r25020
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
Jeff Law [Thu, 4 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25018
Jason Merrill [Wed, 3 Feb 1999 23:30:20 +0000 (18:30 -0500)]
update
From-SVN: r25017
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
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
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
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
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
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
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
Craig Burley [Wed, 3 Feb 1999 15:38:49 +0000 (10:38 -0500)]
Change my email address
From-SVN: r25009
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
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
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
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
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
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
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
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
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
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
Bob Manson [Wed, 3 Feb 1999 01:13:52 +0000 (01:13 +0000)]
Missed commit from last.
From-SVN: r24998
Jeff Law [Wed, 3 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24997
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
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
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
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
Joern Rennecke [Tue, 2 Feb 1999 22:05:52 +0000 (22:05 +0000)]
New test.
From-SVN: r24989
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
Richard Henderson [Tue, 2 Feb 1999 21:49:34 +0000 (13:49 -0800)]
Missed from last commit.
From-SVN: r24987
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
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
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
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
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
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
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
Jeffrey A Law [Tue, 2 Feb 1999 18:49:16 +0000 (18:49 +0000)]
* intl/Makefile.in (uninstall): Add missing "; \".
From-SVN: r24977
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
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
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
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
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
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
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
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
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
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
Per Bothner [Tue, 2 Feb 1999 10:18:25 +0000 (02:18 -0800)]
Fix typo in comment.
From-SVN: r24966
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
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
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
Jeff Law [Tue, 2 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24962
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
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
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
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
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
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