Commit Graph

15894 Commits

Author SHA1 Message Date
Jim Wilson 8cf619daa1 Fix m68k bootstrap failure reported by Toon Moene.
* loop.c (scan_loop): Initialize move_insn_first to zero.

From-SVN: r18821
1998-03-25 02:32:36 -08:00
Jeff Law b2fbdce5d8 Initial revision
From-SVN: r18815
1998-03-24 19:20:37 -07:00
Jason Merrill 97e7cbe4fb * decl2.c (constructor_name_full): Handle TYPENAME_TYPE.
From-SVN: r18814
1998-03-24 21:05:53 -05:00
Joel Sherrill fe0714d3f3 go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
* config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
       * config/i386/rtems.h: Likewise.
       * config/i960/rtems.h: Likewise.
       * config/m68k/rtems.h: Likewise.
       * config/mips/rtems64.h: Likewise.
       * config/pa/rtems.h: Likewise.
       * config/rs6000/rtems.h: Likewise.
       * config/sh/rtems.h: Likewise.
       * config/sparc/rtems.h: Likewise.

From-SVN: r18813
1998-03-24 17:03:19 -07:00
Richard Kenner 428be70231 * pa.c (emit_move_sequence): If in reload, call find_replacement.
From-SVN: r18812
1998-03-24 16:53:47 -07:00
Jeff Law d275726b33 Merge in texinfo-3.12.
From-SVN: r18811
1998-03-24 12:41:43 -07:00
Jeff Law f35e74f9a6 Try test commit again. This time get everything.
From-SVN: r18808
1998-03-24 11:08:49 -07:00
Jeff Law bdfcdb1ba7 Dummy commit.
From-SVN: r18807
1998-03-24 10:58:30 -07:00
Nick Clifton 2ea9a96537 Support a .exe extension to gcov.
From-SVN: r18806
1998-03-24 17:27:46 +00:00
Mark Mitchell 9db4940cd6 tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
	* tree.c (mapcar): When dealing with a DECL, use it's constant
	value, if any.
	* pt.c (lookup_template_class): Don't mangle the names of template
	classes whose arguments are unknown.
	* pt.c (tsubst_expr): Handle GOTO_STMT correctly.

From-SVN: r18805
1998-03-24 16:13:12 +00:00
Mark Mitchell aa09da44c7 tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
	* tree.c (mapcar): When dealing with a DECL, use it's constant
	value, if any.
	* pt.c (lookup_template_class): Don't mangle the names of template
	classes whose arguments are unknown.
	* pt.c (tsubst_expr): Handle GOTO_STMT correctly.

From-SVN: r18804
1998-03-24 16:13:12 +00:00
Mark Mitchell ae16ec5f2c tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
	* tree.c (mapcar): When dealing with a DECL, use it's constant
	value, if any.
	* pt.c (lookup_template_class): Don't mangle the names of template
	classes whose arguments are unknown.
	* pt.c (tsubst_expr): Handle GOTO_STMT correctly.

From-SVN: r18803
1998-03-24 16:13:09 +00:00
Mark Mitchell d229896557 tree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
�
	* tree.c (mapcar): When dealing with a DECL, use it's constant
	value, if any.
	* pt.c (lookup_template_class): Don't mangle the names of template
	classes whose arguments are unknown.
	* pt.c (tsubst_expr): Handle GOTO_STMT correctly.

From-SVN: r18802
1998-03-24 16:13:08 +00:00
Nick Clifton 72cf690274 Add definition of GET_ENVIRONMENT and make prefix_from_env() use it.
From-SVN: r18801
1998-03-24 15:55:46 +00:00
Nick Clifton 1fdb7d9353 Ooops - fixed typo in previous delta
From-SVN: r18800
1998-03-24 14:38:09 +00:00
Benjamin Kosnik bc6ecde7f8 decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
�
Tue Mar 24 12:21:55 1998  Benjamin Kosnik  <bkoz@lisa.cygnus.com>
	* decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
Tue Mar 24 12:21:48 1998  Jim Wilson  <wilson@cygnus.com>
        * decl.c (init_decl_processing): Initialize TYPE_MAX_VALUE for
        boolean_type_node to 1.
Fixes for g++/15235

From-SVN: r18799
1998-03-24 12:24:59 +00:00
Benjamin Kosnik c1ea6a0b62 decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
8
Tue Mar 24 12:21:55 1998  Benjamin Kosnik  <bkoz@lisa.cygnus.com>
	* decl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
Tue Mar 24 12:21:48 1998  Jim Wilson  <wilson@cygnus.com>
        * decl.c (init_decl_processing): Initialize TYPE_MAX_VALUE for
        boolean_type_node to 1.
