platform/upstream/gcc.git
26 years agorevert
Jason Merrill [Thu, 26 Mar 1998 11:41:23 +0000 (06:41 -0500)]
revert

From-SVN: r18844

26 years agodecl.c (grokdeclarator): Remove const and volatile from type after setting constp...
Jason Merrill [Thu, 26 Mar 1998 11:16:45 +0000 (11:16 +0000)]
decl.c (grokdeclarator): Remove const and volatile from type after setting constp and volatilep.

* decl.c (grokdeclarator): Remove const and volatile from type after
setting constp and volatilep.
* class.c (finish_struct_1): Don't warn about bool bitfield larger
than one bit.

From-SVN: r18843

26 years agoregclass.c (record_reg_classes): '?' increases cost by two.
J"orn Rennecke [Thu, 26 Mar 1998 10:44:22 +0000 (10:44 +0000)]
regclass.c (record_reg_classes): '?' increases cost by two.

* regclass.c (record_reg_classes): '?' increases cost by two.
* reload.c (find_reloads): Double previous costs.  Output
reloads cost one unit extra.
* reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
boiled down to && ! 0.
* reload.c (find_equiv_reg): Also consider a goal offset from the
frame pointer to be constant.

From-SVN: r18842

26 years agopt.c (convert_nontype_argument): STRIP_NOPS where appropriate.
Mark Mitchell [Thu, 26 Mar 1998 10:32:04 +0000 (10:32 +0000)]
pt.c (convert_nontype_argument): STRIP_NOPS where appropriate.

Thu Mar 26 10:25:52 1998  Mark Mitchell  <mmitchell@usa.net>
* pt.c (convert_nontype_argument): STRIP_NOPS where appropriate.

From-SVN: r18841

26 years agoacinclude.m4: Bring back changes lost during merge.
Jeffrey A Law [Thu, 26 Mar 1998 10:30:41 +0000 (10:30 +0000)]
acinclude.m4: Bring back changes lost during merge.

        * acinclude.m4: Bring back changes lost during merge.
        (mostly Cygwin, automake and EGCS_PROG_INSTALL stuff).
        * aclocal.m4: Likewise.
        * configure.in: Likewise.

From-SVN: r18840

26 years agocall.c (build_object_call): Complain about ambiguous operator(), rather that crashing.
Mark Mitchell [Thu, 26 Mar 1998 10:26:43 +0000 (10:26 +0000)]
call.c (build_object_call): Complain about ambiguous operator(), rather that crashing.

* call.c (build_object_call): Complain about ambiguous operator(),
rather that crashing.
(build_new_op): Likewise.
(build_op_delete_call): Likewise.

From-SVN: r18839

26 years agocvt.c (perform_qualification_conversions): Use comp_target_types instead of comp_ptr_...
Mark Mitchell [Thu, 26 Mar 1998 10:23:14 +0000 (10:23 +0000)]
cvt.c (perform_qualification_conversions): Use comp_target_types instead of comp_ptr_ttypes.

* cvt.c (perform_qualification_conversions): Use comp_target_types
instead of comp_ptr_ttypes.

From-SVN: r18838

26 years ago* sh.h (OPTIMIZATION_OPTIONS): Define.
J"orn Rennecke [Thu, 26 Mar 1998 10:17:32 +0000 (10:17 +0000)]
* sh.h (OPTIMIZATION_OPTIONS): Define.

From-SVN: r18837

26 years ago* combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
Richard Henderson [Thu, 26 Mar 1998 00:20:08 +0000 (16:20 -0800)]
* combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).

From-SVN: r18836

26 years agohaifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET instead of callin...
Jeff Law [Wed, 25 Mar 1998 22:58:40 +0000 (15:58 -0700)]
haifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET instead of calling REGNO_REG_SET_P for each pseudo.

        * haifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET
        instead of calling REGNO_REG_SET_P for each pseudo.
        (update_reg_usage): Likewise.
        (compute_block_backward)dependences): Do not call "free_list" for
        an empty list.
Improves compile times by about 7% on average on my PAs.

From-SVN: r18835

26 years ago* pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
Jeffrey A Law [Wed, 25 Mar 1998 22:49:26 +0000 (22:49 +0000)]
* pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.

From-SVN: r18834

26 years agocp-tree.h (enforce_access): Declare.
Mark Mitchell [Wed, 25 Mar 1998 16:14:49 +0000 (16:14 +0000)]
cp-tree.h (enforce_access): Declare.

