OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years ago * error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or
jason [Tue, 12 May 1998 21:42:34 +0000 (21:42 +0000)]
* error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or
DECL_NAMESPACE_SCOPE_P.
(lang_decl_name): Likewise.
* pt.c (tsubst_friend_function, tsubst): Likewise.
* decl.c (pushdecl, redeclaration_error_message, start_decl,
cp_finish_decl, start_function): Likewise.
* class.c (finish_struct_1): Likewise.
* call.c (build_over_call): Likewise.
(compare_ics): Use DERIVED_FROM_P.

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

26 years agoFix aix --with-gnu-ld build failure reported by Brendan.
wilson [Tue, 12 May 1998 20:07:09 +0000 (20:07 +0000)]
Fix aix --with-gnu-ld build failure reported by Brendan.
* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.

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

26 years ago * reload1.c (gen_reload): Create REG_EQUIV notes.
amylaar [Tue, 12 May 1998 19:28:01 +0000 (19:28 +0000)]
* reload1.c (gen_reload): Create REG_EQUIV notes.

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

26 years ago * reload1.c (reload): Fix check for USEs to use code of pattern.
amylaar [Tue, 12 May 1998 14:25:14 +0000 (14:25 +0000)]
* reload1.c (reload): Fix check for USEs to use code of pattern.
(choose_reload_regs): Remove dead variable use_insn.

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

26 years ago * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
law [Tue, 12 May 1998 13:04:18 +0000 (13:04 +0000)]
    * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.

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

26 years agoUse HAIFA_INLINE for inlining functions instead of __inline directly
meissner [Tue, 12 May 1998 12:20:18 +0000 (12:20 +0000)]
Use HAIFA_INLINE for inlining functions instead of __inline directly

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

26 years ago* alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
rth [Tue, 12 May 1998 10:27:46 +0000 (10:27 +0000)]
* alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.

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

26 years ago * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
gavin [Tue, 12 May 1998 08:46:52 +0000 (08:46 +0000)]
* config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.

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

26 years ago * config/mips/mips.md (dslot): Move after definition of "cpu"
gavin [Tue, 12 May 1998 08:41:11 +0000 (08:41 +0000)]
* config/mips/mips.md (dslot): Move after definition of "cpu"
attribute.  Handle r3900 case.

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

26 years agoConsolidate support for "String-ification" into system.h:
ghazi [Tue, 12 May 1998 07:36:02 +0000 (07:36 +0000)]
Consolidate support for "String-ification" into system.h:
        * system.h: Define the STRINGIFY macro here.
        * protoize.c: Not here.
        * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.

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

26 years ago * cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
mmitchel [Tue, 12 May 1998 07:27:15 +0000 (07:27 +0000)]
* cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
* method.c (build_mangled_name): Use it.
(build_decl_overload_real): Likewise.

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

26 years ago * error.c (dump_simple_decl): New function, broken out from ...
mmitchel [Tue, 12 May 1998 07:23:31 +0000 (07:23 +0000)]
* error.c (dump_simple_decl): New function, broken out from ...
(dump_decl): Use it.

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

26 years agoSet emacs varaibles.
law [Mon, 11 May 1998 23:49:19 +0000 (23:49 +0000)]
Set emacs varaibles.

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

26 years ago * varasm.c (assemble_variable): Compute the alignment of the data
law [Mon, 11 May 1998 23:47:28 +0000 (23:47 +0000)]
    * varasm.c (assemble_variable): Compute the alignment of the data
        earlier so that both initialized and uninitialized variables are
        effected by DATA_ALIGNMENT.
        * tm.texi (DATA_ALIGNMENT): Updated appropriately.

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

26 years ago#
law [Mon, 11 May 1998 23:00:52 +0000 (23:00 +0000)]
#
* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

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

26 years agoT
law [Mon, 11 May 1998 23:00:48 +0000 (23:00 +0000)]
T
* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

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

26 years ago
law [Mon, 11 May 1998 23:00:44 +0000 (23:00 +0000)]

* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

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

26 years agol
law [Mon, 11 May 1998 23:00:43 +0000 (23:00 +0000)]
l
* mpw-* Delete.  Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.

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