Fixes for g++/15235

From-SVN: r18798
1998-03-24 12:24:56 +00:00
Nick Clifton ae8c596367 Support win32 style absolute paths.
Add more debugging.

From-SVN: r18797
1998-03-24 10:49:50 +00:00
Mark Mitchell ff29fd003b Commit files missed with last commit.
From-SVN: r18796
1998-03-24 10:34:35 +00:00
Mark Mitchell 050367a36d cplus-dem.c (optable): Add sizeof.
* cplus-dem.c (optable): Add sizeof.
	(demangle_template_value_parm): New function containing code
	previously found in demangle_template.
	(demangle_integral_value): New function which handles complicated
	integral expressions.
	(demangle_template): Use them.
	* error.c (dump_expr): Remove unused variable `l'.
	* pt.c (for_each_template_parm): New function, created by
	converting uses_template_parms.
	(tree_fn_t): New typedef.
	(uses_template_parms): Use it.
	(mark_template_parm): New function.
	(push_template_decl): Check that the argument list of a partial
	specialization uses all the template parameters.
	* Make-lang.in (c++filt): Don't delete cxxmain.c after we're done
	with it; we might want it for debugging.
	* cp-tree.h (type_unification): Change interface.
	* class.c (finish_struct_1): Skip nested template types, just like
	ordinary nested types.
	(instantiate_type): Use new interface to type_unification.
	* lex.c (init_lex): Add __sz as opname for sizeof.
	* method.c (build_overload_scope_ref): New function.
	(build_overload_int): Handle complex expressions.  Set
	numeric_output_need_bar if necessary.
	(build_overload_value): Handle non-PARM_DECL nodes; this
	routine is now used by build_overload_int.  Remove some
	assignments to numeric_output_need_bar.  Use
	build_overload_scope_ref.
	(build_qualified_name): Note that some template mangled names end
	with digits, and set numeric_output_need_bar appropriately.  Use
	build_underscore_int.
	* pt.c (unify): Change interface.
	(type_unification_real): Likewise.
	(determine_specialization): Use new interfaces.
	(tsubst): Deal gracefully with situations in which the argument
	vector is not fully filled.
	(fn_type_unification): Use new interfaces.
	(type_unification): Likewise.  Remove NOP_EXPR hack.
	(type_unification_real): Likewise.
	(unify): Likewise.  Deal with unification of complex expresions.

From-SVN: r18795
1998-03-24 10:25:44 +00:00
Kaveh R. Ghazi 0b93b64e20 Cutover various gen*.c files to using system.h:
* Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
        genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
        genattrtab.o, genoutput.o): Depend on system.h.
        * genattr.c: Include system.h.  Add arguments to various function
        prototypes.  Remove redundant prototype of read_rtx().
        * genattrtab.c: Likewise.
        * gencodes.c: Likewise.
        * genconfig.c: Likewise.
        * genemit.c: Likewise.
        * genextract.c: Likewise.
        * genflags.c: Likewise.
        * genopinit.c: Likewise.
        * genoutput.c: Likewise.
        * genpeep.c: Likewise.
        * genrecog.c: Likewise.

From-SVN: r18794
1998-03-24 10:16:53 +00:00
Brendan Kehoe 4c5f3fcd5a s/mrs/bkoz/
From-SVN: r18793
1998-03-24 03:54:17 -05:00
Jason Merrill 1559e387d6 fix memoize
From-SVN: r18792
1998-03-23 19:27:42 -05:00
Jason Merrill 9c65eeca37 * pt.c (complete_template_args): Initialize skip properly.
From-SVN: r18791
1998-03-23 18:15:44 -05:00
Jason Merrill b3709d9b81 decl.c (make_typename_type): Revert.
* decl.c (make_typename_type): Revert.
	(make_implicit_typename): Remove.
	(lookup_name_real): Don't call it.  Call lookup_field if we see a
	TYPE_DECL from a template base.
	* search.c (lookup_field): Do implicit typename stuff.

From-SVN: r18790
1998-03-23 18:08:59 -05:00
Martin v. Löwis bc28965932 c-lang.c (lang_print_xnode): New function.
* c-lang.c (lang_print_xnode): New function.
	* objc/objc-act.c (lang_print_xnode): Likewise.
	* print-tree.c (print_node): Call it
	* com.c (lang_print_xnode): New function.

From-SVN: r18789
1998-03-23 16:04:47 -07:00
H.J. Lu 990ac8d730 c-parse.in: Recognize protocol qualifiers in class definitions for objc.
* c-parse.in: Recognize protocol qualifiers in class
        definitions for objc.
        Include "output.h".
        (yyerror): Remove redundant decl.
        (yyprint): Fix prototype.

From-SVN: r18788
1998-03-23 15:59:18 -07:00
Jeffrey A Law 47a0b68fb6 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
From-SVN: r18787
1998-03-23 15:55:04 -07:00
Jeffrey A Law 65d98182e3 * stmt.c (unroll_block_trees): Free block_vector if needed.
From-SVN: r18786
1998-03-23 15:49:48 -07:00
Philippe De Muyter 4b8bef1df0 m68k.md (zero_extendqidi2, [...]): New patterns.
* m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
        (zero_extendsidi2): Avoid useless copy.
        (iordi_zext): New pattern.
        (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
        operand 2.
        (iorsi_zext): New name for old unnamed pattern; indentation fixes.

From-SVN: r18785
1998-03-23 15:35:37 -07:00
Philippe De Muyter 3cac0a21fa m68k.md (ashldi_const): Allow shift count in range ]32,63].
* m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
        (ashldi3): Allow constant shift count in range ]32,63].
        (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.

From-SVN: r18784
1998-03-23 15:29:33 -07:00
Mark Mitchell 4da0595618 * tree.h (IS_EXPR_CODE_CLASS): New macro.
From-SVN: r18783
1998-03-23 22:20:22 +00:00
Jeffrey A Law 545f2aab0c h8300.h (CONST_COSTS): Remove definition.
* h8300.h (CONST_COSTS): Remove definition.
        (DEFAULT_RTX_COSTS): Define.

From-SVN: r18782
1998-03-23 15:18:55 -07:00
Joel Sherrill eef15f9f38 * config/sh/rtems.h: Switched from ELF to COFF.
From-SVN: r18781
1998-03-23 14:54:40 -07:00
J"orn Rennecke 4bca698618 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r18774
1998-03-23 06:16:24 +00:00
Jeff Law 1eb3e8442f Initial revision
From-SVN: r18770
1998-03-22 21:41:58 -07:00
Jeff Law 34b6478b59 More merge stuff.
From-SVN: r18769
1998-03-22 15:35:21 -07:00
Jeff Law b19e662bb2 Another merged file from 3.11 import.
From-SVN: r18768
1998-03-22 15:28:00 -07:00
Jeff Law f8b2ac1ece Merge in texinfo-3.11.
From-SVN: r18767
1998-03-22 14:47:59 -07:00
Jeff Law 8491377bd1 This commit was generated by cvs2svn to compensate for changes in r18765,
which included commits to RCS files with non-trunk default branches.

From-SVN: r18766
1998-03-22 13:43:15 -07:00
Jeff Law 7e98cc1669 Initial revision
From-SVN: r18760
1998-03-22 11:34:31 -07:00
Jeff Law 2731cc566b Merge in g77-0.5.22.
From-SVN: r18757
1998-03-22 03:43:37 -07:00
Jeff Law 44d2eabcec Merge in g77-0.5.22.
From-SVN: r18753
1998-03-22 03:06:48 -07:00
Jeff Law a05afbe3ce This commit was generated by cvs2svn to compensate for changes in r18750,
which included commits to RCS files with non-trunk default branches.

From-SVN: r18751
1998-03-22 02:42:52 -07:00
Jeffrey A Law 8ca77a11ca Bump for snapshot
From-SVN: r18748
1998-03-21 16:52:59 -07:00
Nick Clifton 4a0cf2aa3b xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
* config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.

Co-Authored-By: Geoff Noer <noer@cygnus.com>

From-SVN: r18747
1998-03-21 16:52:13 -07:00
Nick Clifton a73cab0f26 Makefile.in: Various fixes for building cygwin32 native toolchains.
* Makefile.in: Various fixes for building cygwin32 native toolchains.
        * Make-lang.in: Likewise.

Co-Authored-By: Geoff Noer <noer@cygnus.com>

From-SVN: r18745
1998-03-21 16:49:35 -07:00
Nick Clifton 35d541d4a8 Makefile.in: Various fixes for building cygwin32 native toolchains.
* objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
        * objc/Make-lang.in: Likewise.

Co-Authored-By: Geoff Noer <noer@cygnus.com>

From-SVN: r18744
1998-03-21 16:49:21 -07:00
Nick Clifton e09e14e9ef Makefile.in: Various fixes for building cygwin32 native toolchains.
* Makefile.in: Various fixes for building cygwin32 native toolchains.

Co-Authored-By: Geoff Noer <noer@cygnus.com>

From-SVN: r18743
1998-03-21 16:47:27 -07:00
Jeff Law 9dbb90b393 Minor tweak to PA scheduling stuff.
From-SVN: r18742
1998-03-21 16:22:03 -07:00