Wed Mar 25 16:10:50 1998  Mark Mitchell  <mmitchell@usa.net>
* cp-tree.h (enforce_access): Declare.
* call.c (enforce_access): Make it extern, not static.
* class.c (alter_access): Use enforce_access; modify code for ISO
compliance, rather than ARM rules.

From-SVN: r18832

26 years ago*** empty log message ***
Benjamin Kosnik [Wed, 25 Mar 1998 14:11:13 +0000 (14:11 +0000)]
*** empty log message ***

From-SVN: r18831

26 years ago
Benjamin Kosnik [Wed, 25 Mar 1998 14:11:13 +0000 (14:11 +0000)]

test cases for g++15235

From-SVN: r18830

26 years agonew test for EH w/ opt on
Brendan Kehoe [Wed, 25 Mar 1998 13:47:06 +0000 (08:47 -0500)]
new test for EH w/ opt on

From-SVN: r18829

26 years ago
Benjamin Kosnik [Wed, 25 Mar 1998 13:45:38 +0000 (13:45 +0000)]

fix for g++/15235 now generates a warning here

From-SVN: r18828

26 years agoFix bug reported by David C Binderman, accept 'L' when pedantic with FP format.
Jim Wilson [Wed, 25 Mar 1998 13:42:05 +0000 (13:42 +0000)]
Fix bug reported by David C Binderman, accept 'L' when pedantic with FP format.

* c-common.c (check_format_info): Initialize type, is_type.  New local
integral_format.  Don't warn for 'L' when pedantic.  Do warn for 'L'
when pedantic if used with integral format specifier.

From-SVN: r18827

26 years agoFix warnings from Kaveh R. Ghazi
Michael Meissner [Wed, 25 Mar 1998 13:17:37 +0000 (13:17 +0000)]
Fix warnings from Kaveh R. Ghazi

From-SVN: r18826

26 years agoAdd requisite build-don't-link.
Mark Mitchell [Wed, 25 Mar 1998 12:31:44 +0000 (12:31 +0000)]
Add requisite build-don't-link.

From-SVN: r18825

26 years ago* cp-tree.h: Fix typo.
Kriang Lerdsuwanakij [Wed, 25 Mar 1998 12:15:07 +0000 (12:15 +0000)]
* cp-tree.h: Fix typo.

From-SVN: r18824

