platform/upstream/gcc.git
25 years agojvspec.c (xmalloc): Kill the prototype.
Jeffrey A Law [Wed, 10 Feb 1999 22:28:58 +0000 (22:28 +0000)]
jvspec.c (xmalloc): Kill the prototype.

        * jvspec.c (xmalloc): Kill the prototype.  It does not belong
        here anymore.

From-SVN: r25141

25 years agoFix 64b-x-32b cross compiler breakage. Make alpha-x-m32r work again.
Jim Wilson [Wed, 10 Feb 1999 17:28:24 +0000 (17:28 +0000)]
Fix 64b-x-32b cross compiler breakage.  Make alpha-x-m32r work again.

* emit-rtl.c (operand_subword): Sign extend REAL_VALUE_TO_TARGET_SINGLE
result.
* final.c (split_double): Sign extend REAL_VALUE_TO_TARGET_DOUBLE
result.
* real.c (endian): Delete sign extension code.
* config/m32r/m32r.md (movsf_insn+1): REAL_VALUE_TO_TARGET_SINGLE call
replaced with operand_subword call.

From-SVN: r25140

25 years agoTest gcc features used by ECOS.
Jonathan Larmour [Wed, 10 Feb 1999 16:00:06 +0000 (16:00 +0000)]
Test gcc features used by ECOS.

* gcc.dg/special/ecos.exp: New test driver for new tests with
special requirements.
* gcc.dg/special/alias-1.c: New test.
* gcc.dg/special/gcsec-1.c: New test.
* gcc.dg/special/weak-1.c: New test.
* gcc.dg/special/weak-1a.c: Accompanying file to weak-1.c.
* gcc.dg/special/weak-2.c: New test.
* gcc.dg/special/weak-2a.c: Accompanying file to weak-2.c.
* gcc.dg/special/weak-2b.c: Accompanying file to weak-2.c.
* gcc.dg/special/wkali-1.c: New test.
* gcc.dg/special/wkali-2.c: New test.
* gcc.dg/special/wkali-2a.c: Accompanying file to wkali-2.c.
* gcc.dg/special/wkali-2b.c: Accompanying file to wkali-2.c.

From-SVN: r25139

25 years agoalpha.md (cmov compound patterns): Delete.
Richard Henderson [Wed, 10 Feb 1999 15:17:20 +0000 (07:17 -0800)]
alpha.md (cmov compound patterns): Delete.

        * alpha.md (cmov compound patterns): Delete.  Jump can now
        create the correct constructs in the first place.

From-SVN: r25138

25 years agolex.c (yylex): Encode \0 as UTF8.
Alexandre Petit-Bianco [Wed, 10 Feb 1999 15:11:25 +0000 (15:11 +0000)]
lex.c (yylex): Encode \0 as UTF8.

1999-02-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* lex.c (yylex): Encode \0 as UTF8.

From-SVN: r25137

25 years agojvspec.c (lang_specific_driver): Use libgcj, not libjava.
Tom Tromey [Wed, 10 Feb 1999 14:27:53 +0000 (14:27 +0000)]
jvspec.c (lang_specific_driver): Use libgcj, not libjava.

* jvspec.c (lang_specific_driver): Use libgcj, not libjava.
* Makefile.in (jcf-path.o): Define LIBGCJ_ZIP_FILE.
(libgcj_zip): Renamed.
* jcf-path.c (add_entry): Use LIBGCJ_ZIP_FILE, not
LIBJAVA_ZIP_FILE.
(jcf_path_init): Use LIBGCJ_ZIP_FILE.

From-SVN: r25136

25 years agojvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.
Tom Tromey [Wed, 10 Feb 1999 14:05:24 +0000 (14:05 +0000)]
jvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.

* jvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.
(GC_NAME): Renamed -lgc to -lgcjgc.

From-SVN: r25135

25 years ago* mn10200.md (bset, bclr): Operand 0 is a read/write operand.
Jeffrey A Law [Wed, 10 Feb 1999 12:37:42 +0000 (12:37 +0000)]
* mn10200.md (bset, bclr): Operand 0 is a read/write operand.