26 years agoThu Feb 12 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
law [Mon, 11 May 1998 22:49:29 +0000 (22:49 +0000)]
Thu Feb 12 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
        * getopt.h: Update to latest FSF version.
Fri Nov  7 10:34:09 1997  Rob Savoye  <rob@darkstar.cygnus.com>
        * libiberty.h: Add extern "C" { so it can be used with C++
        programs.
Thu Aug 28 19:41:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
        * libiberty.h (dupargv): Add prototype.
Bring over from devo.

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

26 years ago * config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
law [Mon, 11 May 1998 22:36:06 +0000 (22:36 +0000)]
    * config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
        and mingw32.
Bring over from devo.

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

26 years agoSat Apr 11 22:43:17 1998 J. Kean Johnston <jkj@sco.com>
law [Mon, 11 May 1998 22:29:42 +0000 (22:29 +0000)]
Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>
        * mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.
Thu Mar 26 01:54:25 1998  Geoffrey Noer  <noer@cygnus.com>
        * mh-cygwin32: stop configuring and building dosrel.
Bring over from devo.

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

26 years agoTue Mar 24 10:13:07 1998 Jason Merrill <jason@yorick.cygnus.com>
law [Mon, 11 May 1998 22:04:43 +0000 (22:04 +0000)]
Tue Mar 24 10:13:07 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * std/bastring.cc (basic_string::copy): Mark const here, too.
1998-03-23 15:59  Ulrich Drepper  <drepper@cygnus.com>
        * std/bastring.h (basic_string::copy): Mark copy function as const.
        Reported by Scott Schurr <scotts@ims.com>.
Bring over from devo.

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

26 years ago
law [Mon, 11 May 1998 19:00:08 +0000 (19:00 +0000)]

        * mips.c: Prototype static functions.

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

26 years ago
law [Mon, 11 May 1998 19:00:06 +0000 (19:00 +0000)]

        * mips.c: Prototype static functions.

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

26 years agoBelongs here.
law [Mon, 11 May 1998 18:29:19 +0000 (18:29 +0000)]
Belongs here.

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

26 years agoIn the wrong directory.
law [Mon, 11 May 1998 18:29:00 +0000 (18:29 +0000)]
In the wrong directory.

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

26 years agoAdd missing comments pointed out by Andreas Schwab.
wilson [Mon, 11 May 1998 18:11:22 +0000 (18:11 +0000)]
Add missing comments pointed out by Andreas Schwab.
* regmove.c (fixup_match_2, find_matches, regmove_profitable):
Add explanatory comments.

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

26 years agoPut the movzr insn back into the comment.
rth [Mon, 11 May 1998 17:47:46 +0000 (17:47 +0000)]
Put the movzr insn back into the comment.

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

26 years agoFix -mflat bug reported by Yamamoto Hirotaka.
wilson [Mon, 11 May 1998 17:44:31 +0000 (17:44 +0000)]
Fix -mflat bug reported by Yamamoto Hirotaka.
* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.

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

26 years ago* sparc.md (ffsdi2): Disable. Simplify the expression as well.
rth [Mon, 11 May 1998 17:26:37 +0000 (17:26 +0000)]
* sparc.md (ffsdi2): Disable.  Simplify the expression as well.

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

26 years agoFix stabs debug info bug reported by Stu Grossman.
wilson [Mon, 11 May 1998 13:31:35 +0000 (13:31 +0000)]
Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change.

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

26 years agonew
jason [Mon, 11 May 1998 11:57:04 +0000 (11:57 +0000)]
new

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

26 years agoupdate documentation
mmitchel [Mon, 11 May 1998 11:46:11 +0000 (11:46 +0000)]
update documentation

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

26 years ago * ptree.c (lang_print_xnode): Add missing `break'.
mmitchel [Mon, 11 May 1998 11:37:13 +0000 (11:37 +0000)]
* ptree.c (lang_print_xnode): Add missing `break'.

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

26 years agoNew test
mmitchel [Mon, 11 May 1998 11:02:58 +0000 (11:02 +0000)]
New test

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

26 years agoNew test
mmitchel [Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)]
New test

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

26 years ago * pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
mmitchel [Mon, 11 May 1998 10:08:56 +0000 (10:08 +0000)]
* pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.

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