26 years agoexpr.c (cplus_expand_expr): Only do PCC_STATIC_STRUCT_RETURN thing if (aggregate_valu...
Jason Merrill [Wed, 25 Mar 1998 10:54:42 +0000 (10:54 +0000)]
expr.c (cplus_expand_expr): Only do PCC_STATIC_STRUCT_RETURN thing if (aggregate_value_p (type)).

* expr.c (cplus_expand_expr): Only do PCC_STATIC_STRUCT_RETURN thing
if (aggregate_value_p (type)).

From-SVN: r18823

26 years agoAdd support for ARM's Thumb instruction set.
Nick Clifton [Wed, 25 Mar 1998 10:44:07 +0000 (10:44 +0000)]
Add support for ARM's Thumb instruction set.

From-SVN: r18822

26 years agoFix m68k bootstrap failure reported by Toon Moene.
Jim Wilson [Wed, 25 Mar 1998 10:32:36 +0000 (10:32 +0000)]
Fix m68k bootstrap failure reported by Toon Moene.

* loop.c (scan_loop): Initialize move_insn_first to zero.

From-SVN: r18821

26 years agoInitial revision
Jeff Law [Wed, 25 Mar 1998 02:20:37 +0000 (19:20 -0700)]
Initial revision

From-SVN: r18815

26 years ago* decl2.c (constructor_name_full): Handle TYPENAME_TYPE.
Jason Merrill [Wed, 25 Mar 1998 02:05:53 +0000 (02:05 +0000)]
* decl2.c (constructor_name_full): Handle TYPENAME_TYPE.

From-SVN: r18814

26 years agogo32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
Joel Sherrill [Wed, 25 Mar 1998 00:03:19 +0000 (00:03 +0000)]
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

26 years ago* pa.c (emit_move_sequence): If in reload, call find_replacement.
Richard Kenner [Tue, 24 Mar 1998 23:53:47 +0000 (23:53 +0000)]
* pa.c (emit_move_sequence): If in reload, call find_replacement.

From-SVN: r18812

26 years agoMerge in texinfo-3.12.
Jeff Law [Tue, 24 Mar 1998 19:41:43 +0000 (12:41 -0700)]
Merge in texinfo-3.12.

From-SVN: r18811

26 years agoTry test commit again. This time get everything.
Jeff Law [Tue, 24 Mar 1998 18:08:49 +0000 (11:08 -0700)]
Try test commit again.  This time get everything.

From-SVN: r18808

26 years agoDummy commit.
Jeff Law [Tue, 24 Mar 1998 17:58:30 +0000 (10:58 -0700)]
Dummy commit.

From-SVN: r18807

26 years agoSupport a .exe extension to gcov.
Nick Clifton [Tue, 24 Mar 1998 17:27:46 +0000 (17:27 +0000)]
Support a .exe extension to gcov.

From-SVN: r18806

26 years agotree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
Mark Mitchell [Tue, 24 Mar 1998 16:13:12 +0000 (16:13 +0000)]
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

26 years agotree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
Mark Mitchell [Tue, 24 Mar 1998 16:13:12 +0000 (16:13 +0000)]
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

26 years agotree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
Mark Mitchell [Tue, 24 Mar 1998 16:13:09 +0000 (16:13 +0000)]
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

26 years agotree.c (mapcar): When dealing with a DECL, use it's constant value, if any.
Mark Mitchell [Tue, 24 Mar 1998 16:13:08 +0000 (16:13 +0000)]
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

26 years agoAdd definition of GET_ENVIRONMENT and make prefix_from_env() use it.
Nick Clifton [Tue, 24 Mar 1998 15:55:46 +0000 (15:55 +0000)]
Add definition of GET_ENVIRONMENT and make prefix_from_env() use it.

From-SVN: r18801

26 years agoOoops - fixed typo in previous delta
Nick Clifton [Tue, 24 Mar 1998 14:38:09 +0000 (14:38 +0000)]
Ooops - fixed typo in previous delta

From-SVN: r18800

26 years agodecl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
Benjamin Kosnik [Tue, 24 Mar 1998 12:24:59 +0000 (12:24 +0000)]
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

26 years agodecl.c (init_decl_processing): Set TYPE_PRECISON for bools to 1.
Benjamin Kosnik [Tue, 24 Mar 1998 12:24:56 +0000 (12:24 +0000)]
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

26 years agoSupport win32 style absolute paths.
Nick Clifton [Tue, 24 Mar 1998 10:49:50 +0000 (10:49 +0000)]
Support win32 style absolute paths.

Add more debugging.

From-SVN: r18797

26 years agoCommit files missed with last commit.
Mark Mitchell [Tue, 24 Mar 1998 10:34:35 +0000 (10:34 +0000)]
Commit files missed with last commit.

From-SVN: r18796

26 years agocplus-dem.c (optable): Add sizeof.
Mark Mitchell [Tue, 24 Mar 1998 10:25:44 +0000 (10:25 +0000)]
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

26 years agoCutover various gen*.c files to using system.h:
Kaveh R. Ghazi [Tue, 24 Mar 1998 10:16:53 +0000 (10:16 +0000)]
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

26 years agos/mrs/bkoz/
Brendan Kehoe [Tue, 24 Mar 1998 08:54:17 +0000 (03:54 -0500)]
s/mrs/bkoz/

From-SVN: r18793

26 years agofix memoize
Jason Merrill [Tue, 24 Mar 1998 00:27:42 +0000 (19:27 -0500)]
fix memoize

From-SVN: r18792

26 years ago* pt.c (complete_template_args): Initialize skip properly.
Jason Merrill [Mon, 23 Mar 1998 23:15:44 +0000 (23:15 +0000)]
* pt.c (complete_template_args): Initialize skip properly.

From-SVN: r18791

26 years agodecl.c (make_typename_type): Revert.
Jason Merrill [Mon, 23 Mar 1998 23:08:59 +0000 (23:08 +0000)]
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

26 years agoc-lang.c (lang_print_xnode): New function.
Martin v. Löwis [Mon, 23 Mar 1998 23:04:47 +0000 (16:04 -0700)]
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

26 years agoc-parse.in: Recognize protocol qualifiers in class definitions for objc.
H.J. Lu [Mon, 23 Mar 1998 22:59:18 +0000 (22:59 +0000)]
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

26 years ago* cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
Jeffrey A Law [Mon, 23 Mar 1998 22:55:04 +0000 (22:55 +0000)]
* cse.c (rtx_cost): Only call CONST_COSTS if it is defined.

From-SVN: r18787

26 years ago* stmt.c (unroll_block_trees): Free block_vector if needed.
Jeffrey A Law [Mon, 23 Mar 1998 22:49:48 +0000 (22:49 +0000)]
* stmt.c (unroll_block_trees): Free block_vector if needed.

From-SVN: r18786

26 years agom68k.md (zero_extendqidi2, [...]): New patterns.
Philippe De Muyter [Mon, 23 Mar 1998 22:35:37 +0000 (23:35 +0100)]
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

26 years agom68k.md (ashldi_const): Allow shift count in range ]32,63].
Philippe De Muyter [Mon, 23 Mar 1998 22:29:33 +0000 (23:29 +0100)]
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