From-SVN: r25134

25 years agoCleanup and bug-fix patch from Felix Lee.
Felix Lee [Wed, 10 Feb 1999 12:26:21 +0000 (12:26 +0000)]
Cleanup and bug-fix patch from Felix Lee.

        * lib/c-torture.exp (c-torture-compile): Pull out code for
        analyzing gcc error messages.
        (c-torture-execute): Likewise.  Fix some (harmless) false
        positives.
        * lib/gcc.exp (gcc_check_compile): New function.

From-SVN: r25133

25 years ago* configure.in (alphaev6*): Fix typo in target_cpu_default2.
Richard Henderson [Wed, 10 Feb 1999 11:08:04 +0000 (03:08 -0800)]
* configure.in (alphaev6*): Fix typo in target_cpu_default2.

From-SVN: r25132

25 years ago* gen-params (VTABLE_LABEL_PREFIX): Handle windows32.
Mumit Khan [Wed, 10 Feb 1999 11:04:34 +0000 (11:04 +0000)]
* gen-params (VTABLE_LABEL_PREFIX): Handle windows32.

From-SVN: r25130

25 years agombchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
Dave Brolley [Wed, 10 Feb 1999 11:00:12 +0000 (11:00 +0000)]
mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.

Wed Feb 10 13:59:18 1999  Dave Brolley  <brolley@cygnus.com>
* mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.

From-SVN: r25129

25 years agocp-tree.h (get_template_base): Don't declare.
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

25 years agoDelete temporary file.
Jim Wilson [Wed, 10 Feb 1999 10:35:40 +0000 (10:35 +0000)]
Delete temporary file.

From-SVN: r25127

25 years agocp-tree.h (get_template_base): Don't declare.
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

25 years agortlanal.c (for_each_rtx): Fix declaration to conform to GNU coding standards.
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

25 years agoreload1.c (reload_combine_note_store): Second argument is no longer unused/ignored.
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

25 years ago* collect2.c (collect_execute): Remove cygwin-specific code.
Mumit Khan [Wed, 10 Feb 1999 09:09:22 +0000 (09:09 +0000)]
* collect2.c (collect_execute): Remove cygwin-specific code.

From-SVN: r25123

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

From-SVN: r25122

25 years agocygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore fpic/fPIC for windows32...
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

25 years agoconfigure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config...
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

25 years agoconfigure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config...
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

25 years agoMakefile.in (collect2$(exeext)): Delete redundant dependency and add missing exeext...
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

25 years agosystem.h (_, N_): Remove dummy i18n macros.
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

25 years agoMakefile.in (distclean): Move Makefile deletion to end of commands.
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

25 years ago* gcc.c (convert_filename): Handle null filename argument.
Mumit Khan [Tue, 9 Feb 1999 19:48:40 +0000 (19:48 +0000)]
* gcc.c (convert_filename): Handle null filename argument.

From-SVN: r25115

25 years agolex.c (java_lang_cloneable): Initialize.
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

25 years agoc4x.md (*movhf_noclobber, [...]): Use m constraint instead of QT.
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

25 years agocpplib.c (special_symbol): Move IP to be declared in function scope, rather than...
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

25 years ago[multiple changes]
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

25 years agoMakefile.in: Change mkstemp -> mkstemps.
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

25 years agocpplib.c (do_define): Allow redefining __STDC__ with -D.
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

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

From-SVN: r25108

25 years agoconfigure.in: For PowerPC configurations...
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

25 years agoMakefile.in (REQUIRED_OFILES): remove mkstemp.o
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

25 years agoconfigure.in (i[34567]86-*gnu*): Set float_format to i386.
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

25 years agoClarify inline substitution failure.
Richard Henderson [Mon, 8 Feb 1999 22:02:13 +0000 (14:02 -0800)]
Clarify inline substitution failure.

From-SVN: r25103

25 years agors6000.md: Revert "alternate use of crs if cr0 not available" patches from 01-22...
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

25 years ago* gcc.c-torture/execute/990208-1.c: New test.
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