26 years agoOops, aclocal.m4 wasn't up-to-date for last commit.
rth [Mon, 11 May 1998 09:22:09 +0000 (09:22 +0000)]
Oops, aclocal.m4 wasn't up-to-date for last commit.

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

26 years ago* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
rth [Mon, 11 May 1998 09:16:34 +0000 (09:16 +0000)]
* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.

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

26 years ago * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
rth [Mon, 11 May 1998 08:31:20 +0000 (08:31 +0000)]
    * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
        * alpha.c (print_operand): Handle it.
        * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
        related define_splits.  Also add peepholes for SImode reload
        plus sign_extend lossage.

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

26 years ago * call.c (add_template_candidate): Adjust for changes to
mmitchel [Mon, 11 May 1998 07:25:25 +0000 (07:25 +0000)]
* call.c (add_template_candidate): Adjust for changes to
fn_type_unification.
(add_template_candidate_real): Likewise.
(add_template_conv_candidate): Likewise.
(build_user_type_conversion_1): Likewise.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* class.c (instantiate_type): Likewise.
* cp-tree.h (unification_kind_t): New type.
(fn_type_unification): Adjust prototype.
(type_unificaiton): Likewise.
* pt.c (UNIFY_ALLOW_NONE): New macro.
(UNIFY_ALLOW_MORE_CV_QUAL): Likewise.
(UNIFY_ALLOW_LESS_CV_QUAL): Likewise.
(UNIFY_ALLOW_DERIVED): Likewise.
(unify): Change prototype.
(maybe_adjust_types_for_deduction): New function.
(check_cv_quals_for_unify): Likewise.
(determine_specialization): Adjust.
(fn_type_unification): Likewise.
(type_unification): Likewise.
(type_unification_real): Likewise.  Use
maybe_adjust_types_for_deduction.  Fix mishandling of
back-unification of template functions passed as arguments.  Pass
appropriate combination of UNIFY_ALLOW_* to unify.
(unify): Remove unused NTPARMS parameter.  Use
check_cv_quals_for_unify.  Remove bogus code that allowed
too-generous unification in order to adhere more closely to standard.
(get_bindings_real): Adjust.
(get_class_bindings): Likewise.
* method.c (build_overload_identifier): Only use the innermost
template arguments when mangling.
* pt.c (tsubst_template_argument_vector): New function.
(complete_template_args): Deal with the situation where the
extra_args contain more than one level of arguments.
(lookup_template_class): Deal with member template classes, which
may have more than one level of arguments.
(tsubst): Don't tsbust into the TREE_TYPE of an IDENTIFIER_NODE.
Improve handling of member template classes.  Use
DECL_PRIMARY_TEMPLATE instead of inline expansion.  Use
tsubst_template_argument_vector where appropriate.
(regenerate_decl_from_template): Break out from ...
(instantiate_decl): Here.

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

26 years agoMon May 11 07:16:30 1998 Mark Mitchell <mmitchell@usa.net>
mmitchel [Mon, 11 May 1998 07:18:46 +0000 (07:18 +0000)]
Mon May 11 07:16:30 1998  Mark Mitchell  <mmitchell@usa.net>
* lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
* parse.h: Regenerated.
* parse.c: Really regenerated.

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

26 years ago * genattr.c: Include stdarg.h/varargs.h. Change function
ghazi [Mon, 11 May 1998 06:50:51 +0000 (06:50 +0000)]
    * genattr.c: Include stdarg.h/varargs.h.  Change function
        `fatal' to use variable arguments instead of faking it with
        integer parameters.  Provide a prototype which also
        checks the format specifiers using ATTRIBUTE_PRINTF_1.
        * genattrtab.c: Likewise.
        * gencodes.c: Likewise.
        * genconfig.c: Likewise.
        * genemit.c: Likewise.
        * genextract.c: Likewise.
        * genflags.c: Likewise.
        * genopinit.c: Likewise.
        * genpeep.c: Likewise.
        * genrecog.c: Likewise.
        * genoutput.c: Likewise.  Similarly for function `error'.

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