26 years ago* tree.h (IS_EXPR_CODE_CLASS): New macro.
Mark Mitchell [Mon, 23 Mar 1998 22:20:22 +0000 (22:20 +0000)]
* tree.h (IS_EXPR_CODE_CLASS): New macro.

From-SVN: r18783

26 years agoh8300.h (CONST_COSTS): Remove definition.
Jeffrey A Law [Mon, 23 Mar 1998 22:18:55 +0000 (22:18 +0000)]
h8300.h (CONST_COSTS): Remove definition.

        * h8300.h (CONST_COSTS): Remove definition.
        (DEFAULT_RTX_COSTS): Define.

From-SVN: r18782

26 years ago* config/sh/rtems.h: Switched from ELF to COFF.
Joel Sherrill [Mon, 23 Mar 1998 21:54:40 +0000 (21:54 +0000)]
* config/sh/rtems.h: Switched from ELF to COFF.

From-SVN: r18781

26 years ago* freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
J"orn Rennecke [Mon, 23 Mar 1998 06:16:24 +0000 (06:16 +0000)]
* freebsd.h (ASM_OUTPUT_ALIGN): Redefine.

From-SVN: r18774

26 years agoInitial revision
Jeff Law [Mon, 23 Mar 1998 04:41:58 +0000 (21:41 -0700)]
Initial revision

From-SVN: r18770

26 years agoMore merge stuff.
Jeff Law [Sun, 22 Mar 1998 22:35:21 +0000 (15:35 -0700)]
More merge stuff.

From-SVN: r18769

26 years agoAnother merged file from 3.11 import.
Jeff Law [Sun, 22 Mar 1998 22:28:00 +0000 (15:28 -0700)]
Another merged file from 3.11 import.

From-SVN: r18768

26 years agoMerge in texinfo-3.11.
Jeff Law [Sun, 22 Mar 1998 21:47:59 +0000 (14:47 -0700)]
Merge in texinfo-3.11.

From-SVN: r18767

26 years agoThis commit was generated by cvs2svn to compensate for changes in r18765,
Jeff Law [Sun, 22 Mar 1998 20:43:15 +0000 (13:43 -0700)]
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

26 years agoInitial revision
Jeff Law [Sun, 22 Mar 1998 18:34:31 +0000 (11:34 -0700)]
Initial revision

From-SVN: r18760

26 years agoMerge in g77-0.5.22.
Jeff Law [Sun, 22 Mar 1998 10:43:37 +0000 (03:43 -0700)]
Merge in g77-0.5.22.

From-SVN: r18757

26 years agoMerge in g77-0.5.22.
Jeff Law [Sun, 22 Mar 1998 10:06:48 +0000 (03:06 -0700)]
Merge in g77-0.5.22.

From-SVN: r18753

26 years agoThis commit was generated by cvs2svn to compensate for changes in r18750,
Jeff Law [Sun, 22 Mar 1998 09:42:52 +0000 (02:42 -0700)]
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

26 years agoBump for snapshot
Jeffrey A Law [Sat, 21 Mar 1998 23:52:59 +0000 (16:52 -0700)]
Bump for snapshot

From-SVN: r18748

26 years agoxm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
Nick Clifton [Sat, 21 Mar 1998 23:52:13 +0000 (23:52 +0000)]
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

26 years agoMakefile.in: Various fixes for building cygwin32 native toolchains.
Nick Clifton [Sat, 21 Mar 1998 23:49:35 +0000 (23:49 +0000)]
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

26 years agoMakefile.in: Various fixes for building cygwin32 native toolchains.
Nick Clifton [Sat, 21 Mar 1998 23:49:21 +0000 (23:49 +0000)]
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

