OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years ago
mmitchel [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.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18802 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18801 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18800 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
bkoz [Tue, 24 Mar 1998 12:24:59 +0000 (12:24 +0000)]

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18799 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
bkoz [Tue, 24 Mar 1998 12:24:56 +0000 (12:24 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18798 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18797 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18796 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18795 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoCutover various gen*.c files to using system.h:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18794 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agos/mrs/bkoz/
brendan [Tue, 24 Mar 1998 08:54:17 +0000 (08:54 +0000)]
s/mrs/bkoz/

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18793 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agofix memoize
jason [Tue, 24 Mar 1998 00:27:42 +0000 (00:27 +0000)]
fix memoize

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18792 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18791 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18790 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-lang.c (lang_print_xnode): New function.
law [Mon, 23 Mar 1998 23:04:47 +0000 (23:04 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18789 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-parse.in: Recognize protocol qualifiers in class
law [Mon, 23 Mar 1998 22:59:18 +0000 (22:59 +0000)]
    * c-parse.in: Recognize protocol qualifiers in class
        definitions for objc.
        Include "output.h".
        (yyerror): Remove redundant decl.
        (yyprint): Fix prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18788 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18787 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18786 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
law [Mon, 23 Mar 1998 22:35:37 +0000 (22:35 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18785 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
law [Mon, 23 Mar 1998 22:29:33 +0000 (22:29 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18784 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18783 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * h8300.h (CONST_COSTS): Remove definition.
law [Mon, 23 Mar 1998 22:18:55 +0000 (22:18 +0000)]
    * h8300.h (CONST_COSTS): Remove definition.
        (DEFAULT_RTX_COSTS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18782 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18781 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18774 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Mon, 23 Mar 1998 04:41:58 +0000 (04:41 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18770 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoMore merge stuff.
law [Sun, 22 Mar 1998 22:35:21 +0000 (22:35 +0000)]
More merge stuff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18769 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18768 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18767 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoThis commit was generated by cvs2svn to compensate for changes in r18765,
law [Sun, 22 Mar 1998 20:43:15 +0000 (20:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r18765,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18766 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Sun, 22 Mar 1998 18:34:31 +0000 (18:34 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18760 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18757 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18753 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoThis commit was generated by cvs2svn to compensate for changes in r18750,
law [Sun, 22 Mar 1998 09:42:52 +0000 (09:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r18750,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18751 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Sat, 21 Mar 1998 23:52:59 +0000 (23:52 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18748 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
law [Sat, 21 Mar 1998 23:52:13 +0000 (23:52 +0000)]
    * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18747 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.in: Various fixes for building cygwin32 native toolchains.
law [Sat, 21 Mar 1998 23:49:35 +0000 (23:49 +0000)]
    * Makefile.in: Various fixes for building cygwin32 native toolchains.
        * Make-lang.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18745 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
law [Sat, 21 Mar 1998 23:49:21 +0000 (23:49 +0000)]
    * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
        * objc/Make-lang.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18744 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.in: Various fixes for building cygwin32 native toolchains.
law [Sat, 21 Mar 1998 23:47:27 +0000 (23:47 +0000)]
    * Makefile.in: Various fixes for building cygwin32 native toolchains.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18743 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18742 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18741 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18740 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18735 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18731 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoMajor cutover to using system.h:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18726 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18725 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (complete_template_args): Rewrite.
jason [Fri, 20 Mar 1998 10:44:06 +0000 (10:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18724 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18723 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
manfred [Fri, 20 Mar 1998 00:33:35 +0000 (00:33 +0000)]
8
* Makefile.in (install-gcc): Don't specify LANGUAGES here.
(install-gcc-cross): Instead, override LANGUAGES here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18722 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18721 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18720 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18719 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18718 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18717 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fold-const.c (fold): Replace sign-extension of a zero extended
law [Thu, 19 Mar 1998 19:27:18 +0000 (19:27 +0000)]
    * fold-const.c (fold): Replace sign-extension of a zero extended
        value by a single zero extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18713 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * except.c (init_eh): Do nothing.
jason [Thu, 19 Mar 1998 18:49:57 +0000 (18:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18710 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agonew
jason [Thu, 19 Mar 1998 11:53:41 +0000 (11:53 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18709 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (get_bindings_real): Rename from get_bindings. Add
jason [Thu, 19 Mar 1998 11:52:21 +0000 (11:52 +0000)]
* pt.c (get_bindings_real): Rename from get_bindings.  Add
check_rettype parm.
(get_bindings): Pass 1.
(get_bindings_overload): Pass 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18708 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18705 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (check_explicit_specialization): When reverting a static
mmitchel [Thu, 19 Mar 1998 09:08:53 +0000 (09:08 +0000)]
* pt.c (check_explicit_specialization): When reverting a static
member function, also remove the `this' parameter from
last_function_parms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18704 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoMore warning fixes...
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18703 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18702 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl.c (store_bindings): Use free_binding_vecs.
jason [Thu, 19 Mar 1998 02:41:03 +0000 (02:41 +0000)]
* decl.c (store_bindings): Use free_binding_vecs.
(pop_from_top_level): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18701 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoP
manfred [Thu, 19 Mar 1998 00:16:37 +0000 (00:16 +0000)]
P
* regclass.c (memory_move_secondary_cost): Wrap uses of
SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
with #ifdef tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18699 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18698 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 19 Mar 1998 00:09:50 +0000 (00:09 +0000)]

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18697 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 19 Mar 1998 00:09:48 +0000 (00:09 +0000)]

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18696 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 19 Mar 1998 00:09:47 +0000 (00:09 +0000)]

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18695 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
manfred [Thu, 19 Mar 1998 00:09:46 +0000 (00:09 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18694 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoP
manfred [Thu, 19 Mar 1998 00:01:20 +0000 (00:01 +0000)]
P
* final.c (insn_noperands): Change type to unsigned int.
(final_scan_insn): Likewise for noperands;
properly check operand number boundaries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18693 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 19 Mar 1998 00:01:18 +0000 (00:01 +0000)]

* final.c (insn_noperands): Change type to unsigned int.
(final_scan_insn): Likewise for noperands;
properly check operand number boundaries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18692 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTestcase for reg-stack failure for testcase using fp conditional move.
wilson [Wed, 18 Mar 1998 16:28:32 +0000 (16:28 +0000)]
Testcase for reg-stack failure for testcase using fp conditional move.
* gcc.dg/980313-1.c: New test for fp conditional move on PPro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18679 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * gcc.dg/980312-1.c: Fix typo in -march command.
wilson [Wed, 18 Mar 1998 16:22:58 +0000 (16:22 +0000)]
* gcc.dg/980312-1.c: Fix typo in -march command.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18678 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAlso fix op1's predicate, though extract_bit_field ignores it.
rth [Wed, 18 Mar 1998 16:22:17 +0000 (16:22 +0000)]
Also fix op1's predicate, though extract_bit_field ignores it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18677 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* alpha.md (extzv): Don't reject register operands. Fix
rth [Wed, 18 Mar 1998 16:21:14 +0000 (16:21 +0000)]
* alpha.md (extzv): Don't reject register operands.  Fix
mode of operand 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18676 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* dbxout.c (dbxout_function_end): Fix last change. The correct
rth [Wed, 18 Mar 1998 16:14:28 +0000 (16:14 +0000)]
* dbxout.c (dbxout_function_end): Fix last change.  The correct
predicate is ASM_OUTPUT_SECTION_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18675 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix bug reported by Toshi Morita.
wilson [Wed, 18 Mar 1998 15:45:35 +0000 (15:45 +0000)]
Fix bug reported by Toshi Morita.
* sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
(ashlsi): Use match_dup 1 instead of match_operand 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18674 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoCorrected spelling of my name
korbb [Wed, 18 Mar 1998 14:09:23 +0000 (14:09 +0000)]
Corrected spelling of my name

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18673 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
rth [Wed, 18 Mar 1998 13:45:28 +0000 (13:45 +0000)]
Wed Mar 18 13:46:07 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * fold-const.c (operand_equal_for_comparison_p): See if equal
        when nop conversions are removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18672 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
rth [Wed, 18 Mar 1998 13:41:50 +0000 (13:41 +0000)]
Wed Mar 18 13:42:01 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * expr.c (expand_expr, case COND_EXPR): If have conditional move,
        don't use ORIGINAL_TARGET unless REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18671 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
amylaar [Wed, 18 Mar 1998 12:52:07 +0000 (12:52 +0000)]
* netbsd.h (ASM_OUTPUT_ALIGN): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18670 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix sparc-sun-solaris2 -O2 -fPIC bootstrap failure with gcse code.
wilson [Wed, 18 Mar 1998 12:45:22 +0000 (12:45 +0000)]
Fix sparc-sun-solaris2 -O2 -fPIC bootstrap failure with gcse code.
* loop.c (struct movable): New field move_insn_first.
(scan_loop): In consec sets code, set it.  Clear it otherwise.
(move_movables): In consec sets code, use it.  Copy REG_NOTES from
p to i1 only if i1 does not have REG_NOTES.  Delete obsolete ifdefed
out code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18669 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl.c (make_implicit_typename): Only change the type of a
jason [Wed, 18 Mar 1998 12:42:05 +0000 (12:42 +0000)]
* decl.c (make_implicit_typename): Only change the type of a
TYPENAME_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18668 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * semantics.c: New file, containing routines to perform the
mmitchel [Wed, 18 Mar 1998 10:52:04 +0000 (10:52 +0000)]
* semantics.c: New file, containing routines to perform the
semantic phase of parsing.
* parse.y: Use it.
* pt.c (tsubst_expr): Likewise.
* cp-tree.h: Declare the various functions in semantics.c.
Provide macros to access _STMT tree nodes.
* cp-tree.def: Add ASM_STMT tree node.
* Makefile.in, Make-lang.in: Add dependencies on and for
semantics.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18658 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
rth [Wed, 18 Mar 1998 09:55:53 +0000 (09:55 +0000)]
    * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
        is large, and the system doesn't provide atoll or atoq.
        (atoll): New.
        * alpha/xm-vms.h (HAVE_ATOLL): Define.
        Reported by Klaus Kaempf <kkaempf@progis.de>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18657 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1998-03-18 Dave Love <d.love@dl.ac.uk>
fx [Wed, 18 Mar 1998 08:51:01 +0000 (08:51 +0000)]
1998-03-18  Dave Love  <d.love@dl.ac.uk>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18656 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
fx [Wed, 18 Mar 1998 08:39:32 +0000 (08:39 +0000)]
($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18655 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix more warnings...
ghazi [Wed, 18 Mar 1998 07:18:06 +0000 (07:18 +0000)]
Fix more warnings...
        * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
        test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
        * calls.c (emit_call_1): Wrap variable `already_popped' with macro
        test !ACCUMULATE_OUTGOING_ARGS.
        * collect2.c (write_c_file_glob): Wrap function definition in
        macro test !LD_INIT_SWITCH.
        * combine.c (try_combine): Wrap variables `cc_use' and
        `compare_mode' in macro test EXTRA_CC_MODES.
        * cpplib.c (do_ident): Remove unused variable `len'.
        (skip_if_group): Remove unused variables `at_beg_of_line' and
        `after_ident'.
        (cpp_get_token): Remove unused variable `dummy'.
        * dbxout.c (scope_labelno): Move static variable definition inside
        the one function scope where it is used.
        (dbxout_function_end): Wrap prototype and definition in
        macro test !NO_DBX_FUNCTION_END.
        * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
        in macro test !MIPS_DEBUGGING_INFO.
        * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
        into the scope where it is used.  Wrap empty else-statement body
        in braces.
        * fix-header.c: Fix typo in comment.
        (inf_skip_spaces): Cast results of INF_UNGET to (void).
        (check_protection, main): Likewise.
        * flow.c (find_basic_blocks_1): Remove dangling comment text.
        * function.c (contains): Wrap prototype and definition in macro
        test HAVE_prologue || HAVE_epilogue.
        (fixup_var_refs_1): Remove unused variable `width'.
        * gen-protos.c (main): Remove unused variable `optr'.
        * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
        * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
        (__sjpopnthrow): Remove unused variable `jmpbuf'.
        (__throw): Remove unused variable `val'.
        * protoize.c: Check for a previously existing definition before
        defining *_OK macros.
        * scan-decls.c (scan_decls): Remove unused variable `old_written'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18654 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (push_template_decl): Only check primary templates.
jason [Wed, 18 Mar 1998 02:30:09 +0000 (02:30 +0000)]
* pt.c (push_template_decl): Only check primary templates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18653 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (check_explicit_specialization): Complain about default args
jason [Wed, 18 Mar 1998 01:07:57 +0000 (01:07 +0000)]
* pt.c (check_explicit_specialization): Complain about default args
in explicit specialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18652 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoupdate
jason [Wed, 18 Mar 1998 01:05:51 +0000 (01:05 +0000)]
update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18651 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * parse.y (nomods_initdcl0): Also call cp_finish_decl for a
jason [Wed, 18 Mar 1998 00:31:01 +0000 (00:31 +0000)]
* parse.y (nomods_initdcl0): Also call cp_finish_decl for a
constructor_declarator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18650 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRegenerate.
wilson [Tue, 17 Mar 1998 17:14:11 +0000 (17:14 +0000)]
Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18649 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRegenerate.
wilson [Tue, 17 Mar 1998 16:48:45 +0000 (16:48 +0000)]
Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18648 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * typeck2.c (build_x_arrow): Don't crash when an aggregate type
mmitchel [Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)]
* typeck2.c (build_x_arrow): Don't crash when an aggregate type
has no overloaded operator ->.
* call.c (build_field_call): Don't crash when presented with a
field that is actually a nested type.
* decl.c (pushtag): Deal with friend class injection in local
classes.
* call.c (build_object_call): Don't crash if OBJ is a
pointer-to-member-function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18647 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (push_template_decl): Complain about template with C linkage,
jason [Tue, 17 Mar 1998 12:20:38 +0000 (12:20 +0000)]
* pt.c (push_template_decl): Complain about template with C linkage,
anonymous template class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18646 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Tue, 17 Mar 1998 01:38:14 +0000 (01:38 +0000)]

* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18645 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Tue, 17 Mar 1998 01:38:13 +0000 (01:38 +0000)]

* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18644 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Tue, 17 Mar 1998 01:38:12 +0000 (01:38 +0000)]

* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18643 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoP
manfred [Tue, 17 Mar 1998 01:38:10 +0000 (01:38 +0000)]
P
* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18642 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
manfred [Tue, 17 Mar 1998 01:24:55 +0000 (01:24 +0000)]
8
* configure: When making link, also check the current
directory. The configure scripts may create one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18641 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agop
manfred [Tue, 17 Mar 1998 01:24:54 +0000 (01:24 +0000)]
p
* configure: When making link, also check the current
directory. The configure scripts may create one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18640 138bc75d-0d04-0410-961f-82ee72b054a4