26 years ago * cp-tree.h (finish_unary_op_expr): New function.
mmitchel [Mon, 11 May 1998 00:07:25 +0000 (00:07 +0000)]
* cp-tree.h (finish_unary_op_expr): New function.
(finish_id_expr): Likewise.
(begin_new_placement): Likewise.
(finish_new_placement): Likewise.
(finish_declarator): Likewise.
(finish_translation_unit): Likewise.
(finish_parmlist): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_default_args): Likewise.
(finish_inline_definitions): Likewise.
* parse.y (GCC_ASM_KEYWORD): Remove.
(TYPENAME_ELLIPSIS): Likewise.
* parse.c: Regenerated.
Use new functions in semantics.c in the actions for many rules.
* gxx.gperf (GCC_ASM_KEYWORD): Just use ASM_KEYWORD.
* hash.h: Regenerated.
* semantics.c (finish_expr_stmt): Allow NULL expr.
(finish_unary_op_expr): New function, containing
code previously in parse.y.
(finish_id_expr): Likewise.
(begin_new_placement): Likewise.
(finish_new_placement): Likewise.
(finish_declarator): Likewise.
(finish_translation_unit): Likewise.
(finish_parmlist): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_default_args): Likewise.
(finish_inline_definitions): Likewise.

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

26 years ago * typeck.c (build_c_cast): Don't decay arrays and functions to
mmitchel [Sun, 10 May 1998 23:46:36 +0000 (23:46 +0000)]
* typeck.c (build_c_cast): Don't decay arrays and functions to
pointer type when converting to a class type.

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

26 years agoAnother new test.
law [Sun, 10 May 1998 23:00:31 +0000 (23:00 +0000)]
Another new test.

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

26 years agodocument
jason [Sun, 10 May 1998 22:54:14 +0000 (22:54 +0000)]
document

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

26 years ago * class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
jason [Sun, 10 May 1998 22:53:45 +0000 (22:53 +0000)]
* class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
* decl2.c (constructor_name_full): Likewise.
* tree.c (mapcar): Add OVERLOAD support.
* init.c (resolve_offset_ref): We must use basetype_path before we
destroy it with a call to convert_pointer_to.

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

26 years ago * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
law [Sun, 10 May 1998 01:27:49 +0000 (01:27 +0000)]
    * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
        * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
        * configure.in: Use GCC_C_VOLATILE.
        * system.h (volatile): Define as empty if no volatile support is
        available.
        * genemit.c (output_add_clobbers): Removed unused variable 'i' from
        generated fucntion.

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

26 years agoPoint folks to wwwdocs since those are the official versions.
law [Sat, 9 May 1998 22:50:47 +0000 (22:50 +0000)]
Point folks to wwwdocs since those are the official versions.

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

26 years ago * class.c (currently_open_class): New fn.
jason [Sat, 9 May 1998 18:10:28 +0000 (18:10 +0000)]
* class.c (currently_open_class): New fn.
* decl.c (lookup_name_real): Use it.
* search.c (lookup_field): Likewise.

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

26 years agonew, update
jason [Sat, 9 May 1998 18:08:52 +0000 (18:08 +0000)]
new, update

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

26 years ago* loop.c (get_condition): Don't combine when either compare is MODE_CC.
rth [Sat, 9 May 1998 02:03:07 +0000 (02:03 +0000)]
* loop.c (get_condition): Don't combine when either compare is MODE_CC.
* alpha.c (alpha_emit_conditional_branch): New function.  Taken from
the body of beq; additionally set the mode of the branch to CCmode for
FP compares and not fast_math.
(alpha_emit_conditional_move): Always use a compare insn for FP
when not fast_math, as well as setting CCmode on the cmov.
* alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.

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

26 years ago* machmode.h (COMPLEX_MODE_P): New macro.
rth [Sat, 9 May 1998 02:01:55 +0000 (02:01 +0000)]
* machmode.h (COMPLEX_MODE_P): New macro.

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

26 years ago* haifa-sched.c (print_exp): Fix typo.
rth [Sat, 9 May 1998 01:53:01 +0000 (01:53 +0000)]
* haifa-sched.c (print_exp): Fix typo.

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

26 years agoBump for snapshot
law [Fri, 8 May 1998 21:48:53 +0000 (21:48 +0000)]
Bump for snapshot

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

