Commit Graph

15887 Commits

Author SHA1 Message Date
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
Jeff Law
b1d16193ed Minor tweak from Gerald Pfeifer.
From-SVN: r18741
1998-03-21 16:20:57 -07:00
R. Ganesan
535b86ce38 * configure.in: handle with-PACKAGE=no correctly
From-SVN: r18740
1998-03-21 16:19:10 -07:00
Kriang Lerdsuwanakij
362badb092 * pt.c (tsubst, TEMPLATE_TEMPLATE_PARM): Simplify.
From-SVN: r18735
1998-03-20 13:11:26 -05:00
Bruce Korb
9902495604 Initial revision
From-SVN: r18731
1998-03-20 16:19:40 +00:00
Kaveh R. Ghazi
670ee92097 Major cutover to using system.h:
* Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
        c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
        caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
        dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
        expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
        integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
        prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
        reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
        rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
        tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
        on system.h.
        * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
        c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
        caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
        dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
        expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
        integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
        prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
        reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
        rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
        stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
        xcoffout.c: Include system.h.  Organize include ordering so
        that stdarg/varargs comes before other system headers.  Remove
        spurious casts of functions assured of a prototype in system.h.

From-SVN: r18726
1998-03-20 14:58:42 +00:00
Jason Merrill
1107c4b3dd decl.c (make_implicit_typename): Rewrite removed code.
* decl.c (make_implicit_typename): Rewrite removed code.
	(make_typename_type): Call it if the type we look up comes from
	a base that uses template parms.

From-SVN: r18725
1998-03-20 06:43:36 -05:00
Jason Merrill
e6f1275f86 pt.c (complete_template_args): Rewrite.
* pt.c (complete_template_args): Rewrite.
	(tsubst, FUNCTION_DECL): Use it.
	* semantics.c (finish_asm_stmt): Fix combine strings. Call
	c_expand_asm_operands () if output_operands, input_operands or
	clobbers is not NULL_TREE.
	* pt.c (complete_template_args): New function.
	(get_bindings): Deal with specializations of function templates
	with return type containing parameters from outer class
	templates.
	(tsubst, TEMPLATE_TEMPLATE_PARM): When reducing parameter level,
	substitute arguments and compose a new type.

From-SVN: r18724
1998-03-20 05:44:06 -05:00