26 years agoMakefile.in: Various fixes for building cygwin32 native toolchains.
Nick Clifton [Sat, 21 Mar 1998 23:47:27 +0000 (23:47 +0000)]
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

26 years agoMinor tweak to PA scheduling stuff.
Jeff Law [Sat, 21 Mar 1998 23:22:03 +0000 (16:22 -0700)]
Minor tweak to PA scheduling stuff.

From-SVN: r18742

26 years agoMinor tweak from Gerald Pfeifer.
Jeff Law [Sat, 21 Mar 1998 23:20:57 +0000 (16:20 -0700)]
Minor tweak from Gerald Pfeifer.

From-SVN: r18741

26 years ago* configure.in: handle with-PACKAGE=no correctly
R. Ganesan [Sat, 21 Mar 1998 23:19:10 +0000 (23:19 +0000)]
* configure.in: handle with-PACKAGE=no correctly

From-SVN: r18740

26 years ago* pt.c (tsubst, TEMPLATE_TEMPLATE_PARM): Simplify.
Kriang Lerdsuwanakij [Fri, 20 Mar 1998 18:11:26 +0000 (18:11 +0000)]
* pt.c (tsubst, TEMPLATE_TEMPLATE_PARM): Simplify.

From-SVN: r18735

26 years agoInitial revision
Bruce Korb [Fri, 20 Mar 1998 16:19:40 +0000 (16:19 +0000)]
Initial revision

From-SVN: r18731

26 years agoMajor cutover to using system.h:
Kaveh R. Ghazi [Fri, 20 Mar 1998 14:58:42 +0000 (14:58 +0000)]
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

26 years agodecl.c (make_implicit_typename): Rewrite removed code.
Jason Merrill [Fri, 20 Mar 1998 11:43:36 +0000 (11:43 +0000)]
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

26 years agopt.c (complete_template_args): Rewrite.
Jason Merrill [Fri, 20 Mar 1998 10:44:06 +0000 (05:44 -0500)]
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

26 years ago(pop_stack): Define. Pops any register on stack and adjusts the stack.
Stan Cox [Fri, 20 Mar 1998 08:28:06 +0000 (08:28 +0000)]
(pop_stack): Define. Pops any register on stack and adjusts the stack.

From-SVN: r18723

26 years agoMakefile.in (install-gcc): Don't specify LANGUAGES here.
Manfred Hollstein [Fri, 20 Mar 1998 00:33:35 +0000 (00:33 +0000)]
Makefile.in (install-gcc): Don't specify LANGUAGES here.

8
* Makefile.in (install-gcc): Don't specify LANGUAGES here.
(install-gcc-cross): Instead, override LANGUAGES here.

From-SVN: r18722

26 years agoconfigure.in (hppa1.0-hp-hpux10): Handle threads for this config too.
Jeffrey A Law [Thu, 19 Mar 1998 22:51:01 +0000 (22:51 +0000)]
configure.in (hppa1.0-hp-hpux10): Handle threads for this config too.

        * configure.in (hppa1.0-hp-hpux10): Handle threads for this
        config too.

From-SVN: r18721

26 years agopt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new FUNCTION_DECLs.
Mark Mitchell [Thu, 19 Mar 1998 22:31:22 +0000 (22:31 +0000)]
pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new FUNCTION_DECLs.

* pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new
FUNCTION_DECLs.

From-SVN: r18720

26 years ago* decl.c (make_implicit_typename): Lose useless code.
Jason Merrill [Thu, 19 Mar 1998 21:59:35 +0000 (21:59 +0000)]
* decl.c (make_implicit_typename): Lose useless code.

From-SVN: r18719

26 years ago* call.c (standard_conversion): Handle A* -> const A* properly.
Jason Merrill [Thu, 19 Mar 1998 21:37:25 +0000 (21:37 +0000)]
* call.c (standard_conversion): Handle A* -> const A* properly.

From-SVN: r18718

26 years ago* libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
Philippe De Muyter [Thu, 19 Mar 1998 20:24:35 +0000 (21:24 +0100)]
* libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.

From-SVN: r18717

26 years agofold-const.c (fold): Replace sign-extension of a zero extended value by a single...
Philippe De Muyter [Thu, 19 Mar 1998 19:27:18 +0000 (20:27 +0100)]
fold-const.c (fold): Replace sign-extension of a zero extended value by a single zero extension.

        * fold-const.c (fold): Replace sign-extension of a zero extended
        value by a single zero extension.