26 years agoRemove previous dwarf2out.c change. It was incorrect according to Jim.
law [Fri, 8 May 1998 17:34:01 +0000 (17:34 +0000)]
Remove previous dwarf2out.c change.  It was incorrect according to Jim.

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

26 years agoHunk of m32r changes
meissner [Fri, 8 May 1998 15:46:05 +0000 (15:46 +0000)]
Hunk of m32r changes

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

26 years agoCall fatal_insn instead of abort
meissner [Fri, 8 May 1998 15:24:08 +0000 (15:24 +0000)]
Call fatal_insn instead of abort

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

26 years ago * reload1.c (emit_reload_insns): When performing expensive
law [Fri, 8 May 1998 13:14:32 +0000 (13:14 +0000)]
    * reload1.c (emit_reload_insns): When performing expensive
        optimizations, do not output the last reload insn if OLD is
        not the dest of NSN and is in the src and is clobbered by INSN.

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

26 years ago * dwarf2out.c: Don't assume that `.section ".text"' causes the
law [Fri, 8 May 1998 12:59:23 +0000 (12:59 +0000)]
    * dwarf2out.c: Don't assume that `.section ".text"' causes the
        assembler to treat .text as a label for the start of that section,
        as this assumption is false for Solaris 2.x `as'.  Instead, output
        `.section ".text"; .LLtext0:' and use .LLtext0 in label contexts.
        (ABBREV_LABEL, DEBUG_INFO_LABEL, DEBUG_LINE_LABEL, TEXT_LABEL):
        New macros.
        (abbrev_label, debug_info_label, debug_line_label, text_label):
        New vars.
        (dwarf2out_init): Initialize the vars.  Output defn for text_label.
        (dwarf2out_finish): Output defns for the other 3 vars.
        (dw_val_node): Rename val_section to val_section_label, as it's
        now a label, not a section.
        (add_AT_section_offset): Arg is now a label, not a section.
        (print_die, output_die, output_compilation_unit_header,
        output_pubnames, output_aranges, output_line_info,
        dwarf2out_finish): In label contexts, output the section label,
        not the section.

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

26 years agoAnother minor system.h cutover:
ghazi [Fri, 8 May 1998 06:51:04 +0000 (06:51 +0000)]
Another minor system.h cutover:
        * Makefile.in (genrtl.o): Depend on system.h.
        * gengenrtl.c (gencode): When creating genrtl.c, have it
        include system.h.

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

26 years agomassive namespace patch
jason [Fri, 8 May 1998 02:06:26 +0000 (02:06 +0000)]
massive namespace patch

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

26 years ago * config/m68k/t-linux: Remove extra stuff already included in
schwab [Fri, 8 May 1998 02:01:41 +0000 (02:01 +0000)]
* config/m68k/t-linux: Remove extra stuff already included in
config/t-linux.

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

26 years agod
manfred [Fri, 8 May 1998 01:18:40 +0000 (01:18 +0000)]
d
* fixinc.wrap: Renamed from fixinc.math.  Put wrapper around
curses.h if it contains `typedef char bool;', as suggested by
Manfred Hollstein <manfred@s-direktnet.de>.
* configure.in: Rename fixinc.math to fixinc.wrap.

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

26 years ago
manfred [Fri, 8 May 1998 01:18:37 +0000 (01:18 +0000)]

* fixinc.wrap: Renamed from fixinc.math.  Put wrapper around
curses.h if it contains `typedef char bool;', as suggested by
Manfred Hollstein <manfred@s-direktnet.de>.
* configure.in: Rename fixinc.math to fixinc.wrap.

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

26 years agoRenamed fixinc.math to fixinc.wrap
manfred [Fri, 8 May 1998 01:17:24 +0000 (01:17 +0000)]
Renamed fixinc.math to fixinc.wrap

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

26 years ago * call.c (build_user_type_conversion_1): Handle second_conv
jason [Fri, 8 May 1998 00:51:27 +0000 (00:51 +0000)]
* call.c (build_user_type_conversion_1): Handle second_conv
properly for templates.

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

