Mark Mitchell [Wed, 10 Feb 1999 10:46:30 +0000 (10:46 +0000)]
cp-tree.h (get_template_base): Don't declare.
* cp-tree.h (get_template_base): Don't declare.
(dfs_walk): Declare.
(dfs_unmark): Likewise.
(markedp): Likewise.
* pt.c (unify): Remove duplicate declaration. Pass tparms and
targs to get_template_base.
(get_template_base_recursive): Move here from search.c. Check to
see that the base found can be instantiated to form the desired
type.
(get_template_base): Likewise.
(get_class_bindings): Simplify.
* search.c (get_template_base_recursive): Move to pt.c.
(get_template_base): Likewise.
(markedp): Make it global.
(dfs_walk): Likewise.
(dfs_unmark): Likewise.
From-SVN: r25128
Jim Wilson [Wed, 10 Feb 1999 10:35:40 +0000 (10:35 +0000)]
Delete temporary file.
From-SVN: r25127
Mark Mitchell [Wed, 10 Feb 1999 10:28:07 +0000 (10:28 +0000)]
cp-tree.h (get_template_base): Don't declare.
* cp-tree.h (get_template_base): Don't declare.
(dfs_walk): Declare.
(dfs_unmark): Likewise.
(markedp): Likewise.
* pt.c (unify): Remove duplicate declaration. Pass tparms and
targs to get_template_base.
(get_template_base_recursive): Move here from search.c. Check to
see that the base found can be instantiated to form the desired
type.
(get_template_base): Likewise.
(get_class_bindings): Simplify.
* search.c (get_template_base_recursive): Move to pt.c.
(get_template_base): Likewise.
(markedp): Make it global.
(dfs_walk): Likewise.
(dfs_unmark): Likewise.
From-SVN: r25126
Mark Mitchell [Wed, 10 Feb 1999 09:56:36 +0000 (09:56 +0000)]
rtlanal.c (for_each_rtx): Fix declaration to conform to GNU coding standards.
* rtlanal.c (for_each_rtx): Fix declaration to conform to GNU
coding standards.
From-SVN: r25125
Jeffrey A Law [Wed, 10 Feb 1999 09:13:41 +0000 (09:13 +0000)]
reload1.c (reload_combine_note_store): Second argument is no longer unused/ignored.
* reload1.c (reload_combine_note_store): Second argument is no
longer unused/ignored. Handle multi-register hard regs.
(move2add_note_store): Simplify.
From-SVN: r25124
Mumit Khan [Wed, 10 Feb 1999 09:09:22 +0000 (09:09 +0000)]
* collect2.c (collect_execute): Remove cygwin-specific code.
From-SVN: r25123
Jeff Law [Wed, 10 Feb 1999 00:45:06 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25122
Mumit Khan [Tue, 9 Feb 1999 23:52:06 +0000 (23:52 +0000)]
cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore fpic/fPIC for windows32 targets.
* i386/cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore
fpic/fPIC for windows32 targets.
* i386/xm-cygwin.h (GET_ENV_PATH_LIST): Replace '\\' in windows32
paths with '/'.
* i386/mingw32.h (CPP_SPEC): Define.
(CPP_PREDEFINES): Add MINGW32 version id.
* i386/crtdll.h (CPP_PREDEFINES): Likewise.
From-SVN: r25121
Mumit Khan [Tue, 9 Feb 1999 21:01:13 +0000 (14:01 -0700)]
configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config/mh-cygwin32.
x
* configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of
the old name config/mh-cygwin32.
Enable texinfo.
From-SVN: r25120
Mumit Khan [Tue, 9 Feb 1999 21:01:11 +0000 (14:01 -0700)]
configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config/mh-cygwin32.
�
* configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of
the old name config/mh-cygwin32.
Enable texinfo.
From-SVN: r25119
Mumit Khan [Tue, 9 Feb 1999 20:55:29 +0000 (20:55 +0000)]
Makefile.in (collect2$(exeext)): Delete redundant dependency and add missing exeext to target.
* Makefile.in (collect2$(exeext)): Delete redundant dependency and
add missing exeext to target.
From-SVN: r25118
Nathan Sidwell [Tue, 9 Feb 1999 20:30:46 +0000 (20:30 +0000)]
system.h (_, N_): Remove dummy i18n macros.
* system.h (_, N_): Remove dummy i18n macros.
* protoize.c: Move inclusion of intl.h to after system.h.
* cexp.y: Include intl.h.
* cexp.c: Rebuilt.
From-SVN: r25117
Nathan Sidwell [Tue, 9 Feb 1999 19:55:01 +0000 (19:55 +0000)]
Makefile.in (distclean): Move Makefile deletion to end of commands.
* Makefile.in (distclean): Move Makefile deletion to end of
commands.
From-SVN: r25116
Mumit Khan [Tue, 9 Feb 1999 19:48:40 +0000 (19:48 +0000)]
* gcc.c (convert_filename): Handle null filename argument.
From-SVN: r25115
Alexandre Petit-Bianco [Tue, 9 Feb 1999 19:40:16 +0000 (19:40 +0000)]
lex.c (java_lang_cloneable): Initialize.
Tue Feb 9 19:31:09 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (java_lang_cloneable): Initialize.
* parse.y (java_lang_cloneable): New static variable.
(qualify_ambiguous_name): Take CONVERT_EXPR into account when
doing one more qualification round.
(valid_ref_assignconv_cast_p): Reject null source or
destination. Allow an array to be cast into java.lang.Cloneable.
(patch_cast): Swapped two first arguments to first call to
valid_ref_assignconv_cast_p.
From-SVN: r25114
Michael Hayes [Tue, 9 Feb 1999 18:50:19 +0000 (18:50 +0000)]
c4x.md (*movhf_noclobber, [...]): Use m constraint instead of QT.
* config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use
m constraint instead of QT.
From-SVN: r25113
Brendan Kehoe [Tue, 9 Feb 1999 15:02:18 +0000 (15:02 +0000)]
cpplib.c (special_symbol): Move IP to be declared in function scope, rather than individual case statements.
* cpplib.c (special_symbol): Move IP to be declared in function
scope, rather than individual case statements.
fixes building under solaris
From-SVN: r25112
Zack Weinberg [Tue, 9 Feb 1999 13:48:34 +0000 (13:48 +0000)]
[multiple changes]
1999-02-09 16:42 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* cppfiles.c (finclude): Handle pipes properly under old BSD
derivatives.
1999-02-09 16:42 -0500 Melissa O'Neill <oneill@cs.sfu.ca>
* system.h: Provide fallback definitions for S_ISCHR,
S_ISSOCK, S_ISFIFO, O_NONBLOCK, and O_NOCTTY.
From-SVN: r25111
Dave Brolley [Tue, 9 Feb 1999 13:40:23 +0000 (13:40 +0000)]
Makefile.in: Change mkstemp -> mkstemps.
Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
* Makefile.in: Change mkstemp -> mkstemps.
From-SVN: r25110
Zack Weinberg [Tue, 9 Feb 1999 07:31:59 +0000 (07:31 +0000)]
cpplib.c (do_define): Allow redefining __STDC__ with -D.
1999-02-09 10:30 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* cpplib.c (do_define): Allow redefining __STDC__ with -D.
From-SVN: r25109
Jeff Law [Tue, 9 Feb 1999 00:45:06 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25108
Jim Blandy [Tue, 9 Feb 1999 00:23:07 +0000 (00:23 +0000)]
configure.in: For PowerPC configurations...
1999-02-09 Jim Blandy <jimb@zwingli.cygnus.com>
* configure.in: For PowerPC configurations, accept "401", "ec603e",
"740", and "750" as valid arguments to --with-cpu.
* configure: Rebuilt.
From-SVN: r25107
Marc Espie [Tue, 9 Feb 1999 00:17:32 +0000 (01:17 +0100)]
Makefile.in (REQUIRED_OFILES): remove mkstemp.o
* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
* configure.in (funcs): Check for and conditionally add mkstemps to
the list of functions libiberty will provide.
* configure: Rebuilt.
From-SVN: r25106
Mark Kettenis [Mon, 8 Feb 1999 23:04:55 +0000 (23:04 +0000)]
configure.in (i[34567]86-*gnu*): Set float_format to i386.
* configure.in (i[34567]86-*gnu*): Set float_format to i386.
* configure: Rebuilt.
From-SVN: r25104
Richard Henderson [Mon, 8 Feb 1999 22:02:13 +0000 (14:02 -0800)]
Clarify inline substitution failure.
From-SVN: r25103
Jeffrey A Law [Mon, 8 Feb 1999 21:48:45 +0000 (21:48 +0000)]
rs6000.md: Revert "alternate use of crs if cr0 not available" patches from 01-22-1999...
* rs6000.md: Revert "alternate use of crs if cr0 not available"
patches from 01-22-1999, 01-24-1999, 01-26-1999, and 02-08-1999.
From-SVN: r25102
Richard Henderson [Mon, 8 Feb 1999 21:43:39 +0000 (13:43 -0800)]
* gcc.c-torture/execute/990208-1.c: New test.
From-SVN: r25101
Richard Henderson [Mon, 8 Feb 1999 21:39:33 +0000 (13:39 -0800)]
output.h (current_function_has_computed_jump): Rename from current_function_addresses_labels.
* output.h (current_function_has_computed_jump): Rename from
current_function_addresses_labels.
* function.h (struct function): Likewise for addresses_labels member.
* rtl.h (FUNCTION_FLAGS_HAS_COMPUTED_JUMP): Likewise.
* function.c (current_function_has_computed_jump): Likewise.
Update all references.
* integrate.c (function_cannot_inline_p):
Test current_function_has_computed_jump instead of addresses_labels.
(initialize_for_inline): Likewise save.
(output_inline_function): Likewise restore.
* expr.c (expand_expr): Don't reference addresses_labels variables.
* stmt.c (expand_computed_goto): Set has_computed_jump.
From-SVN: r25100
Michael Meissner [Mon, 8 Feb 1999 21:37:18 +0000 (21:37 +0000)]
This is being installed only to get it into the repository to help with the revert...
This is being installed only to get it into the repository to help
with the revert, resubmit & review process for the massive rs6000.md
changes.
* rs6000.md (andsi3_internal1 splitter): Don't split if using the
rlwinm instruction.
(anddi3_internal1): Ditto.
(andsi3_internal{2,3}): Correct some insn lengths.
(anddi3*): Restore missing TARGET_POWERPC64, and don't emit old
mnemonics.
From-SVN: r25099
Richard Henderson [Mon, 8 Feb 1999 21:34:25 +0000 (13:34 -0800)]
loop.c (reg_single_usage): New file-scope variable ...
* loop.c (reg_single_usage): New file-scope variable ...
(scan_loop): ... moved out of here. Always initialize.
Test loop_has_call instead of reg_single_usage not zero.
Free reg_single_usage after strength reduction.
(count_loop_regs_set): Assume single_usage non-zero.
(combine_givs_used_by_other): Test reg_single_usage.
(load_mems_and_recount_loop_regs_set): Remove reg_single_usage
as a parameter. Assume non-zero.
From-SVN: r25098
Zack Weinberg [Mon, 8 Feb 1999 20:27:27 +0000 (20:27 +0000)]
cpplib.c (special_symbol): Rewrite.
1999-02-08 23:25 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* cpplib.c (special_symbol): Rewrite. Don't copy things
multiple times. Handle __STDC__ specially. T_CONST
indicates a constant /string/. Don't handle T_*_TYPE and
T_SPEC_DEFINED. Use cpp_buf_line_and_col instead of
adjust_position. Determine the file buffer only if needed.
(initialize_builtins): Handle __SIZE_TYPE__,
__PTRDIFF_TYPE__, __WCHAR_TYPE__, __USER_LABEL_PREFIX__, and
__REGISTER_PREFIX__ with T_CONST special hashtab entries.
Don't provide __OBJC__; the driver does that. Provide
__STDC_VERSION__, using T_CONST. Use T_STDC for
__STDC__. Give install the length of all symbols defined.
(eval_if_expression): Drop code to insert and remove the
"defined" special symbol.
* cpplib.h: Remove SELF_DIR_DUMMY (no longer used). Remove
T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC.
* cpphash.c (install): Drop the `ivalue' parameter. Constify
the `value' parameter. All callers changed.
* cpphash.h (install): Change prototype to match.
(union hashval): Remove `ival' member.
* cppexp.c (cpp_lex): Handle `defined' here.
From-SVN: r25097
Jeff Law [Mon, 8 Feb 1999 16:34:10 +0000 (09:34 -0700)]
pa.h (EXTRA_CONSTRAINT): Fix comment.
* pa.h (EXTRA_CONSTRAINT): Fix comment.
From-SVN: r25096
Jeff Law [Mon, 8 Feb 1999 16:34:07 +0000 (09:34 -0700)]
pa.h (EXTRA_CONSTRAINT): Fix comment.
�
* pa.h (EXTRA_CONSTRAINT): Fix comment.
From-SVN: r25095
Vladimir Makarov [Mon, 8 Feb 1999 16:11:55 +0000 (16:11 +0000)]
Reset the correct date in Changelog for the previous patch.
From-SVN: r25094
Vladimir N. Makarov [Mon, 8 Feb 1999 16:00:46 +0000 (16:00 +0000)]
c-typeck.c (check_init_type_bitfields): Use nonincremental initialization of unions whose first member is a bitfield.
Mon Feb 9 18:57:45 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* c-typeck.c (check_init_type_bitfields): Use nonincremental
initialization of unions whose first member is a bitfield.
Remove unnecessary code for checking the declaration mode
after DECL_C_BIT_FIELD.
* varasm.c (output_constructor): Additional comment about the
constructor of bitfield union initialization.
From-SVN: r25093
Nick Clifton [Mon, 8 Feb 1999 15:04:12 +0000 (15:04 +0000)]
Replace \\n\\t with \\;
From-SVN: r25092
Michael Hayes [Mon, 8 Feb 1999 14:58:08 +0000 (14:58 +0000)]
c4x.md (*movhi_stik): New pattern.
* config/c4x/c4x.md (*movhi_stik): New pattern.
(movhi): Allow some immediate constants to be directly
stored in memory.
From-SVN: r25091
Michael Hayes [Mon, 8 Feb 1999 14:50:03 +0000 (14:50 +0000)]
c4x.md (all call patterns): Add constraints "Ur".
* config/c4x/c4x.md (all call patterns): Add constraints "Ur".
(call, call_value): Force address into a register if not valid
for a call instruction.
(load_immed_address): Emit a USE of the SYMBOL_REF that is
forced into memory.
* config/c4x/c4x.c (c4x_print_operand): Fix 'C' and 'U' modifiers.
From-SVN: r25090
Michael Hayes [Mon, 8 Feb 1999 14:18:31 +0000 (14:18 +0000)]
c4x.c (call_address_operand, [...]): Rename from call_operand and symbolic_operand respectively.
* config/c4x/c4x.c (call_address_operand, symbolic_address_operand):
Rename from call_operand and symbolic_operand respectively. All
callers changed.
* config/c4x/c4x.md (call_address_operand, symbolic_address_operand):
Likewise.
* config/c4x/c4x.h (call_address_operand, symbolic_address_operand):
Likewise.
(PREDICATE_CODES): Allow CONST, LABEL_REF for call_address_operand.
From-SVN: r25089
Zack Weinberg [Mon, 8 Feb 1999 14:17:04 +0000 (14:17 +0000)]
Replace changes in rev 1.223 which got lost
From-SVN: r25088
Michael Hayes [Mon, 8 Feb 1999 14:00:37 +0000 (14:00 +0000)]
c4x.c (c4x_legitimize_address): Don't generate a LO_SUM address for HImode or HFmode but instead force address...
* config/c4x/c4x.c (c4x_legitimize_address): Don't generate a
LO_SUM address for HImode or HFmode but instead force address into
a register so that it is offsettable.
(c4x_emit_move_sequence): Handle LO_SUM immediate address.
From-SVN: r25087
Michael Hayes [Mon, 8 Feb 1999 13:50:22 +0000 (13:50 +0000)]
c4x.c (c4x_address_cost): Return cost of 1 for REG+REG addressing if strength reduction enabled.
* config/c4x/c4x.c (c4x_address_cost): Return cost of 1 for
REG+REG addressing if strength reduction enabled.
From-SVN: r25086
Michael Hayes [Mon, 8 Feb 1999 13:36:56 +0000 (13:36 +0000)]
t-c4x (LIBGCC2_CFLAGS): Delete.
* config/c4x/t-c4x (LIBGCC2_CFLAGS): Delete.
(TARGET_LIBGCC2_CFLAGS): Define.
From-SVN: r25085
Nick Clifton [Mon, 8 Feb 1999 12:23:33 +0000 (12:23 +0000)]
Fix for PR 18535 - enforce -mlong-calls option
From-SVN: r25084
Jason Merrill [Mon, 8 Feb 1999 12:03:15 +0000 (07:03 -0500)]
update
From-SVN: r25083
Alexandre Petit-Bianco [Mon, 8 Feb 1999 11:54:04 +0000 (11:54 +0000)]
parse.h: DECL_P renamed JDECL_P.
Mon Feb 8 11:50:50 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h: DECL_P renamed JDECL_P.
* parse.y: DECL_P replaced by JDECL_P.
(build_array_from_name): Always use pointer's type.
(patch_bc_statement): Extra code to search continue target in a
for loop. Fixed comments. Continue target is current loop when
unlabeled.
From-SVN: r25082
Donn Terry [Mon, 8 Feb 1999 11:40:32 +0000 (11:40 +0000)]
* real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
From-SVN: r25081
Marc Espie [Mon, 8 Feb 1999 11:33:29 +0000 (03:33 -0800)]
* m88k/t-luna-gas: Remove bash dependency.
From-SVN: r25080
Graham Stott [Mon, 8 Feb 1999 11:31:34 +0000 (03:31 -0800)]
* collect2.c (xrealloc): fix typo in last change.
From-SVN: r25079
Alexandre Petit-Bianco [Mon, 8 Feb 1999 11:20:39 +0000 (11:20 +0000)]
lex.c (java_read_char): Fixed utf8 decoding.
Fri Jan 29 18:19:02 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (java_read_char): Fixed utf8 decoding.
(java_unicode_2_utf8): Fixed utf8 encoding in the 0x800-0xffff
range.
* parse.y (valid_builtin_assignconv_identity_widening_p): Fixed
comments. Local variable `all_primitive' is gone. Broadened
acceptance of `0' to floating point targets. `long' can now be
widened to `double' or `float'.
(valid_method_invocation_conversion_p): Added leading
comment. Fixed tabulation.
(build_string_concatenation): Optimize out left or right empty
string constants.
From-SVN: r25078
Jeffrey A Law [Mon, 8 Feb 1999 09:13:43 +0000 (02:13 -0700)]
Bump for snapshot
From-SVN: r25076
Jeff Law [Mon, 8 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25075
Robert Lipe [Sun, 7 Feb 1999 20:20:36 +0000 (20:20 +0000)]
tree.h (TYPE_CHECK): Make it clear to the preprocessor that we do not want macro replacement within...
* tree.h (TYPE_CHECK): Make it clear to the preprocessor
that we do not want macro replacement within a character constant.
(TYPE_CHECK1): Likewise.
From-SVN: r25074
Jason Merrill [Sun, 7 Feb 1999 15:57:14 +0000 (15:57 +0000)]
* Makefile.in (stuff2): Tweak.
From-SVN: r25073
Jason Merrill [Sun, 7 Feb 1999 15:44:12 +0000 (10:44 -0500)]
pt.c (maybe_process_partial_specialization): Complain about specialization in wrong namespace.
* pt.c (maybe_process_partial_specialization): Complain about
specialization in wrong namespace.
* tree.c (decl_namespace_context): New fn.
g++.pt/explicit73.C
* decl2.c (arg_assoc_type): Handle TEMPLATE_TEMPLATE_PARM.
* pt.c (coerce_template_template_parms): Handle nested
template template parameters.
g++.pt/nttp[12].C
From-SVN: r25072
Jonathan Larmour [Sun, 7 Feb 1999 15:40:17 +0000 (15:40 +0000)]
new
From-SVN: r25071
Jason Merrill [Sun, 7 Feb 1999 15:40:03 +0000 (10:40 -0500)]
update
From-SVN: r25070
Jason Merrill [Sun, 7 Feb 1999 15:37:43 +0000 (15:37 +0000)]
* tree.h (DECL_P): New macro.
From-SVN: r25069
Jeffrey A Law [Sun, 7 Feb 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r25067
Jeff Law [Sun, 7 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25066
Jeffrey A Law [Sat, 6 Feb 1999 17:25:19 +0000 (17:25 +0000)]
* mn10300.md (reload_insi): Do not earlyclobber the output operand.
From-SVN: r25065
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