25 years agooutput.h (current_function_has_computed_jump): Rename from current_function_addresses...
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

25 years agoThis is being installed only to get it into the repository to help with the revert...
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

25 years agoloop.c (reg_single_usage): New file-scope variable ...
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

25 years agocpplib.c (special_symbol): Rewrite.
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

25 years agopa.h (EXTRA_CONSTRAINT): Fix comment.
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

25 years agopa.h (EXTRA_CONSTRAINT): Fix comment.
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

25 years agoReset the correct date in Changelog for the previous patch.
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

25 years agoc-typeck.c (check_init_type_bitfields): Use nonincremental initialization of unions...
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

25 years agoReplace \\n\\t with \\;
Nick Clifton [Mon, 8 Feb 1999 15:04:12 +0000 (15:04 +0000)]
Replace \\n\\t with \\;

From-SVN: r25092

25 years agoc4x.md (*movhi_stik): New pattern.
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

25 years agoc4x.md (all call patterns): Add constraints "Ur".
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

25 years agoc4x.c (call_address_operand, [...]): Rename from call_operand and symbolic_operand...
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

25 years agoReplace changes in rev 1.223 which got lost
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

25 years agoc4x.c (c4x_legitimize_address): Don't generate a LO_SUM address for HImode or HFmode...
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

25 years agoc4x.c (c4x_address_cost): Return cost of 1 for REG+REG addressing if strength reducti...
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

25 years agot-c4x (LIBGCC2_CFLAGS): Delete.
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

25 years agoFix for PR 18535 - enforce -mlong-calls option
Nick Clifton [Mon, 8 Feb 1999 12:23:33 +0000 (12:23 +0000)]
Fix for PR 18535 - enforce -mlong-calls option

From-SVN: r25084

25 years agoupdate
Jason Merrill [Mon, 8 Feb 1999 12:03:15 +0000 (07:03 -0500)]
update

From-SVN: r25083

25 years agoparse.h: DECL_P renamed JDECL_P.
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

25 years ago* real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
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

25 years ago* m88k/t-luna-gas: Remove bash dependency.
Marc Espie [Mon, 8 Feb 1999 11:33:29 +0000 (03:33 -0800)]
* m88k/t-luna-gas: Remove bash dependency.

From-SVN: r25080

25 years ago* collect2.c (xrealloc): fix typo in last change.
Graham Stott [Mon, 8 Feb 1999 11:31:34 +0000 (03:31 -0800)]
* collect2.c (xrealloc): fix typo in last change.

From-SVN: r25079

25 years agolex.c (java_read_char): Fixed utf8 decoding.
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

25 years agoBump for snapshot
Jeffrey A Law [Mon, 8 Feb 1999 09:13:43 +0000 (02:13 -0700)]
Bump for snapshot

From-SVN: r25076

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

From-SVN: r25075

25 years agotree.h (TYPE_CHECK): Make it clear to the preprocessor that we do not want macro...
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

25 years ago* Makefile.in (stuff2): Tweak.
Jason Merrill [Sun, 7 Feb 1999 15:57:14 +0000 (15:57 +0000)]
* Makefile.in (stuff2): Tweak.

From-SVN: r25073

25 years agopt.c (maybe_process_partial_specialization): Complain about specialization in wrong...
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

25 years agonew
Jonathan Larmour [Sun, 7 Feb 1999 15:40:17 +0000 (15:40 +0000)]
new

From-SVN: r25071

25 years agoupdate
Jason Merrill [Sun, 7 Feb 1999 15:40:03 +0000 (10:40 -0500)]
update

From-SVN: r25070

25 years ago* tree.h (DECL_P): New macro.
Jason Merrill [Sun, 7 Feb 1999 15:37:43 +0000 (15:37 +0000)]
* tree.h (DECL_P): New macro.

From-SVN: r25069

25 years agoBump for snapshot
Jeffrey A Law [Sun, 7 Feb 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot

From-SVN: r25067

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

From-SVN: r25066

25 years ago* mn10300.md (reload_insi): Do not earlyclobber the output operand.
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

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