26 years agoFix specs file problem reported by Nathan Myers.
wilson [Thu, 7 May 1998 20:49:41 +0000 (20:49 +0000)]
Fix specs file problem reported by Nathan Myers.
* gcc.c (read_specs): Handle missing blank line at end of specs file.

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

26 years agoDisable remaining conditional move patterns.
wilson [Thu, 7 May 1998 19:32:12 +0000 (19:32 +0000)]
Disable remaining conditional move patterns.
* i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
movdfcc_1): Disable.

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

26 years agoFix host/target confusion with enable_threads, reported by Brendan Kehoe.
wilson [Thu, 7 May 1998 16:13:16 +0000 (16:13 +0000)]
Fix host/target confusion with enable_threads, reported by Brendan Kehoe.
* configure.in (enable_threads): Rename to enable_threads_flag before
main loop.  Set enable_threads to enable_threads_flag inside main
loop.

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

26 years agoMore toplev.h cleanup, regnerate c-parse.c.
wilson [Thu, 7 May 1998 15:07:43 +0000 (15:07 +0000)]
More toplev.h cleanup, regnerate c-parse.c.

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

26 years agoUpdate copyright
meissner [Thu, 7 May 1998 14:41:36 +0000 (14:41 +0000)]
Update copyright

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

26 years agoRestore LR in case __eabi was called multiple times
meissner [Thu, 7 May 1998 14:39:02 +0000 (14:39 +0000)]
Restore LR in case __eabi was called multiple times

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

26 years agoclear TREE_USED f;ag for build_type_variant types as well
amacleod [Thu, 7 May 1998 14:30:53 +0000 (14:30 +0000)]
clear TREE_USED f;ag for build_type_variant types as well

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