From-SVN: r18713

26 years agoexcept.c (init_eh): Do nothing.
Jason Merrill [Thu, 19 Mar 1998 18:49:57 +0000 (18:49 +0000)]
except.c (init_eh): Do nothing.

* except.c (init_eh): Do nothing.
(save_eh_status): Call init_eh_for_function, not init_eh.
* function.c (push_function_context_to): Don't call init_emit.

From-SVN: r18710

26 years agonew
Jason Merrill [Thu, 19 Mar 1998 11:53:41 +0000 (06:53 -0500)]
new

From-SVN: r18709

26 years agopt.c (get_bindings_real): Rename from get_bindings.
Jason Merrill [Thu, 19 Mar 1998 11:52:21 +0000 (11:52 +0000)]
pt.c (get_bindings_real): Rename from get_bindings.

* pt.c (get_bindings_real): Rename from get_bindings.  Add
check_rettype parm.
(get_bindings): Pass 1.
(get_bindings_overload): Pass 0.

From-SVN: r18708

26 years agoUndef RELATIVE_PREFIX_NOT_LINKDIR for System V/eabi
Michael Meissner [Thu, 19 Mar 1998 10:43:27 +0000 (10:43 +0000)]
Undef RELATIVE_PREFIX_NOT_LINKDIR for System V/eabi

From-SVN: r18705

26 years agopt.c (check_explicit_specialization): When reverting a static member function...
Mark Mitchell [Thu, 19 Mar 1998 09:08:53 +0000 (09:08 +0000)]
pt.c (check_explicit_specialization): When reverting a static member function...

* pt.c (check_explicit_specialization): When reverting a static
member function, also remove the `this' parameter from
last_function_parms.

From-SVN: r18704

26 years agoMore warning fixes...
Kaveh R. Ghazi [Thu, 19 Mar 1998 07:14:19 +0000 (07:14 +0000)]
More warning fixes...

        * final.c (shorten_branches): Add parentheses around +/- in
        operand of &.
        * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.

From-SVN: r18703

26 years agopt.c (tsubst_copy, CONST_DECL): Don't bother tsubsting a function context.
Jason Merrill [Thu, 19 Mar 1998 02:54:39 +0000 (02:54 +0000)]
pt.c (tsubst_copy, CONST_DECL): Don't bother tsubsting a function context.

* pt.c (tsubst_copy, CONST_DECL): Don't bother tsubsting
a function context.

From-SVN: r18702

26 years agodecl.c (store_bindings): Use free_binding_vecs.
Jason Merrill [Thu, 19 Mar 1998 02:41:03 +0000 (02:41 +0000)]
decl.c (store_bindings): Use free_binding_vecs.

* decl.c (store_bindings): Use free_binding_vecs.
(pop_from_top_level): Likewise.

From-SVN: r18701

26 years agoregclass.c (memory_move_secondary_cost): Wrap uses of SECONDARY_INPUT_RELOAD_CLASS...
Manfred Hollstein [Thu, 19 Mar 1998 00:16:37 +0000 (00:16 +0000)]
regclass.c (memory_move_secondary_cost): Wrap uses of SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS...

P
* regclass.c (memory_move_secondary_cost): Wrap uses of
SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
with #ifdef tests.

From-SVN: r18699

26 years ago*** empty log message ***
Manfred Hollstein [Thu, 19 Mar 1998 00:16:36 +0000 (00:16 +0000)]
*** empty log message ***

From-SVN: r18698

26 years agom68k.md (addqi3): Fix typo gen_INT vs.
Manfred Hollstein [Thu, 19 Mar 1998 00:09:50 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.


* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.

From-SVN: r18697

26 years agom68k.md (addqi3): Fix typo gen_INT vs.
Manfred Hollstein [Thu, 19 Mar 1998 00:09:48 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.


* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.

From-SVN: r18696

26 years agom68k.md (addqi3): Fix typo gen_INT vs.
Manfred Hollstein [Thu, 19 Mar 1998 00:09:47 +0000 (00:09 +0000)]
m68k.md (addqi3): Fix typo gen_INT vs.


* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
* flow.c (life_analysis): #include <sys/types.h> to make sure
size_t is defined.
* cplus-dem.c (demangle_function_name): Likewise.

From-SVN: r18695