26 years agoHandle missing vfprintf() & _doprnt() functions with linked in modules,
ghazi [Thu, 7 May 1998 11:44:09 +0000 (11:44 +0000)]
Handle missing vfprintf() & _doprnt() functions with linked in modules,
plus do some general cleanup of variable argument handling.
        * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
        * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
        (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
        (AC_CHECK_FUNCS): Remove unused check for vprintf.
        * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
        (cccp.o): Depend on gansidecl.h.
        (cexp.o): Likewise.
        * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
        per the rest of gcc source.
        * cexp.y: Likewise.  Include gansidecl.h and remove all code made
        redundant.
        * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
        used when vfprintf is missing.
        * cexp.y: Likewise.
        * gcc.c: Likewise.
        * genattrtab.c: Likewise.
        * mips-tfile.c: Likewise.
        * toplev.c: Likewise.
        * vfprintf.c: New file.
        * doprint.c: Likewise.

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

26 years ago * config/linux.h (ASM_COMMENT_START): Remove from here,
law [Thu, 7 May 1998 09:21:51 +0000 (09:21 +0000)]
* config/linux.h (ASM_COMMENT_START): Remove from here,
* config/linux-aout.h (ASM_COMMENT_START): and here,
* config/i386/linux.h (ASM_COMMENT_START): to here,
* config/i386/linux-aout.h (ASM_COMMENT_START): and here.
* config/i386/linux-oldld.h (ASM_COMMENT_START): Define
here as '#' too.

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

26 years ago * pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.
jason [Thu, 7 May 1998 02:18:59 +0000 (02:18 +0000)]
* pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.

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

26 years ago * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
schwab [Thu, 7 May 1998 01:59:07 +0000 (01:59 +0000)]
* config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
constant.

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

26 years agoFix typo.
law [Wed, 6 May 1998 22:51:38 +0000 (22:51 +0000)]
Fix typo.

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

26 years ago * expr.h (mark_seen_cases): Add declaration, but only when tree.h
law [Wed, 6 May 1998 22:22:14 +0000 (22:22 +0000)]
    * expr.h (mark_seen_cases): Add declaration, but only when tree.h
        has been included.

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

26 years agoAnother test.
law [Wed, 6 May 1998 22:06:44 +0000 (22:06 +0000)]
Another test.

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

26 years ago * stmt.c (mark_seen_cases): Make it have external linkage again.
law [Wed, 6 May 1998 22:03:21 +0000 (22:03 +0000)]
    * stmt.c (mark_seen_cases): Make it have external linkage again.
        * expr.h (mark_seen_cases): Add declaration.
Chill wants to use mark_seen_cases....

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

26 years agoTypo fix.
amylaar [Wed, 6 May 1998 21:31:16 +0000 (21:31 +0000)]
Typo fix.

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

26 years agotypo typo fixes fixes
law [Wed, 6 May 1998 21:09:07 +0000 (21:09 +0000)]
typo typo fixes fixes

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

26 years agoWed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
robertl [Wed, 6 May 1998 20:53:58 +0000 (20:53 +0000)]
Wed May  6 22:32:37 CDT 1998 Robert Lipe  <robertl@dgii.com>
       * Makefile.in (dwarfout.o) Add toplev.h dependency.
       * dwarfout.c, i386.c: Include toplev.h
       * toplev.h: (pfatal_with_name) Add prototype.

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

26 years agoNew test.
law [Wed, 6 May 1998 20:19:15 +0000 (20:19 +0000)]
New test.

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

26 years agoFix braces right this time.
law [Wed, 6 May 1998 20:11:03 +0000 (20:11 +0000)]
Fix braces right this time.

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

26 years ago * Makefile.in: Fix .SUFFIXES.
jason [Wed, 6 May 1998 19:03:14 +0000 (19:03 +0000)]
* Makefile.in: Fix .SUFFIXES.

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

26 years agoupdate
jason [Wed, 6 May 1998 19:01:05 +0000 (19:01 +0000)]
update

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

26 years ago * config/linux.h (ASM_COMMENT_START): Define as "#".
law [Wed, 6 May 1998 18:31:37 +0000 (18:31 +0000)]
    * config/linux.h (ASM_COMMENT_START): Define as "#".
        * config/linux-aout.h (ASM_COMMENT_START): Likewise.

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

26 years agoNew test (alias problems).
law [Wed, 6 May 1998 18:18:03 +0000 (18:18 +0000)]
New test (alias problems).

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

26 years ago * haifa-sched.c (print_value, case SUBREG): Fix typo.
law [Wed, 6 May 1998 18:00:20 +0000 (18:00 +0000)]
    * haifa-sched.c (print_value, case SUBREG): Fix typo.

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

26 years ago * i386.c (output_387_binary_op): Add some braces to avoid warnings.
law [Wed, 6 May 1998 17:53:18 +0000 (17:53 +0000)]
    * i386.c (output_387_binary_op): Add some braces to avoid warnings.
        * i386.h (REG_CLASS_CONTENTS): Similarly.

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

26 years agotoplev.h cleanups...
wilson [Wed, 6 May 1998 17:05:41 +0000 (17:05 +0000)]
toplev.h cleanups...
* objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
* objc/objc-parse.y, objc/objc-parse.c: Regenerate.

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

26 years agotoplev.h cleanup...
wilson [Wed, 6 May 1998 16:52:21 +0000 (16:52 +0000)]
toplev.h cleanup...
* Makefile.in (call.o, class.o, decl.o, decl2.o, errfn.o, error.o,
except.o, expr.o, friend.o, init.o, lex.o, method.o, pt.o, repo.o,
rtti.o, search.o, semantics.o, sig.o, tree.o, typeck.o, typeck2.o,
xref.o): Add toplev.h dependencies.

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

26 years agotoplev.h cleanups...
wilson [Wed, 6 May 1998 16:43:15 +0000 (16:43 +0000)]
toplev.h cleanups...
* toplev.c: Include toplev.h.
* Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
toplev.h dependency.

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

26 years agoAnother new test.
law [Wed, 6 May 1998 16:36:26 +0000 (16:36 +0000)]
Another new test.

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

26 years agoNew test.
law [Wed, 6 May 1998 16:35:35 +0000 (16:35 +0000)]
New test.

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

26 years ago * toplev.c (-fsched-max): Delete flag.
law [Wed, 6 May 1998 16:32:40 +0000 (16:32 +0000)]
    * toplev.c (-fsched-max): Delete flag.
        (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
        * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
        and -fsched-interblock-max-insns-N support.  Remove INTERBLOCK_DEBUG
        conditionals.
        * haifa-sched.c (find_rgns): Correctly handle reducible loops with
        inner loops which are not reducible.

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